summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks/window_tables
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-25 22:36:05 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-25 22:36:05 +0200
commitabb1e9536e9461c3a7c0becb225d7c85cd161a11 (patch)
tree76f7298299a4283564ed2da07c1a7d1cdc7dbac7 /ishtar_common/templates/ishtar/blocks/window_tables
parent4de64db1316313d12fe1bc86942d63808f87b38a (diff)
downloadIshtar-abb1e9536e9461c3a7c0becb225d7c85cd161a11.tar.bz2
Ishtar-abb1e9536e9461c3a7c0becb225d7c85cd161a11.zip
UI: better layer layout for simple tables. Rewrite of all dashboard (refs #1616)
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/window_tables')
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_tables/documents.html8
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_tables/static_documents.html7
2 files changed, 10 insertions, 5 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_tables/documents.html b/ishtar_common/templates/ishtar/blocks/window_tables/documents.html
index f1592cc42..8c584425a 100644
--- a/ishtar_common/templates/ishtar/blocks/window_tables/documents.html
+++ b/ishtar_common/templates/ishtar/blocks/window_tables/documents.html
@@ -1,6 +1,8 @@
{% load i18n %}
-<table class='simple'>
- <caption>{{caption}}</caption>
+<h4>{{h4}}</h4>
+<div class='clean-table'>
+<div class='clean-table-wrap'>
+<table>
<tr>
<th>{% trans "Title" %}</th>
<th>{% trans "Type" %}</th>
@@ -18,4 +20,4 @@
</tr>
{% endfor %}
</table>
-
+</div></div>
diff --git a/ishtar_common/templates/ishtar/blocks/window_tables/static_documents.html b/ishtar_common/templates/ishtar/blocks/window_tables/static_documents.html
index d6686b553..e378bdf49 100644
--- a/ishtar_common/templates/ishtar/blocks/window_tables/static_documents.html
+++ b/ishtar_common/templates/ishtar/blocks/window_tables/static_documents.html
@@ -1,6 +1,8 @@
{% load i18n %}
-
-<table class='simple'>
+<h4>{{caption}}</h4>
+<div class='clean-table'>
+<div class='clean-table-wrap'>
+<table>
<caption>{{caption}}</caption>
<tr>{% for col in col_names %}
<th>{% trans col %}</th>{% endfor %}
@@ -9,3 +11,4 @@
<td>{{value}}</td>{%endfor%}
</tr>{% endfor %}
</table>
+</div></div>