From de7816073a47ca3f1f99a9305e847fd96023f28d Mon Sep 17 00:00:00 2001 From: Hironsan Date: Tue, 7 Aug 2018 05:40:48 +0900 Subject: [PATCH] Update dataset template --- app/server/static/css/forum.css | 7 ++ app/server/templates/admin/admin_base.html | 4 +- app/server/templates/admin/dataset.html | 80 +++++++++++++--------- 3 files changed, 58 insertions(+), 33 deletions(-) diff --git a/app/server/static/css/forum.css b/app/server/static/css/forum.css index 9016ef15..490f533c 100644 --- a/app/server/static/css/forum.css +++ b/app/server/static/css/forum.css @@ -110,4 +110,11 @@ p { .select-height { height: 100% !important; max-height: 200px !important; +} +.pagination-link, .pagination-next, .pagination-previous { + background-color: white; + margin-top: 20px; +} +.card-header-title { + padding: 1.5rem; } \ No newline at end of file diff --git a/app/server/templates/admin/admin_base.html b/app/server/templates/admin/admin_base.html index 5f8520a2..4f4c336f 100644 --- a/app/server/templates/admin/admin_base.html +++ b/app/server/templates/admin/admin_base.html @@ -52,9 +52,9 @@
-
+ {% block content-area %}{% endblock %} -
+
{% endblock %} \ No newline at end of file diff --git a/app/server/templates/admin/dataset.html b/app/server/templates/admin/dataset.html index 43b46771..2fd197f6 100644 --- a/app/server/templates/admin/dataset.html +++ b/app/server/templates/admin/dataset.html @@ -1,40 +1,58 @@ {% extends "admin/admin_base.html" %} {% load static %} {% block content-area %} - - - - - - - - - {% for doc in documents %} - - - - - {% endfor %} - -
TextLabel
{{ doc.text|truncatechars:100 }}label
+
+
+

+ Dataset +

+ + + + + +
+
+ + + + + + + + + {% for doc in documents %} + + + + + {% endfor %} + +
#Text
{{ forloop.counter }}{{ doc.text|truncatechars:200 }}
+
+
{% if is_paginated %} -