Newer
Older
<!DOCTYPE html>
<html>
<head>
{% for src in js %}
<script type="text/javascript" src="{{ src }}"></script>
{% endfor %}
{% for src in css %}
<link type="text/css" rel="stylesheet" href="{{ src }}">
{% endfor %}
<script type="text/javascript" src="{{ url_for( 'files.send_app_files', subpath = 'functions.js' ) }}"></script>
<link type="text/css" rel="stylesheet" href="{{ url_for( 'files.send_app_files', subpath = 'app.css' ) }}">
<link type="text/css" rel="stylesheet" href="{{ url_for( 'files.send_app_files', subpath = 'dropzone.css' ) }}">
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
<script type="text/javascript">
baseurl = "{{ baseurl }}";
var password_local = decrypt( sessionStorage.getItem( "session_key" ), "{{ session_security_key }}" );
</script>
<style type="text/css">
.icnml_next_buttons {
margin-top: 20px;
padding-left: 50px;
padding-right: 50px;
}
.icnml_next_button {
width: 100%;
margin-bottom: 5px;
}
#icnml_donor_list {
display: grid;
grid-gap: 10px;
grid-template-columns: repeat( auto-fit, minmax( 200px, max-content ) );
grid-auto-rows: min-content;
}
.icnml_donor_button {
width: 120px;
height: 120px;
}
.icnml_donor_button > span {
height: 120px;
line-height: 120px;
vertical-align: center;
text-align: center;
}
</style>
</head>
<body class="icnml_main_layout">
{% include "header.html" %}
{% include navigation %}
<div class="icnml_content">
<div id="icnml_donor_list">
{% for donor in donors %}
<div style="margin-bottom: 20px">
<div class="ui-widget-header ui-corner-top icnml_box_top" id="donor_{{ donor[ 'id' ] }}_nickname">{{ donor[ 'username' ] }}</div>
<div class="ui-widget-content ui-corner-bottom icnml_box_content">
<div class="icnml_button">
<a class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only icnml_donor_button" id="edit_{{ donor[ 'id' ] }}_button" role="button" aria-disabled="false">
<span>View</span>
</a>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
<script type="text/javascript">
{% for donor in donors %}
$( "#edit_{{ donor[ 'id' ] }}_button" ).on( "click", function()
{
window.location = "{{ url_for( 'submission.admin_submission_home', submission_id = donor[ 'uuid' ] ) }}";