From 0e710c96e4178b471ace57435312febfc905be12 Mon Sep 17 00:00:00 2001 From: Ivan Filippov Date: Fri, 22 Apr 2016 01:06:01 -0600 Subject: [PATCH] Converted 'admin_history.html' to new template. --- app/static/custom/js/custom.js | 0 app/templates/admin_history.html | 289 ++++++++++++++++--------------- app/templates/base.html | 11 ++ 3 files changed, 159 insertions(+), 141 deletions(-) create mode 100644 app/static/custom/js/custom.js diff --git a/app/static/custom/js/custom.js b/app/static/custom/js/custom.js new file mode 100644 index 0000000..e69de29 diff --git a/app/templates/admin_history.html b/app/templates/admin_history.html index a059e72..4f72df4 100644 --- a/app/templates/admin_history.html +++ b/app/templates/admin_history.html @@ -1,144 +1,151 @@ -{% extends "base.html" %} -{% block head %} - {{ super() }} - - - - - - - - - - - - - -{% endblock %} -{% block title %}DNS Control Panel - History{% endblock %} - -{% block dashboard_stat %} - -

- History

-
- -
- -{% endblock %} - -{% block content %} -
-
- -
-
- -
-
-
- History Management -
-
- - - - -
-
-
-
-
-
-
- -
-
-
-
- - - - - - - - - - - {% for history in histories %} - - - - - - - {% endfor %} - -
- Changed by - - Content - - Time - - Detail -
- {{ history.created_by }} - - {{ history.msg }} - - {{ history.created_on }} - - - Info -
-
-
- - -
-
- -
- -
-{% endblock %} - -{% block scripts %} -{{ super() }} - - - - - - - - - - - +{% extends "base.html" %} {% block title %} +DNS Control Panel - History +{% endblock %} {% block dashboard_stat %} + +
+

+ History Recent PowerDNS-Admin events +

+ +
+{% endblock %} {% block content %} +
+
+
+
+
+

History Management

+
+
+ +
+
+ + + + + + + + + + + {% for history in histories %} + + + + + + + {% endfor %} + +
Changed byContentTimeDetail
{{ history.created_by }}{{ history.msg }}{{ history.created_on }} + +
+
+ +
+ +
+ +
+ +
+{% endblock %} +{% block extrascripts %} - +{% endblock %} +{% block modals %} + + + + {% endblock %} diff --git a/app/templates/base.html b/app/templates/base.html index c6ac57e..69c1ed9 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -16,6 +16,8 @@ + + + + + @@ -299,6 +304,12 @@ + + +{% endblock %} +{% block extrascripts %} +{% endblock %} +{% block modals %} {% endblock %}