测试修改Path

pull/6/head
ibuler 2015-01-05 23:52:25 +08:00
parent ee3336de9e
commit c8828f40ba
3 changed files with 8 additions and 8 deletions

View File

@ -3,6 +3,6 @@ from django.shortcuts import render_to_response
def user_add(request):
return render_to_response('user_add.html')
return render_to_response('user_add.html', {'path1': 'juser', 'path2': 'user_add'})

View File

@ -1,15 +1,15 @@
<div class="row wrapper border-bottom white-bg page-heading">
<div class="col-lg-10">
<h2>Basic Form</h2>
<h2>{{ header_title }}</h2>
<ol class="breadcrumb">
<li>
<a href="index.html">Home</a>
<a href="/">Home</a>
</li>
<li>
<a>Forms</a>
<a>{{ path1 }}</a>
</li>
<li class="active">
<strong>Basic Form</strong>
<strong>{{ path2 }}</strong>
</li>
</ol>
</div>

View File

@ -7,7 +7,7 @@
<div class="col-lg-12">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>All form elements <small>With custom checbox and radion elements.</small></h5>
<h5>添加用户 <small> User add in jumpserver.</small></h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
@ -16,9 +16,9 @@
<i class="fa fa-wrench"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="#">Config option 1</a>
<li><a href="#">未启用 1</a>
</li>
<li><a href="#">Config option 2</a>
<li><a href="#">未启用 2</a>
</li>
</ul>
<a class="close-link">