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' ) }}">
<style type="text/css">
.icnml_submission_form {
width: fit-content;
width: -moz-fit-content;
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
margin-top: 30px;
margin-left: auto;
margin-right: auto;
}
.icnml_buttons_list {
display: grid;
grid-template-columns: repeat( 3, 1fr );
grid-gap: 10px;
margin: 20px;
}
.icnml_button {
height: 120px;
width: 120px;
padding: 0px;
}
.icnml_button > span {
height: 120px;
width: 120px;
line-height: 120px;
vertical-align: center;
text-align: center;
}
</style>
<script type="text/javascript">
baseurl = "{{ baseurl }}";
submission_id = "{{ submission_id }}";
</script>
</head>
<body class="icnml_main_layout">
{% include "header.html" %}
{% include navigation %}
<div class="icnml_content">
<div class="icnml_submission_form">
<div class="ui-widget-header ui-corner-top icnml_box_top">{{ donor[ 'username' ] }}</div>
<div class="ui-widget-content ui-corner-bottom">
<div class="icnml_buttons_list">
<div class="icnml_button">
<a class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only icnml_button" id="gp_button" role="button" aria-disabled="false">
<span>General pattern</span>
</a>
</div>
<div class="icnml_button">
<a class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only icnml_button" id="tp_button" role="button" aria-disabled="false">
<span>Tenprint(s)</span>
</a>
</div>
<div class="icnml_button">
<a class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only icnml_button" id="lt_button" role="button" aria-disabled="false">
<span>Mark(s)</span>
</a>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$( "#gp_button" ).on( "click", function()
{
window.location = "{{ url_for( 'submission.admin_submission_gp', submission_id = donor[ 'uuid' ] ) }}";
} );
$( "#tp_button" ).on( "click", function()
{
window.location = "{{ url_for( 'submission.admin_tenprint_list', submission_id = donor[ 'uuid' ] ) }}";
} );
$( "#icnml_navigation_updatedonor" )
.addClass( "activated" );
$( "#navloc" ).append(
$( "<a />" )
.attr( "href", "{{ url_for( 'submission.admin_submission_list' ) }}" )