Merge branch 'ticket-testing' into 'master'
Update profile form and datatables See merge request LCA2018/symposion_app!60
This commit is contained in:
commit
c2b40fabbc
5 changed files with 47 additions and 147 deletions
|
@ -19,7 +19,11 @@
|
||||||
|
|
||||||
{% for report in reports %}
|
{% for report in reports %}
|
||||||
<h3>{{ report.title }}</h3>
|
<h3>{{ report.title }}</h3>
|
||||||
|
{% if report.headings %}
|
||||||
<table class="table table-striped table-reportdata">
|
<table class="table table-striped table-reportdata">
|
||||||
|
{% else %}
|
||||||
|
<table class="table table-striped">
|
||||||
|
{% endif %}
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
{% for heading in report.headings %}
|
{% for heading in report.headings %}
|
||||||
|
@ -39,31 +43,24 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<hr />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block extra_script %}
|
{% block extra_script %}
|
||||||
<script src="{{ STATIC_URL }}datatables/js/jquery.dataTables.min.js" type="text/javascript"></script>
|
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs/jszip-2.5.0/dt-1.10.16/b-1.4.2/b-html5-1.4.2/b-print-1.4.2/r-2.2.0/datatables.min.css"/>
|
||||||
<script src="{{ STATIC_URL }}tabletools/js/TableTools.min.js" type="text/javascript"></script>
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
|
||||||
<script src="{{ STATIC_URL }}datatables/js/dataTables.bootstrap.js" type="text/javascript"></script>
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script>
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/ace/1.2.0/ace.js"></script>
|
<script type="text/javascript" src="https://cdn.datatables.net/v/bs/jszip-2.5.0/dt-1.10.16/b-1.4.2/b-html5-1.4.2/b-print-1.4.2/r-2.2.0/datatables.min.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$("table.table-reportdata").each(function () {
|
$("table.table-reportdata").dataTable({
|
||||||
$(this).dataTable({
|
"dom": "<'row'<'col-md-3'l><'col-md-3'B><'col-md-4'f>r>t<'row'<'col-md-3'i><'col-md-5'p>>",
|
||||||
"sDom": "<'row'<'col-md-3'l><'col-md-3'T><'col-md-4'f>r>t<'row'<'col-md-3'i><'col-md-5'p>>",
|
"stateSave": true,
|
||||||
"sPaginationType": "bootstrap",
|
"lengthMenu": [[10, 50, 100, -1], [10, 50, 100, "All"]],
|
||||||
"bStateSave": true,
|
"pageLength": 100,
|
||||||
"aLengthMenu": [[10, 50, 100, -1], [10, 50, 100, "All"]],
|
"buttons": [ "copy", "csv", "print"]
|
||||||
"oTableTools": {
|
|
||||||
"aButtons": [
|
|
||||||
"copy",
|
|
||||||
"csv",
|
|
||||||
"print"
|
|
||||||
],
|
|
||||||
"sSwfPath": "{{ STATIC_URL }}tabletools/swf/copy_csv_xls.swf"
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -4,47 +4,9 @@
|
||||||
|
|
||||||
{% block head_title %}User List{% endblock %}
|
{% 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 %}
|
{% block body_outer %}
|
||||||
<h1>User List</h1>
|
<h1>User List</h1>
|
||||||
<table class="table table-striped table-bordered table-reviews">
|
<table class="table table-striped table-bordered table-reportdata">
|
||||||
<thead>
|
<thead>
|
||||||
<th>{% trans "Email" %}</th>
|
<th>{% trans "Email" %}</th>
|
||||||
<th>{% trans "Name" %}</th>
|
<th>{% trans "Name" %}</th>
|
||||||
|
@ -70,26 +32,18 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block extra_script %}
|
{% block extra_script %}
|
||||||
<script src="{{ STATIC_URL }}datatables/js/jquery.dataTables.min.js" type="text/javascript"></script>
|
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs/jszip-2.5.0/dt-1.10.16/b-1.4.2/b-html5-1.4.2/b-print-1.4.2/r-2.2.0/datatables.min.css"/>
|
||||||
<script src="{{ STATIC_URL }}tabletools/js/TableTools.min.js" type="text/javascript"></script>
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
|
||||||
<script src="{{ STATIC_URL }}datatables/js/dataTables.bootstrap.js" type="text/javascript"></script>
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script>
|
||||||
|
<script type="text/javascript" src="https://cdn.datatables.net/v/bs/jszip-2.5.0/dt-1.10.16/b-1.4.2/b-html5-1.4.2/b-print-1.4.2/r-2.2.0/datatables.min.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$("table.table-reportdata").dataTable({
|
||||||
$(".tip").tooltip();
|
"dom": "lBfrtip",
|
||||||
$("table.table-reviews").dataTable({
|
"stateSave": true,
|
||||||
"sDom": "<'row'<'col-md-3'l><'col-md-3'T><'col-md-4'f>r>t<'row'<'col-md-3'i><'col-md-5'p>>",
|
"lengthMenu": [[10, 50, 100, -1], [10, 50, 100, "All"]],
|
||||||
"sPaginationType": "bootstrap",
|
"pageLength": 100,
|
||||||
"bStateSave": true,
|
"buttons": [ "copy", "csv", "print"]
|
||||||
"aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
|
|
||||||
"oTableTools": {
|
|
||||||
"aButtons": [
|
|
||||||
"copy",
|
|
||||||
"csv",
|
|
||||||
"print"
|
|
||||||
],
|
|
||||||
"sSwfPath": "{{ STATIC_URL }}tabletools/swf/copy_csv_xls.swf"
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -3,52 +3,6 @@
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block extra_style %}
|
|
||||||
{{ block.super }}
|
|
||||||
<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_class %}reviews{% endblock %}
|
{% block body_class %}reviews{% endblock %}
|
||||||
|
|
||||||
{% block body_outer %}
|
{% block body_outer %}
|
||||||
|
@ -101,28 +55,18 @@
|
||||||
</div>
|
</div>
|
||||||
</div></div></div>
|
</div></div></div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block extra_script %}
|
{% block extra_script %}
|
||||||
<script src="{{ STATIC_URL }}datatables/js/jquery.dataTables.min.js" type="text/javascript"></script>
|
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs/jszip-2.5.0/dt-1.10.16/b-1.4.2/b-html5-1.4.2/b-print-1.4.2/r-2.2.0/datatables.min.css"/>
|
||||||
<script src="{{ STATIC_URL }}tabletools/js/TableTools.min.js" type="text/javascript"></script>
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
|
||||||
<script src="{{ STATIC_URL }}datatables/js/dataTables.bootstrap.js" type="text/javascript"></script>
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script>
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/ace/1.2.0/ace.js"></script>
|
<script type="text/javascript" src="https://cdn.datatables.net/v/bs/jszip-2.5.0/dt-1.10.16/b-1.4.2/b-html5-1.4.2/b-print-1.4.2/r-2.2.0/datatables.min.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$("table.table-reportdata").each(function () {
|
$("table.table-reviewlist").dataTable({
|
||||||
$(this).dataTable({
|
"dom": "<'row'<'col-md-3'l><'col-md-3'B><'col-md-4'f>r>t<'row'<'col-md-3'i><'col-md-5'p>>",
|
||||||
"sDom": "<'row'<'col-md-3'l><'col-md-3'T><'col-md-4'f>r>t<'row'<'col-md-3'i><'col-md-5'p>>",
|
"stateSave": true,
|
||||||
"sPaginationType": "bootstrap",
|
"lengthMenu": [[10, 50, 100, -1], [10, 50, 100, "All"]],
|
||||||
"bStateSave": true,
|
"pageLength": 100,
|
||||||
"aLengthMenu": [[10, 50, 100, -1], [10, 50, 100, "All"]],
|
"buttons": [ "copy", "csv", "print"]
|
||||||
"oTableTools": {
|
|
||||||
"aButtons": [
|
|
||||||
"copy",
|
|
||||||
"csv",
|
|
||||||
"print"
|
|
||||||
],
|
|
||||||
"sSwfPath": "{{ STATIC_URL }}tabletools/swf/copy_csv_xls.swf"
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -17,6 +17,7 @@ urlpatterns = [
|
||||||
url(r"^proposals/", include("symposion.proposals.urls")),
|
url(r"^proposals/", include("symposion.proposals.urls")),
|
||||||
url(r"^reviews/", include("symposion.reviews.urls")),
|
url(r"^reviews/", include("symposion.reviews.urls")),
|
||||||
url(r"^schedule/", include("symposion.schedule.urls")),
|
url(r"^schedule/", include("symposion.schedule.urls")),
|
||||||
|
url(r"^conference/", include("symposion.conference.urls")),
|
||||||
|
|
||||||
url(r"^teams/", include("symposion.teams.urls")),
|
url(r"^teams/", include("symposion.teams.urls")),
|
||||||
|
|
||||||
|
|
4
vendor/registrasion/registrasion/views.py
vendored
4
vendor/registrasion/registrasion/views.py
vendored
|
@ -336,6 +336,10 @@ def _guided_registration_profile_and_voucher(request):
|
||||||
profile_section = GuidedRegistrationSection(
|
profile_section = GuidedRegistrationSection(
|
||||||
title="Profile and Personal Information",
|
title="Profile and Personal Information",
|
||||||
form=profile_form,
|
form=profile_form,
|
||||||
|
description=("<div class=\"text-info\"><em>You can come back and edit these details any time before January 13, "
|
||||||
|
"2018.</em></div>"
|
||||||
|
"<div class=\"text-warning\"><strong class=\"label-warning\">Known issue:</strong> This form breaks with certain emoji ☹. "
|
||||||
|
"You'll be able to come back and add emoji to free text fields once we fix this.</div>"),
|
||||||
)
|
)
|
||||||
|
|
||||||
return [voucher_section, profile_section]
|
return [voucher_section, profile_section]
|
||||||
|
|
Loading…
Reference in a new issue