From 7337ea9f695039d4b1d09de2a1418bc42e92a27c Mon Sep 17 00:00:00 2001 From: Hironsan Date: Tue, 14 Aug 2018 14:21:09 +0900 Subject: [PATCH] Refactor dataset.html --- app/server/templates/admin/dataset.html | 92 ++++++++++++------------- 1 file changed, 43 insertions(+), 49 deletions(-) diff --git a/app/server/templates/admin/dataset.html b/app/server/templates/admin/dataset.html index 95308253..096b7577 100644 --- a/app/server/templates/admin/dataset.html +++ b/app/server/templates/admin/dataset.html @@ -1,58 +1,52 @@ -{% extends "admin/admin_base.html" %} {% load static %} {% block content-area %} +{% extends "admin/admin_base.html" %} +{% load static %} +{% block content-area %}
-
-

- Dataset -

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

+ Dataset +

+ + + + + +
+
+ + + + + + + + + {% for doc in object_list %} + + + + + {% endfor %} + +
#Text
{{ forloop.counter }}{{ doc.text|truncatechars:200 }}
+
{% if is_paginated %} {% endif %} {% endblock %} \ No newline at end of file