From 8f95f11f354d7fd98a63853904af25d65a51f192 Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 2 Jan 2015 17:14:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0Demo=E7=9A=AE=E8=82=A4?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jumpserver/views.py | 3 +- static/js/inspinia.js | 2 +- templates/skin_config.html | 209 +++++++++++++++++++++++++++++++++++++ 3 files changed, 212 insertions(+), 2 deletions(-) create mode 100644 templates/skin_config.html diff --git a/jumpserver/views.py b/jumpserver/views.py index 8080e314f..baeebf2d5 100644 --- a/jumpserver/views.py +++ b/jumpserver/views.py @@ -8,4 +8,5 @@ def base(request): return render_to_response('base.html') - +def skin_config(request): + return render_to_response('skin_config.html') diff --git a/static/js/inspinia.js b/static/js/inspinia.js index eb588d11e..0f8385ab1 100644 --- a/static/js/inspinia.js +++ b/static/js/inspinia.js @@ -34,7 +34,7 @@ $(document).ready(function () { }); // Append config box / Only for demo purpose - $.get("skin-config.html", function (data) { + $.get("/skin-config/", function (data) { $('body').append(data); }); diff --git a/templates/skin_config.html b/templates/skin_config.html new file mode 100644 index 000000000..2c219ccf0 --- /dev/null +++ b/templates/skin_config.html @@ -0,0 +1,209 @@ +
+
+
+ +
+
+
Configuration
+
+ + Collapse menu + + +
+
+ + +
+
+
+
+ + Fixed sidebar + + +
+
+ + +
+
+
+
+ + Top navbar + + +
+
+ + +
+
+
+
+ + Boxed layout + + +
+
+ + +
+
+
+
+ + Fixed footer + + +
+
+ + +
+
+
+ +
Skins
+ + + +
+
+
+ \ No newline at end of file