]> iEval git - plack-app-gruntmaster.git/blob - tmpl/pb_entry.en
Merge branch 'master' into newmc
[plack-app-gruntmaster.git] / tmpl / pb_entry.en
1 <div class="row">
2 <div class="col-md-9">
3 <div id="statement"></div>
4 </div>
5
6 <div class="col-md-3" id="sidebar">
7 <dl>
8 <dt>Author</dt> <dd id="author">author</dd>
9 <dt>Owner</dt> <dd id="owner">owner</dd>
10 <dt>Level</dt> <dd id="level">Easy</dd>
11 <dt>Time limit (seconds)</dt> <dd smap="timeout">1</dd>
12 <dt class="rc">Score</dt> <dd id="score" data-value="100" class="rc">50</dd>
13 <dt class="rc">Contest ends in</dt> <dd id="countdown" data-start="..." data-time="..." data-stop="..." class="rc">01:30</dd>
14 </dl>
15
16 <a href="/log/?problem=problem_id" id="job_log">Job log</a><br>
17 <a href="/sol/problem_id" id="solution" data-toggle="modal" data-target="#solution_modal">Solution</a>
18
19 <div id="submit">
20 <h1>Submit solution</h1>
21 <form action="/action/submit" method="POST" enctype="multipart/form-data" role="form">
22 <input type="hidden" name="problem" value="problem_id">
23 <input type="hidden" name="contest" value="contest_id">
24
25 <div class="form-group"><label for="prog">File:</label><input id="prog" name="prog" type="file"></div>
26 <div class="form-group"><label for="source_code">Source code:</label> <textarea class="form-control" id="source_code" name="source_code"></textarea></div>
27 <div class="form-group"><label for="prog_format">File format:</label><select id="prog_format" name="prog_format" class="form-control" required>
28 <option value="C">C (gcc)</option>
29 <option value="CPP">C++ (g++)</option>
30 <option value="GCCGO">Go (gccgo)</option>
31 <option value="GOLANG">Go (gc)</option>
32 <option value="HASKELL">Haskell (ghc)</option>
33 <option value="JAVA">Java (javac)</option>
34 <option value="PASCAL">Pascal (fpc)</option>
35 <option value="PERL">Perl (perl)</option>
36 <option value="PYTHON">Python (python)</option>
37 </select></div>
38
39 <input type="submit" value="Submit job" class="btn btn-primary">
40 </form>
41 </div>
42 </div>
43 </div>
44
45 <div class="modal fade" id="solution_modal" role="dialog" aria-hidden="true" tabindex="-1">
46 <div class="modal-dialog modal-lg">
47 <div class="modal-content">
48 <div class="modal-header">
49 <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
50 <h4 class="modal-title">Solution</h4>
51 </div>
52 <div class="modal-body"></div>
53 </div>
54 </div>
55 </div>
This page took 0.044572 seconds and 5 git commands to generate.