Files
@ 5c57512b04ee
Branch filter:
Location: symposion_app/symposion/templates/conference/user_list.html - annotation
5c57512b04ee
3.2 KiB
text/html
Merge branch 'KyivPy-master'
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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 fc4b1c454267 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 fc4b1c454267 347617ead3c3 fc4b1c454267 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 347617ead3c3 | {% extends "site_base.html" %}
{% load i18n %}
{% load sitetree %}
{% block head_title %}User List{% endblock %}
{% block extra_style %}
<style type="text/css">
div.dataTables_length label {
float: left;
text-align: left;
}
div.dataTables_length select {
width: 75px;
}
div.dataTables_filter label {
float: right;
}
div.dataTables_info {
padding-top: 8px;
}
div.dataTables_paginate {
float: right;
margin: 0;
}
table.table {
clear: both;
margin-bottom: 6px !important;
background-color: white;
}
table.table thead .sorting,
table.table thead .sorting_asc,
table.table thead .sorting_desc,
table.table thead .sorting_asc_disabled,
table.table thead .sorting_desc_disabled {
cursor: pointer;
*cursor: hand;
}
table.dataTable th:active {
outline: none;
}
</style>
{% endblock %}
{% block body_outer %}
<div class="row">
<div class="span12">
<h1>User List</h1>
<table class="table table-striped table-bordered table-reviews">
<thead>
<th>{% trans "Email" %}</th>
<th>{% trans "Name" %}</th>
<th>{% trans "Speaker Profile?" %}</th>
</thead>
<tbody>
{% for user in users %}
<tr>
<td>{{ user.email }}</td>
<td>{{ user.get_full_name }}</td>
<td>
{% if user.speaker_profile %}
<a href="{% url "speaker_profile" user.speaker_profile.pk %}">{{ user.speaker_profile }}</a>
{% else %}
<a href="{% url "speaker_create_staff" user.pk %}" class="btn btn-mini">create</a>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
{% endblock %}
{% block extra_script %}
<script src="{{ STATIC_URL }}datatables/js/jquery.dataTables.min.js" type="text/javascript"></script>
<script src="{{ STATIC_URL }}tabletools/js/TableTools.min.js" type="text/javascript"></script>
<script src="{{ STATIC_URL }}datatables/js/dataTables.bootstrap.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$(".tip").tooltip();
$("table.table-reviews").dataTable({
"sDom": "<'row'<'span3'l><'span3'T><'span4'f>r>t<'row'<'span3'i><'span5'p>>",
"sPaginationType": "bootstrap",
"bStateSave": true,
"oTableTools": {
"aButtons": [
"copy",
"csv",
"print"
],
"sSwfPath": "{{ STATIC_URL }}tabletools/swf/copy_csv_xls.swf"
}
});
});
</script>
{% endblock %}
|