projects
/
mindcoding-template-patches.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d90e787
)
some improvements on submitting
author
S7012MY
<l3asketballplayer@yahoo.com>
Sat, 25 Jan 2014 18:02:57 +0000
(20:02 +0200)
committer
S7012MY
<l3asketballplayer@yahoo.com>
Sat, 25 Jan 2014 18:02:57 +0000
(20:02 +0200)
tmpl/pb_entry.en
patch
|
blob
|
blame
|
history
diff --git
a/tmpl/pb_entry.en
b/tmpl/pb_entry.en
index 5c652024f08246820f861150d3be7cd991031bb3..cdc4679cea699c811e969aa5d9bd35e923a87de4 100644
(file)
--- a/
tmpl/pb_entry.en
+++ b/
tmpl/pb_entry.en
@@
-26,6
+26,13
@@
</table>
<tmpl_if cansubmit>
<h3>Submit solution</h3>
</table>
<tmpl_if cansubmit>
<h3>Submit solution</h3>
+ <input type="hidden" name="problem" value="<tmpl_var id>">
+ <tmpl_if_defined contest><input type="hidden" name="contest" value="<tmpl_var contest>"></tmpl_if_defined>
+ <label>File: <input name="prog" required type="file"></label>
+
+ <label>File format: <select name="prog_format" required>
+ <tmpl_loop formats><option value="<tmpl_var _>"><tmpl_var _></option>
+ </tmpl_loop></select></label>
<div class="input-group">
<form action="https://gm.ieval.ro/action/submit" method="POST" enctype="multipart/form-data"><textarea class="form-control" style="width: 25em; height: 25em;" placeholder="Source code"></textarea>
<div class="input-group-btn">
<div class="input-group">
<form action="https://gm.ieval.ro/action/submit" method="POST" enctype="multipart/form-data"><textarea class="form-control" style="width: 25em; height: 25em;" placeholder="Source code"></textarea>
<div class="input-group-btn">
@@
-36,16
+43,9
@@
<li> g++ </li>
<li> perl </li>
</ul>
<li> g++ </li>
<li> perl </li>
</ul>
- </div>
- <input type="hidden" name="problem" value="<tmpl_var id>">
- <tmpl_if_defined contest><input type="hidden" name="contest" value="<tmpl_var contest>"></tmpl_if_defined>
- <label>File: <input name="prog" required type="file"></label>
-
- <label>File format: <select name="prog_format" required>
- <tmpl_loop formats><option value="<tmpl_var _>"><tmpl_var _></option>
- </tmpl_loop></select></label>
-
<input type="submit" class="btn btn-default" value="Submit job">
<input type="submit" class="btn btn-default" value="Submit job">
+ </div>
+
</form>
</div>
</div>
</form>
</div>
</div>
This page took
0.010555 seconds
and
4
git commands to generate.