]>
Commit | Line | Data |
---|---|---|
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 | <div id="sidebar"></div> | |
8 | ||
9 | <h3>Problem information</h3> | |
10 | <dl> | |
11 | <dt>Time limit:</dt> <dd><tmpl_var timeout> s</dd> | |
12 | <dt>Author</dt> <dd><tmpl_var author></dd> | |
13 | <dt>Owner</dt> <dd><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var owner></tmpl_if></a></dd> | |
14 | </dl> | |
15 | ||
16 | <a href="/pb/<tmpl_var id>/log/">Job log</a> | |
17 | ||
18 | <tmpl_if cansubmit> | |
19 | <h1>Submit solution</h1> | |
20 | <form action="<tmpl_var id>/submit" method="POST" enctype="multipart/form-data" role="form"> | |
21 | <input type="hidden" name="problem" value="<tmpl_var id>"> | |
22 | <tmpl_if_defined contest><input type="hidden" name="contest" value="<tmpl_var contest>"></tmpl_if_defined> | |
23 | ||
24 | <div class="form-group"><label for="prog">File:</label><input id="prog" name="prog" type="file"></div> | |
25 | <div class="form-group"><label for="source_code">Source code:</label> <textarea class="form-control" id="source_code" name="source_code"></textarea></div> | |
26 | <div class="form-group"><label for="prog_format">File format:</label><select id="prog_format" name="prog_format" class="form-control" required> | |
27 | <option value="C">C</option> | |
28 | <option value="CPP" selected>C++</option> | |
29 | <option value="JAVA">Java</option> | |
30 | <option value="PASCAL">Pascal</option> | |
31 | <option value="PERL">Perl</option> | |
32 | <option value="PYTHON">Python</option> | |
33 | </select></div> | |
34 | ||
35 | <input type="submit" value="Submit job" class="btn btn-primary"> | |
36 | </form> | |
37 | </tmpl_if> | |
38 | </div> | |
39 | </div> |