]>
Commit | Line | Data |
---|---|---|
9da2f495 MG |
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"> | |
01c59698 MG |
7 | <div id="sidebar"></div> |
8 | ||
9 | <h3>Problem information</h3> | |
9da2f495 | 10 | <dl> |
d3933028 | 11 | <dt>Time limit:</dt> <dd><tmpl_var timelimit></dd> |
9da2f495 MG |
12 | <dt>Author</dt> <dd><tmpl_var author></dd> |
13 | <dt>Owner</dt> <dd><tmpl_var owner></dd> | |
14 | </dl> | |
15 | ||
16 | <tmpl_if cansubmit> | |
17 | <h1>Submit solution</h1> | |
18 | <form action="<tmpl_var id>/submit" method="POST" enctype="multipart/form-data" role="form"> | |
19 | <input type="hidden" name="problem" value="<tmpl_var id>"> | |
20 | <tmpl_if_defined contest><input type="hidden" name="contest" value="<tmpl_var contest>"></tmpl_if_defined> | |
21 | ||
22 | <div class="form-group"><label for="prog">File:</label><input id="prog" name="prog" type="file"></div> | |
23 | <div class="form-group"><label for="source_code">Source code:</label> <textarea class="form-control" id="source_code" name="source_code"></textarea></div> | |
24 | <div class="form-group"><label for="prog_format">File format:</label><select id="prog_format" name="prog_format" class="form-control" required> | |
25 | <tmpl_loop formats><option value="<tmpl_var _>"><tmpl_var _></option> | |
26 | </tmpl_loop></select></div> | |
27 | ||
28 | <input type="submit" value="Submit job" class="btn btn-primary"> | |
29 | </form> | |
30 | </tmpl_if> | |
31 | </div> | |
e1f9d2ac | 32 | </div> |