Commit ac015c66 by Kálmán Viktor

dashboard: better look for template list

parent 0a8706da
...@@ -264,6 +264,21 @@ a.hover-black { ...@@ -264,6 +264,21 @@ a.hover-black {
font-family: "FontAwesome"; 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 .dropdown-menu
{ {
......
...@@ -164,7 +164,8 @@ class TemplateListTable(Table): ...@@ -164,7 +164,8 @@ class TemplateListTable(Table):
) )
actions = TemplateColumn( actions = TemplateColumn(
verbose_name=_("Actions"), 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: class Meta:
......
...@@ -47,25 +47,6 @@ ...@@ -47,25 +47,6 @@
</div> </div>
</div> </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 %} {% endblock %}
{% block extra_js %} {% 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