Commit ac015c66 by Kálmán Viktor

dashboard: better look for template list

parent 0a8706da
......@@ -264,6 +264,21 @@ a.hover-black {
font-family: "FontAwesome";
}
.template-list-table tbody>tr>td, .template-list-table thead>tr>th,
.lease-list-table tbody>tr>td, .lease-list-table thead>tr>th {
vertical-align: middle;
text-align: center;
}
.template-list-table td:nth-child(1), .lease-list-table td:nth-child(1) {
text-align: left;
}
.template-list-table-thin {
width: 95px;
}
.dropdown-menu
{
......
......@@ -164,7 +164,8 @@ class TemplateListTable(Table):
)
actions = TemplateColumn(
verbose_name=_("Actions"),
template_name="dashboard/template-list/column-template-actions.html"
template_name="dashboard/template-list/column-template-actions.html",
attrs={'th': {'class': 'template-list-table-thin'}},
)
class Meta:
......
......@@ -47,25 +47,6 @@
</div>
</div>
</div>
<style>
.template-list-table td, .template-list-table th,
.lease-list-table td, .lease-list-table th {
text-align: center;
}
.template-list-table td:nth-child(1), .lease-list-table td:nth-child(1) {
text-align: left;
}
.vm-list-table-thin {
width: 10px;
}
.vm-list-table-admin {
width: 130px;
}
</style>
{% endblock %}
{% block extra_js %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment