From Redis to Postgres - Part 1 (Getting started)
[gruntmaster-page.git] / tmpl / pb_entry.en
CommitLineData
9da2f495
MG
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<dl>
8<dt>Author</dt> <dd><tmpl_var author></dd>
1ad43ccc 9<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>
9da2f495
MG
10</dl>
11
12<tmpl_if cansubmit>
13<h1>Submit solution</h1>
14<form action="<tmpl_var id>/submit" method="POST" enctype="multipart/form-data" role="form">
15<input type="hidden" name="problem" value="<tmpl_var id>">
16<tmpl_if_defined contest><input type="hidden" name="contest" value="<tmpl_var contest>"></tmpl_if_defined>
17
18<div class="form-group"><label for="prog">File:</label><input id="prog" name="prog" type="file"></div>
19<div class="form-group"><label for="source_code">Source code:</label> <textarea class="form-control" id="source_code" name="source_code"></textarea></div>
20<div class="form-group"><label for="prog_format">File format:</label><select id="prog_format" name="prog_format" class="form-control" required>
d3200993
MG
21<option value="C">C</option>
22<option value="CPP">C++</option>
23<option value="JAVA">Java</option>
24<option value="PASCAL">Pascal</option>
25<option value="PERL">Perl</option>
26<option value="PYTHON">Python</option>
27</select></div>
9da2f495
MG
28
29<input type="submit" value="Submit job" class="btn btn-primary">
30</form>
31</tmpl_if>
32</div>
542cc275 33</div>
This page took 0.01231 seconds and 4 git commands to generate.