]>
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"> | |
c2783a9b | 8 | <div id="sponsors"></div> |
0787d72e MG |
9 | <table class="table"> |
10 | <tr><td>Time limit: <td> -todo- | |
11 | <tr><td>Author: <td> <tmpl_var author> | |
12 | <tr><td>Added by: <td> <tmpl_var owner> | |
13 | </table> | |
14 | ||
15 | <tmpl_if cansubmit> | |
16 | <h3>Submit solution</h3> | |
17 | <div class="input-group"> | |
18 | <form action="https://gm.ieval.ro/action/submit" method="POST" enctype="multipart/form-data"> | |
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 | <label>File: <input name="prog" type="file"></label> | |
22 | <textarea class="form-control" placeholder="Source code" name="source_code"></textarea><br> | |
23 | ||
24 | <div class="input-group-btn"> | |
25 | <label>File format: <select name="prog_format" required> | |
26 | <tmpl_loop formats><option value="<tmpl_var _>"><tmpl_var _></option> | |
27 | </tmpl_loop></select></label> | |
28 | <input type="submit" value="Submit"> | |
29 | </div> | |
30 | ||
31 | </form> | |
32 | </div> | |
33 | </tmpl_if> | |
34 | </div> | |
35 | ||
3da93bbf | 36 | </div> |