Set rel="prev"/rel="next" on pager links
[plack-app-gruntmaster.git] / tmpl / log.en
index 2179172cab5691246c0d6ab1be6156fc82e2e586..4cd20cf516e95b30b06d073d781bdcf0860c95db 100644 (file)
@@ -1,16 +1,19 @@
-<table border class="table table-bordered table-striped">
-<thead>
-<tr><th>ID<th>Problem<th>Date<th>Size<th>User<th>Result
+<table border class="table table-bordered table-striped table-condensed">
+<thead><tr><th>ID<th>Problem<th>Contest<th>Date<th>Source<th>User<th>Result</thead>
+
 <tbody>
-<tmpl_loop log><tr><td><a href="job/<tmpl_var id>"><tmpl_var id></a>
-<td><a href="../pb/<tmpl_var problem>"><tmpl_var name></a>
-<td><tmpl_var date>
-<td><a href="src/<tmpl_var id>.<tmpl_var extension>"<tmpl_if private> data-private</tmpl_if>><tmpl_var size></a>
-<td><a href="/us/<tmpl_var user>"><tmpl_if user_name><tmpl_var user_name><tmpl_else><tmpl_var user></tmpl_if></a><td class="r<tmpl_var result>"><tmpl_var result_text>
+<tr><td class="id"><a href="/log/id">Job ID</a>
+<td class="problem"><a href="/pb/id">Problem name</a>
+<td class="contest"><a href="/ct/id">Contest name</a>
+<td class="date">Date
+<td class="source"><a href="/src/id">3.14KB CPP</a>
+<td class="owner"><a href="/us/id">Owner name</a>
+<td class="result_text"><tmpl_var result_text>
 </tmpl_loop>
 </table>
 
 <ul class="pager">
-<tmpl_if prev><li class="previous"><a href="<tmpl_var prev>">Previous</a></tmpl_if>
-<tmpl_if next><li class="next"><a href="<tmpl_var next>">Next</a></tmpl_if>
+<li class="previous"><a href="?page=id" rel="prev">Previous</a>
+<li class="current">Page 1 of 100
+<li class="next"><a href="?page=id" rel="next">Next</a>
 </ul>
This page took 0.009283 seconds and 4 git commands to generate.