]>
Commit | Line | Data |
---|---|---|
3da93bbf | 1 | <div class="row clearfix"> |
10161bdc | 2 | |
0787d72e MG |
3 | <div class="col-md-8 column"> |
4 | <div class="well"><tmpl_var ESCAPE=0 statement></div> | |
5 | </div> | |
6 | ||
7 | <div class="col-md-4 column"> | |
8 | <table class="table"> | |
9 | <tr><td>Time limit: <td> -todo- | |
10 | <tr><td>Author: <td> <tmpl_var author> | |
11 | <tr><td>Added by: <td> <tmpl_var owner> | |
12 | </table> | |
13 | ||
14 | <tmpl_if cansubmit> | |
15 | <h3>Submit solution</h3> | |
16 | <div class="input-group"> | |
17 | <form action="https://gm.ieval.ro/action/submit" method="POST" enctype="multipart/form-data"> | |
18 | <input type="hidden" name="problem" value="<tmpl_var id>"> | |
19 | <tmpl_if_defined contest><input type="hidden" name="contest" value="<tmpl_var contest>"></tmpl_if_defined> | |
20 | <label>File: <input name="prog" type="file"></label> | |
21 | <textarea class="form-control" placeholder="Source code" name="source_code"></textarea><br> | |
22 | ||
23 | <div class="input-group-btn"> | |
24 | <label>File format: <select name="prog_format" required> | |
25 | <tmpl_loop formats><option value="<tmpl_var _>"><tmpl_var _></option> | |
26 | </tmpl_loop></select></label> | |
27 | <input type="submit" value="Submit"> | |
28 | </div> | |
29 | ||
30 | </form> | |
31 | </div> | |
32 | </tmpl_if> | |
33 | </div> | |
34 | ||
3da93bbf | 35 | </div> |