]> iEval git - mindcoding-template-patches.git/commitdiff
Rewrite pb_entry
authorMarius Gavrilescu <marius@ieval.ro>
Mon, 27 Jan 2014 10:27:39 +0000 (12:27 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Mon, 27 Jan 2014 10:27:39 +0000 (12:27 +0200)
tmpl/pb_entry.en

index 1df4af81e7406a3fa1c642aa86c4cb8373a107ca..dad2fb1522eaecf72078f5af899b5b22f086aebc 100644 (file)
@@ -1,51 +1,35 @@
 <div class="row clearfix">
-       <div class="col-md-12 column">
-               
-               <div class="row clearfix">
-                       <div class="col-md-8 column">
-                               <div class="well">
-                               <small>
-                                       <tmpl_var ESCAPE=0 statement>
-                               </small>
-                               </div>
-                       </div>
-                       <div class="col-md-4 column">
-                               <table class="table">
-                                       <tr> <td> Time limit: </td> <td> -todo- </td> </tr>
-                                       <tr> <td> Memory limit: </td> <td> -todo- </td> </tr>
-                                       <tr> <td> Author: </td> <td> <tmpl_var author> </td></tr>
-                                       <tr> <td> Added by: </td> <td> <tmpl_var owner> </td></tr>
-                               </table>
-                               <!-- <h3><center>Time: 12:21</center></h3>
-                               <table class="table">
-                                       <thead><tr><th>#</th> <th>User</th><th>Score</th></tr></thead>
-                                       <tr class="active"> <td> 1 </td> <td> asd_asd</td> <td>1000</td> </tr>
-                                       <tr> <td> 2 </td> <td> asd_asd</td> <td>999</td> </tr>
-                                       <tr> <td> 3 </td> <td> asd_asd</td> <td>23</td> </tr>
-                                       <tr> <td> 4 </td> <td> asd_asd</td> <td>23</td> </tr>
-                                       <tr> <td> 5 </td> <td> asd_asd</td> <td>23</td> </tr>
-                               </table> -->
-                               <tmpl_if cansubmit>
-                                       <h3>Submit solution</h3>
-                                       <div class="input-group">
-                                               <form action="https://gm.ieval.ro/action/submit" method="POST" enctype="multipart/form-data">
-                                               <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" type="file"></label>
 
-                                               <textarea class="form-control"placeholder="Source code" name="source_code"></textarea><br>
-                                               <div class="input-group-btn">
-                                               <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" value="Submit">
-                                               </div>
-                                               
-                                               </form>
-                                       </div>
-                                       </div>
-                               </tmpl_if>
-                       </div>
-               </div>
-       </div>
+<div class="col-md-8 column">
+<div class="well"><tmpl_var ESCAPE=0 statement></div>
+</div>
+
+<div class="col-md-4 column">
+<table class="table">
+<tr><td>Time limit:    <td> -todo-
+<tr><td>Author:                <td> <tmpl_var author>
+<tr><td>Added by:      <td> <tmpl_var owner>
+</table>
+
+<tmpl_if cansubmit>
+<h3>Submit solution</h3>
+<div class="input-group">
+<form action="https://gm.ieval.ro/action/submit" method="POST" enctype="multipart/form-data">
+<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" type="file"></label>
+<textarea class="form-control" placeholder="Source code" name="source_code"></textarea><br>
+
+<div class="input-group-btn">
+<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" value="Submit">
+</div>
+
+</form>
+</div>
+</tmpl_if>
+</div>
+
 </div>
This page took 0.031524 seconds and 4 git commands to generate.