添加查看属组.html

pull/6/head
ibuler 2015-01-09 22:10:38 +08:00
parent 9e32964382
commit fb525728c0
3 changed files with 76 additions and 0 deletions

View File

@ -7,5 +7,7 @@ urlpatterns = patterns('juser.views',
# url(r'^blog/', include('blog.urls')),
(r'^user_add/$', 'user_add'),
(r'^user_list/$', 'user_list'),
(r'^group_add/$', 'group_add'),
(r'^group_list/$', 'group_list'),
)

View File

@ -43,6 +43,14 @@ def group_add(request):
'error': error, 'msg': msg})
def group_list(request):
return render_to_response('juser/group_list.html')
def user_list(request):
pass
def user_add(request):
return render_to_response('juser/user_add.html',
{'header_title': u'添加用户 | Add User', 'path1': 'juser', 'path2': 'user_add'})

View File

@ -0,0 +1,66 @@
{% extends 'base.html' %}
{% 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">
<div class="ibox-title">
<h5>属组信息 <small> show group info.</small></h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-wrench"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="#">未启用 1</a>
</li>
<li><a href="#">未启用 2</a>
</li>
</ul>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content" style="display: block;">
<table class="table table-hover">
<thead>
<tr>
<th>#</th>
<th>Data</th>
<th>User</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td><span class="pie" style="display: none;">0.52,1.041</span><svg class="peity" height="16" width="16"><path d="M 8 8 L 8 0 A 8 8 0 0 1 14.933563796318165 11.990700825968545 Z" fill="#1ab394"></path><path d="M 8 8 L 14.933563796318165 11.990700825968545 A 8 8 0 1 1 7.999999999999998 0 Z" fill="#d7d7d7"></path></svg></td>
<td>Samantha</td>
<td class="text-navy"> <i class="fa fa-level-up"></i> 40% </td>
</tr>
<tr>
<td>2</td>
<td><span class="pie" style="display: none;">226,134</span><svg class="peity" height="16" width="16"><path d="M 8 8 L 8 0 A 8 8 0 1 1 2.2452815972907922 13.55726696367198 Z" fill="#1ab394"></path><path d="M 8 8 L 2.2452815972907922 13.55726696367198 A 8 8 0 0 1 7.999999999999998 0 Z" fill="#d7d7d7"></path></svg></td>
<td>Jacob</td>
<td class="text-warning"> <i class="fa fa-level-down"></i> -20% </td>
</tr>
<tr>
<td>3</td>
<td><span class="pie" style="display: none;">0.52/1.561</span><svg class="peity" height="16" width="16"><path d="M 8 8 L 8 0 A 8 8 0 0 1 14.933563796318165 11.990700825968545 Z" fill="#1ab394"></path><path d="M 8 8 L 14.933563796318165 11.990700825968545 A 8 8 0 1 1 7.999999999999998 0 Z" fill="#d7d7d7"></path></svg></td>
<td>Damien</td>
<td class="text-navy"> <i class="fa fa-level-up"></i> 26% </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
{% endblock %}