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