]> iEval git - mindcoding-template-patches.git/commitdiff
adds ct template
authorS7012MY <l3asketballplayer@yahoo.com>
Thu, 23 Jan 2014 15:44:17 +0000 (17:44 +0200)
committerS7012MY <l3asketballplayer@yahoo.com>
Thu, 23 Jan 2014 15:44:17 +0000 (17:44 +0200)
css/custom.css
tmpl/ct.en [new file with mode: 0644]
tmpl/footer.en
tmpl/header.en

index dcbf88e28747dbccde3f0ec9e67795ea1475b992..6dcb1c308f82cfb5360a9715dacb643927774f61 100644 (file)
@@ -1 +1,2 @@
-#spacer { height: 5em; }
+#top_spacer { height: 5em; }
+#bottom_spacer { height: 2em; }
diff --git a/tmpl/ct.en b/tmpl/ct.en
new file mode 100644 (file)
index 0000000..f995878
--- /dev/null
@@ -0,0 +1,60 @@
+<div class="row clearfix">
+               <div class="col-md-12 column">
+                       
+                       <div id="top_spacer"> </div>
+                       <center><img src="/img/logo-complet.png"></center>
+                       <div id="bottom_spacer"> </div>
+                       <div class="row clearfix">
+                               <div class="col-md-12 column">
+                                               <tmpl_if running>
+                                               <div class="jumbotron">
+                                               <h2>Running contests</h2>
+                                               <table class="table">
+                                               <thead>
+                                               <tr><th>Name<th>Start date<th>End date<th>Owner
+                                               <tbody>
+                                               <tmpl_loop running><tr class="success"><td><a href="<tmpl_var id>"><tmpl_var name></a>
+                                               <td><tmpl_var start>
+                                               <td><tmpl_var end>
+                                               <td><tmpl_var owner>
+                                               </tmpl_loop>
+                                               </table>
+                                               </div>
+                                               </tmpl_if>
+
+                                               <tmpl_if pending>
+                                               <div class="jumbotron">
+                                               <h2>Pending contests</h2>
+                                               <table class="table">
+                                               <thead>
+                                               <tr><th>Name<th>Start date<th>End date<th>Owner
+                                               <tbody>
+                                               <tmpl_loop pending><tr class="active"><td><a href="<tmpl_var id>"><tmpl_var name></a>
+                                               <td><tmpl_var start>
+                                               <td><tmpl_var end>
+                                               <td><tmpl_var owner>
+                                               </tmpl_loop>
+                                               </table>
+                                               </div>
+                                               </tmpl_if>
+
+                                               <tmpl_if finished>
+                                               <div class="jumbotron">
+                                               <h2>Finished contests</h2>
+                                               <table class="table">
+                                               <thead>
+                                               <tr><th>Name<th>Start date<th>End date<th>Owner
+                                               <tbody>
+                                               <tmpl_loop finished><tr><td><a href="<tmpl_var id>"><tmpl_var name></a>
+                                               <td><tmpl_var start>
+                                               <td><tmpl_var end>
+                                               <td><tmpl_var owner>
+                                               </tmpl_loop>
+                                               </table>
+                                               </div>
+                                               </tmpl_if>
+                                       </div>
+                               </div>
+                       </div>
+       </div>
+</div>
\ No newline at end of file
index f2c07303fbe95a1f3de5d1b788f665ebc3a7e72a..58d88c6e3695af7d6ac7fe7a8f6654e1b630ae3a 100644 (file)
@@ -45,3 +45,4 @@
                </div>
        </div>
 </div>
+</div>
index a8512c021d462e86d4e905bb4ff23c68bfbdf658..e63853381dec430ce53dc0dcebd31a556b66c1c5 100644 (file)
@@ -41,3 +41,4 @@
 
 <div id="spacer"></div>
 <div id="result"></div>
+<div class="container">
This page took 0.035494 seconds and 4 git commands to generate.