]> iEval git - gruntmaster-page.git/blob - tmpl/pb_entry.en
Add a function for making a DOM element from HTML
[gruntmaster-page.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 reqjs">Score</dt> <dd id="score" class="timer reqjs rc" data-start="..." data-stop="..." data-value="100">50</dd>
13 <dt class="rc reqjs">Contest ends in</dt> <dd id="countdown" class="timer reqjs rc" data-stop="...">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">Solution</a>
18
19 <h1 static="no">Submit solution</h1>
20
21 <div id="nosubmit">
22 The contest has finished.<br>
23 To submit solutions to this problem, please visit the problem <a href="/pb/id">outside&nbsp;the&nbsp;contest</a>.
24 </div>
25
26 <div id="submit" static="no">
27 <form id="submitform" action="/action/submit" method="POST" enctype="multipart/form-data" role="form">
28 <input type="hidden" name="problem" value="problem_id">
29 <input type="hidden" name="contest" value="contest_id">
30
31 <div class="form-group"><label for="prog">File:</label><input id="prog" name="prog" type="file"></div>
32 <div class="form-group"><label for="source_code">Source code:</label> <textarea class="form-control" id="source_code" name="source_code"></textarea></div>
33 <div class="form-group"><label for="prog_format">File format:</label><select id="prog_format" name="prog_format" class="form-control" required>
34 <option value="C">C (gcc)</option>
35 <option value="CPP" selected>C++ (g++)</option>
36 <option value="GCCGO">Go (gccgo)</option>
37 <option value="GOLANG">Go (gc)</option>
38 <option value="GOLFSCRIPT">Golfscript (golfscript.rb)</option>
39 <option value="HASKELL">Haskell (ghc)</option>
40 <option value="JAVA">Java (javac)</option>
41 <option value="PASCAL">Pascal (fpc)</option>
42 <option value="PERL">Perl (perl)</option>
43 <option value="PYTHON">Python (python)</option>
44 <option value="RUBY">Ruby (ruby)</option>
45 <option value="SBCL">Common Lisp (sbcl)</option>
46 </select></div>
47
48 <input type="submit" value="Submit job" class="btn btn-primary">
49 </form>
50 </div>
51 </div>
52 </div>
53
54 <div class="backdrop"></div>
55 <div id="solution_modal" class="hidden modal"></div>
This page took 0.048111 seconds and 4 git commands to generate.