]> iEval git - plack-app-gruntmaster.git/blob - pb_entry.en
15e45398c79b53461cc69b4d249ff1d5b6fd93cd
[plack-app-gruntmaster.git] / pb_entry.en
1 <div class="row">
2 <div class="col-md-9">
3 <tmpl_var ESCAPE=0 statement>
4 </div>
5
6 <div class="col-md-3">
7 <dl>
8 <dt>Author</dt> <dd><tmpl_var author></dd>
9 <dt>Owner</dt> <dd><tmpl_var owner></dd>
10 </dl>
11
12 <tmpl_if cansubmit>
13 <h1>Submit solution</h1>
14 <form action="<tmpl_var id>/submit" method="POST" enctype="multipart/form-data" role="form">
15 <input type="hidden" name="problem" value="<tmpl_var id>">
16 <tmpl_if_defined contest><input type="hidden" name="contest" value="<tmpl_var contest>"></tmpl_if_defined>
17
18 <div class="form-group"><label for="prog">File:</label><input id="prog" name="prog" type="file"></div>
19 <div class="form-group"><label for="source_code">Source code:</label> <textarea class="form-control" id="source_code" name="source_code"></textarea></div>
20 <div class="form-group"><label for="prog_format">File format:</label><select id="prog_format" name="prog_format" class="form-control" required>
21 <tmpl_loop formats><option value="<tmpl_var _>"><tmpl_var _></option>
22 </tmpl_loop></select></div>
23
24 <input type="submit" value="Submit job" class="btn btn-primary">
25 </form>
26 </tmpl_if>
27 </div>
28 </div>
This page took 0.047248 seconds and 3 git commands to generate.