mirror of https://github.com/jumpserver/jumpserver
修改content
parent
ba5757e377
commit
f497003948
|
@ -6,6 +6,7 @@ urlpatterns = patterns('',
|
|||
# url(r'^$', 'jumpserver.views.home', name='home'),
|
||||
# url(r'^blog/', include('blog.urls')),
|
||||
|
||||
(r'^user/', include('juser.urls')),
|
||||
(r'^skin_config/$', 'jumpserver.views.skin_config'),
|
||||
(r'^juser/', include('juser.urls')),
|
||||
url(r'^jasset/', include('jasset.urls')),
|
||||
)
|
||||
|
|
|
@ -6,3 +6,7 @@ from django.shortcuts import render_to_response
|
|||
|
||||
def base(request):
|
||||
return render_to_response('base.html')
|
||||
|
||||
|
||||
def skin_config(request):
|
||||
return render_to_response('skin_config.html')
|
||||
|
|
|
@ -6,5 +6,5 @@ urlpatterns = patterns('juser.views',
|
|||
# url(r'^$', 'jumpserver.views.home', name='home'),
|
||||
# url(r'^blog/', include('blog.urls')),
|
||||
|
||||
(r'^useradd/$', 'user_add'),
|
||||
(r'^user_add/$', 'user_add'),
|
||||
)
|
||||
|
|
|
@ -34,9 +34,9 @@ $(document).ready(function () {
|
|||
});
|
||||
|
||||
// Append config box / Only for demo purpose
|
||||
// $.get("/skin_config/", function (data) {
|
||||
// $('body').append(data);
|
||||
// });
|
||||
$.get("/skin_config/", function (data) {
|
||||
$('body').append(data);
|
||||
});
|
||||
|
||||
// minimalize menu
|
||||
$('.navbar-minimalize').click(function () {
|
||||
|
|
|
@ -1,63 +1,62 @@
|
|||
<nav class="navbar-default navbar-static-side" role="navigation">
|
||||
<div class="sidebar-collapse">
|
||||
<ul class="nav" id="side-menu">
|
||||
{% include 'nav_li_profile.html' %}
|
||||
<li>
|
||||
|
||||
<a href="css_animation.html"><i class="fa fa-th-large"></i> <span class="nav-label">仪表盘</span><span class="label label-info pull-right"></span></a>
|
||||
<!--<a href="index.html"><i class="fa fa-th-large"></i> <span class="nav-label">仪表盘</span> <span class="fa arrow"></span></a>
|
||||
<ul class="nav nav-second-level">
|
||||
<li><a href="index.html">Dashboard v.1</a></li>
|
||||
<li ><a href="dashboard_2.html">Dashboard v.2</a></li>
|
||||
<li ><a href="dashboard_3.html">Dashboard v.3</a></li>
|
||||
</ul>-->
|
||||
</li>
|
||||
<li>
|
||||
<a href="#"><i class="fa fa-rebel"></i> <span class="nav-label">用户管理</span><span class="fa arrow"></span></a>
|
||||
<ul class="nav nav-second-level">
|
||||
<li><a href="/user/showlist/">查看用户</a></li>
|
||||
<li><a href="/user/add/">添加用户</a></li>
|
||||
<li><a href="/group/showlist/">查看属组</a></li>
|
||||
<li><a href="/group/add/">添加属组</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="mailbox.html"><i class="fa fa-cube"></i> <span class="nav-label">资产管理</span><span class="fa arrow"></span></a>
|
||||
<ul class="nav nav-second-level">
|
||||
<li><a href="/asset/showlist/">查看资产</a></li>
|
||||
<li><a href="/jasset/jadd/">添加资产</a></li>
|
||||
<li><a href="/idc/showlist/">查看机房</a></li>
|
||||
<li><a href="/idc/add/">添加机房</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#"><i class="fa fa-edit"></i> <span class="nav-label">授权管理</span><span class="fa arrow"></span></a>
|
||||
<ul class="nav nav-second-level">
|
||||
<li><a href="/perm/showlist/">查看授权</a></li>
|
||||
<li><a href="/perm/add/">添加授权</a></li>
|
||||
<li><a href="/sudo/showlist/">查看sudo</a></li>
|
||||
<li><a href="/sudo/add/">添加sudo</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#"><i class="fa fa-files-o"></i> <span class="nav-label">日志审计</span><span class="fa arrow"></span></a>
|
||||
<ul class="nav nav-second-level">
|
||||
<li><a href="/log/showlist/">查看日志</a></li>
|
||||
<li><a href="/log/detail/">日志分析</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#"><i class="fa fa-download"></i> <span class="nav-label">上传下载</span><span class="fa arrow"></span></a>
|
||||
<ul class="nav nav-second-level">
|
||||
<li><a href="/file/upload/">文件上传</a></li>
|
||||
<li><a href="/file/download/">文件下载</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="special_link">
|
||||
<a href="http://www.jumpserver.org" target="_blank"><i class="fa fa-database"></i> <span class="nav-label">访问官网</span></a>
|
||||
</li>
|
||||
<nav class="navbar-default navbar-static-side" role="navigation">
|
||||
<div class="sidebar-collapse">
|
||||
<ul class="nav" id="side-menu">
|
||||
{% include 'nav_li_profile.html' %}
|
||||
<li>
|
||||
<a href="css_animation.html"><i class="fa fa-th-large"></i> <span class="nav-label">仪表盘</span><span class="label label-info pull-right"></span></a>
|
||||
<!--<a href="index.html"><i class="fa fa-th-large"></i> <span class="nav-label">仪表盘</span> <span class="fa arrow"></span></a>
|
||||
<ul class="nav nav-second-level">
|
||||
<li><a href="index.html">Dashboard v.1</a></li>
|
||||
<li ><a href="dashboard_2.html">Dashboard v.2</a></li>
|
||||
<li ><a href="dashboard_3.html">Dashboard v.3</a></li>
|
||||
</ul>-->
|
||||
</li>
|
||||
<li>
|
||||
<a href="#"><i class="fa fa-rebel"></i> <span class="nav-label">用户管理</span><span class="fa arrow"></span></a>
|
||||
<ul class="nav nav-second-level">
|
||||
<li><a href="/user/showlist/">查看用户</a></li>
|
||||
<li><a href="/user/add/">添加用户</a></li>
|
||||
<li><a href="/group/showlist/">查看属组</a></li>
|
||||
<li><a href="/group/add/">添加属组</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="mailbox.html"><i class="fa fa-cube"></i> <span class="nav-label">资产管理</span><span class="fa arrow"></span></a>
|
||||
<ul class="nav nav-second-level">
|
||||
<li><a href="/asset/showlist/">查看资产</a></li>
|
||||
<li><a href="/jasset/jadd/">添加资产</a></li>
|
||||
<li><a href="/idc/showlist/">查看机房</a></li>
|
||||
<li><a href="/idc/add/">添加机房</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#"><i class="fa fa-edit"></i> <span class="nav-label">授权管理</span><span class="fa arrow"></span></a>
|
||||
<ul class="nav nav-second-level">
|
||||
<li><a href="/perm/showlist/">查看授权</a></li>
|
||||
<li><a href="/perm/add/">添加授权</a></li>
|
||||
<li><a href="/sudo/showlist/">查看sudo</a></li>
|
||||
<li><a href="/sudo/add/">添加sudo</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#"><i class="fa fa-files-o"></i> <span class="nav-label">日志审计</span><span class="fa arrow"></span></a>
|
||||
<ul class="nav nav-second-level">
|
||||
<li><a href="/log/showlist/">查看日志</a></li>
|
||||
<li><a href="/log/detail/">日志分析</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#"><i class="fa fa-download"></i> <span class="nav-label">上传下载</span><span class="fa arrow"></span></a>
|
||||
<ul class="nav nav-second-level">
|
||||
<li><a href="/file/upload/">文件上传</a></li>
|
||||
<li><a href="/file/download/">文件下载</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</div>
|
||||
</nav>
|
||||
<li class="special_link">
|
||||
<a href="http://www.jumpserver.org" target="_blank"><i class="fa fa-database"></i> <span class="nav-label">访问官网</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</nav>
|
|
@ -7,110 +7,110 @@
|
|||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<ul class="nav navbar-top-links navbar-right">
|
||||
<li>
|
||||
<span class="m-r-sm text-muted welcome-message">欢迎使用Jumpserver开源跳板机系统</span>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
|
||||
<i class="fa fa-envelope"></i> <span class="label label-warning">16</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-messages">
|
||||
<li>
|
||||
<div class="dropdown-messages-box">
|
||||
<a href="profile.html" class="pull-left">
|
||||
<img alt="image" class="img-circle" src="/static/img/a7.jpg">
|
||||
</a>
|
||||
<div class="media-body">
|
||||
<small class="pull-right">46h ago</small>
|
||||
<strong>Mike Loreipsum</strong> started following <strong>Monica Smith</strong>. <br>
|
||||
<small class="text-muted">3 days ago at 7:58 pm - 10.06.2014</small>
|
||||
</div>
|
||||
<ul class="nav navbar-top-links navbar-right">
|
||||
<li>
|
||||
<span class="m-r-sm text-muted welcome-message">欢迎使用Jumpserver开源跳板机系统</span>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
|
||||
<i class="fa fa-envelope"></i> <span class="label label-warning">16</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-messages">
|
||||
<li>
|
||||
<div class="dropdown-messages-box">
|
||||
<a href="profile.html" class="pull-left">
|
||||
<img alt="image" class="img-circle" src="/static/img/a7.jpg">
|
||||
</a>
|
||||
<div class="media-body">
|
||||
<small class="pull-right">46h ago</small>
|
||||
<strong>Mike Loreipsum</strong> started following <strong>Monica Smith</strong>. <br>
|
||||
<small class="text-muted">3 days ago at 7:58 pm - 10.06.2014</small>
|
||||
</div>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<div class="dropdown-messages-box">
|
||||
<a href="profile.html" class="pull-left">
|
||||
<img alt="image" class="img-circle" src="/static/img/a4.jpg">
|
||||
</a>
|
||||
<div class="media-body ">
|
||||
<small class="pull-right text-navy">5h ago</small>
|
||||
<strong>Chris Johnatan Overtunk</strong> started following <strong>Monica Smith</strong>. <br>
|
||||
<small class="text-muted">Yesterday 1:21 pm - 11.06.2014</small>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<div class="dropdown-messages-box">
|
||||
<a href="profile.html" class="pull-left">
|
||||
<img alt="image" class="img-circle" src="/static/img/a4.jpg">
|
||||
</a>
|
||||
<div class="media-body ">
|
||||
<small class="pull-right text-navy">5h ago</small>
|
||||
<strong>Chris Johnatan Overtunk</strong> started following <strong>Monica Smith</strong>. <br>
|
||||
<small class="text-muted">Yesterday 1:21 pm - 11.06.2014</small>
|
||||
</div>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<div class="dropdown-messages-box">
|
||||
<a href="profile.html" class="pull-left">
|
||||
<img alt="image" class="img-circle" src="/static/img/profile.jpg">
|
||||
</a>
|
||||
<div class="media-body ">
|
||||
<small class="pull-right">23h ago</small>
|
||||
<strong>Monica Smith</strong> love <strong>Kim Smith</strong>. <br>
|
||||
<small class="text-muted">2 days ago at 2:30 am - 11.06.2014</small>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<div class="dropdown-messages-box">
|
||||
<a href="profile.html" class="pull-left">
|
||||
<img alt="image" class="img-circle" src="/static/img/profile.jpg">
|
||||
</a>
|
||||
<div class="media-body ">
|
||||
<small class="pull-right">23h ago</small>
|
||||
<strong>Monica Smith</strong> love <strong>Kim Smith</strong>. <br>
|
||||
<small class="text-muted">2 days ago at 2:30 am - 11.06.2014</small>
|
||||
</div>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<div class="text-center link-block">
|
||||
<a href="mailbox.html">
|
||||
<i class="fa fa-envelope"></i> <strong>Read All Messages</strong>
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
|
||||
<i class="fa fa-bell"></i> <span class="label label-primary">8</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-alerts">
|
||||
<li>
|
||||
</div>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<div class="text-center link-block">
|
||||
<a href="mailbox.html">
|
||||
<div>
|
||||
<i class="fa fa-envelope fa-fw"></i> You have 16 messages
|
||||
<span class="pull-right text-muted small">4 minutes ago</span>
|
||||
</div>
|
||||
<i class="fa fa-envelope"></i> <strong>Read All Messages</strong>
|
||||
</a>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<a href="profile.html">
|
||||
<div>
|
||||
<i class="fa fa-twitter fa-fw"></i> 3 New Followers
|
||||
<span class="pull-right text-muted small">12 minutes ago</span>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<a href="grid_options.html">
|
||||
<div>
|
||||
<i class="fa fa-upload fa-fw"></i> Server Rebooted
|
||||
<span class="pull-right text-muted small">4 minutes ago</span>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<div class="text-center link-block">
|
||||
<a href="notifications.html">
|
||||
<strong>See All Alerts</strong>
|
||||
<i class="fa fa-angle-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
|
||||
<i class="fa fa-bell"></i> <span class="label label-primary">8</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-alerts">
|
||||
<li>
|
||||
<a href="mailbox.html">
|
||||
<div>
|
||||
<i class="fa fa-envelope fa-fw"></i> You have 16 messages
|
||||
<span class="pull-right text-muted small">4 minutes ago</span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</a>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<a href="profile.html">
|
||||
<div>
|
||||
<i class="fa fa-twitter fa-fw"></i> 3 New Followers
|
||||
<span class="pull-right text-muted small">12 minutes ago</span>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<a href="grid_options.html">
|
||||
<div>
|
||||
<i class="fa fa-upload fa-fw"></i> Server Rebooted
|
||||
<span class="pull-right text-muted small">4 minutes ago</span>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<div class="text-center link-block">
|
||||
<a href="notifications.html">
|
||||
<strong>See All Alerts</strong>
|
||||
<i class="fa fa-angle-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="login.html">
|
||||
<i class="fa fa-sign-out"></i> Log out
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<li>
|
||||
<a href="login.html">
|
||||
<i class="fa fa-sign-out"></i> Log out
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
{% block content %}
|
||||
{% include 'nav_cat_bar.html' %}
|
||||
<div class="wrapper wrapper-content animated fadeInRight">
|
||||
<div class="row">
|
||||
<div class="col-lg-10">
|
||||
<div class="ibox float-e-margins">
|
||||
|
@ -56,6 +57,7 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue