summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks
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
commitbd7639f6ee2da2a3417b64e70fdbf1decbf831ed (patch)
tree76f7298299a4283564ed2da07c1a7d1cdc7dbac7 /ishtar_common/templates/ishtar/blocks
parent99dd4a2fc8d6f44a9a22a69452d15006b264c372 (diff)
downloadIshtar-bd7639f6ee2da2a3417b64e70fdbf1decbf831ed.tar.bz2
Ishtar-bd7639f6ee2da2a3417b64e70fdbf1decbf831ed.zip
UI: better layer layout for simple tables. Rewrite of all dashboard (refs #1616)
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks')
-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>