jumpserver/templates/jperm/perm_detail.html

41 lines
1.3 KiB
HTML
Raw Normal View History

2015-01-26 16:14:50 +00:00
{% load mytags %}
<html>
<head>
{% include 'link_css.html' %}
<style type="text/css">
body
{
background: #FFFFFF;
}
</style>
</head>
<body>
<div class="row">
<div class="contact-box">
2015-01-30 06:54:45 +00:00
<h2 class="text-center">{{ group.name }} 授权详情</h2>
2015-01-26 16:14:50 +00:00
<div class="ibox-content">
<table class="table table-striped table-bordered table-hover " id="editable" >
<thead>
<tr>
<th class="text-center">ID</th>
<th class="text-center">主机组</th>
2015-01-30 06:54:45 +00:00
<th class="text-center">主机数量</th>
2015-01-26 16:14:50 +00:00
</tr>
</thead>
<tbody>
2015-01-30 06:54:45 +00:00
{% for asset_group in asset_groups %}
2015-01-26 16:14:50 +00:00
<tr class="gradeX">
2015-01-30 06:54:45 +00:00
<td class="text-center">{{ asset_group.id }}</td>
<td class="text-center">{{ asset_group.name }}</td>
<td class="text-center">{{ asset_group.asset_set.count }}</td>
2015-01-26 16:14:50 +00:00
</tr>
{% endfor %}
</table>
</div>
</div>
</body>
</html>