blob: 4bae4a2116c4b790b63bb3d8bc5ab781ecd057ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{% extends 'base.html' %}
{% load staticfiles %}
{% load url from future %}
{% load bootstrap3 %}
{# login template #}
{% block title %}
审定名单 | 2014 SKA Summer School
{% endblock %}
{% block content %}
<div class="container">
<h2>审定名单</h2>
<br>
{% if object_list %}
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th class="col-md-1">序号</th>
<th class="col-md-3">姓名</th>
<th class="col-md-8">单位</th>
</tr>
</thead>
<tbody>
{# mark out current user if approved #}
{% for profile in object_list %}
<tr{% if profile.user == user %} class="success"{% endif %}>
<td>{{ forloop.counter }}</td>
<td>{{ profile.realname }}</td>
<td>{{ profile.institute }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<p>(注:按注册先后排序)</p>
{% else %}
<div class="alert alert-warning">
审核正在进行,请稍后查询……
</div>
{% endif %}
</div>
{% endblock %}
{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #}
|