diff --git a/jumpserver/views.py b/jumpserver/views.py index 338ecea17..79da6075f 100644 --- a/jumpserver/views.py +++ b/jumpserver/views.py @@ -5,4 +5,4 @@ from django.shortcuts import render_to_response def base(request): - return render_to_response('base.html') + return render_to_response('base1.html') diff --git a/static/css/style.css b/static/css/style.css index 8a050dfa2..19d9aed53 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -4560,3 +4560,7 @@ body.skin-3 { display: none; } } + +.red-fonts { + color: #ed5565; +} diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 000000000..7f5ec7a40 --- /dev/null +++ b/templates/404.html @@ -0,0 +1,44 @@ + + + + + + + + + Jumpserver | 404 Error + + + + + + + + + + + + +
+

404

+

Page Not Found

+ +
+ Sorry, but the page you are looking for has note been found. Try checking the URL for error, then hit the refresh button on your browser or try found something else in our app. +
+
+ +
+ +
+
+
+ + + + + + + + + diff --git a/templates/500.html b/templates/500.html new file mode 100644 index 000000000..895e3fc18 --- /dev/null +++ b/templates/500.html @@ -0,0 +1,39 @@ + + + + + + + + + Jumpserver | 500 Error + + + + + + + + + + + + +
+

500

+

Internal Server Error

+ +
+ The server encountered something unexpected that didn't allow it to complete the request. We apologize.
+ You can go back to main page:
Dashboard +
+
+ + + + + + + + + diff --git a/templates/base.html b/templates/base.html index 49b90595f..80a002abc 100644 --- a/templates/base.html +++ b/templates/base.html @@ -8,270 +8,40 @@ Jumpserver | 开源跳板机系统 - - - - - - + {% include "link_css.html" %}
- -
+
-
-

{{ title }}

- -
-
- -
-
- {{ content }} -
- - - - - - - - - - - - - - - + {% include "script.html" %} diff --git a/templates/base1.html b/templates/base1.html new file mode 100644 index 000000000..6acee4f29 --- /dev/null +++ b/templates/base1.html @@ -0,0 +1,250 @@ + + + + + + + + + Jumpserver | 开源跳板机系统 + + + + + + + + + + + + +
+ + + +
+
+ +
+ {{ content }} + + +
+
+ + + + + + + + + + + + + + + + + + + + + diff --git a/templates/footer.html b/templates/footer.html new file mode 100644 index 000000000..eeff7cd3c --- /dev/null +++ b/templates/footer.html @@ -0,0 +1,8 @@ + diff --git a/templates/link_css.html b/templates/link_css.html new file mode 100644 index 000000000..26fd0e087 --- /dev/null +++ b/templates/link_css.html @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/login.html b/templates/login.html new file mode 100644 index 000000000..263cf07e2 --- /dev/null +++ b/templates/login.html @@ -0,0 +1,51 @@ + + + + + + + + + JumpServer | Login + + + + + + + + + + + +
+
+
+ +

JumpServer

+ +
+

Welcome to JumpServer

+
+
+ +
+
+ +
+ + + Forgot password? +
+

Inspinia we app framework base on Bootstrap 3 © 2014

+
+
+ + + + + + + + + diff --git a/templates/nav.html b/templates/nav.html new file mode 100644 index 000000000..b828d0c5d --- /dev/null +++ b/templates/nav.html @@ -0,0 +1,76 @@ + + diff --git a/templates/nav_bar_header.html b/templates/nav_bar_header.html new file mode 100644 index 000000000..bdfb1cdca --- /dev/null +++ b/templates/nav_bar_header.html @@ -0,0 +1,116 @@ + + + diff --git a/templates/nav_cat_bar.html b/templates/nav_cat_bar.html new file mode 100644 index 000000000..3bd821ee8 --- /dev/null +++ b/templates/nav_cat_bar.html @@ -0,0 +1,17 @@ +
+

Timeline - left version

+ +
+
+ +
diff --git a/templates/nav_li_profile.html b/templates/nav_li_profile.html new file mode 100644 index 000000000..626468cd5 --- /dev/null +++ b/templates/nav_li_profile.html @@ -0,0 +1,19 @@ + diff --git a/templates/script.html b/templates/script.html new file mode 100644 index 000000000..1f9731316 --- /dev/null +++ b/templates/script.html @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/templates/useradd.html b/templates/useradd.html new file mode 100644 index 000000000..1d4afdae6 --- /dev/null +++ b/templates/useradd.html @@ -0,0 +1,63 @@ +{% extends 'base1.html' %} + +{% block content %} + {% include 'nav_bar_header.html' %} +
+
+
+
+
All form elements With custom checbox and radion elements.
+ +
+ +
+
+
+ +
+
+
+ +
+ +
+ + Password for login web system. + +
+
+
+ +
+ +
+ +
+
+
+ + + + +
+
+ +
+
+{% endblock %} \ No newline at end of file