]>
Commit | Line | Data |
---|---|---|
9da2f495 MG |
1 | <div class="row"> |
2 | <div class="col-md-9"> | |
3b69df7a | 3 | <div id="statement"></div> |
9da2f495 MG |
4 | </div> |
5 | ||
6 | <div class="col-md-3"> | |
7 | <dl> | |
3b69df7a MG |
8 | <dt>Author</dt> <dd id="author">author</dd> |
9 | <dt>Owner</dt> <dd id="owner">owner</dd> | |
9a4806b3 MG |
10 | <dt class="rc">Score</dt> <dd id="score" data-value="100" class="rc">50</dd> |
11 | <dt class="rc">Contest ends in</dt> <dd id="countdown" data-start="..." data-time="..." data-stop="..." class="rc">01:30</dd> | |
9da2f495 MG |
12 | </dl> |
13 | ||
e4d5bdf5 MG |
14 | <a href="/pb/problem_id/log/" id="job_log">Job log</a><br> |
15 | <a href="/sol/problem_id" id="solution" data-toggle="modal" data-target="#solution_modal">Solution</a> | |
491e82eb | 16 | |
3b69df7a | 17 | <div id="submit"> |
9da2f495 | 18 | <h1>Submit solution</h1> |
3b69df7a MG |
19 | <form action="/action/submit" method="POST" enctype="multipart/form-data" role="form"> |
20 | <input type="hidden" name="problem" value="problem_id"> | |
21 | <input type="hidden" name="contest" value="contest_id"> | |
9da2f495 MG |
22 | |
23 | <div class="form-group"><label for="prog">File:</label><input id="prog" name="prog" type="file"></div> | |
24 | <div class="form-group"><label for="source_code">Source code:</label> <textarea class="form-control" id="source_code" name="source_code"></textarea></div> | |
25 | <div class="form-group"><label for="prog_format">File format:</label><select id="prog_format" name="prog_format" class="form-control" required> | |
3b69df7a MG |
26 | <option value="C">C (gcc)</option> |
27 | <option value="CPP">C++ (g++)</option> | |
28 | <option value="GCCGO">Go (gccgo)</option> | |
29 | <option value="GOLANG">Go (gc)</option> | |
30 | <option value="HASKELL">Haskell (ghc)</option> | |
31 | <option value="JAVA">Java (javac)</option> | |
32 | <option value="PASCAL">Pascal (fpc)</option> | |
33 | <option value="PERL">Perl (perl)</option> | |
34 | <option value="PYTHON">Python (python)</option> | |
d3200993 | 35 | </select></div> |
9da2f495 MG |
36 | |
37 | <input type="submit" value="Submit job" class="btn btn-primary"> | |
38 | </form> | |
3b69df7a | 39 | </div> |
9da2f495 | 40 | </div> |
491e82eb | 41 | </div> |
e4d5bdf5 MG |
42 | |
43 | <div class="modal fade" id="solution_modal" role="dialog" aria-hidden="true" tabindex="-1"> | |
44 | <div class="modal-dialog"> | |
45 | <div class="modal-content"> | |
46 | <div class="modal-header"> | |
47 | <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> | |
48 | <h4 class="modal-title">Solution</h4> | |
49 | </div> | |
50 | <div class="modal-body"></div> | |
51 | </div> | |
52 | </div> | |
53 | </div> |