From c79d43273769d88f7129a3d53c80b85a6dc1946c Mon Sep 17 00:00:00 2001 From: Vasilii Chernov Date: Thu, 3 Mar 2016 15:38:32 +0100 Subject: 1. Pcipywrap: add persistent locking wrappings 2. html-server: - add scripts tab - change tab view to jQuery tabs --- pyserver/templates/base.html | 62 +++++++++++++++++++++++++----------- pyserver/templates/scripts_info.html | 49 ++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+), 19 deletions(-) create mode 100644 pyserver/templates/scripts_info.html (limited to 'pyserver/templates') diff --git a/pyserver/templates/base.html b/pyserver/templates/base.html index a2df1e9..d83309b 100644 --- a/pyserver/templates/base.html +++ b/pyserver/templates/base.html @@ -6,8 +6,12 @@ - - + + + + + + + {% block info %} @@ -159,36 +172,47 @@ {% endblock %} -
- - - - -
+
+ +
- -
+
+ +
+
+
+ + + + +
+
+
+
+
-
+
- -
-
-
+
+ {% block content %} {% endblock %} - diff --git a/pyserver/templates/scripts_info.html b/pyserver/templates/scripts_info.html new file mode 100644 index 0000000..4708638 --- /dev/null +++ b/pyserver/templates/scripts_info.html @@ -0,0 +1,49 @@ +{% block content %} + + + + + + + + + + + {% for script in scripts %} + + + + + + {% endfor %} +
NameDescription
{{ script.name }} + {% if 'description' in script %} + {{ script.description }} + {% endif %} + + {% if 'valid' in script and script['valid'] %} + + + {% endif %} +
+{% endblock %} + -- cgit v1.2.3