mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-18 14:34:21 +01:00
Improve teams page on mobile and correcting populate.py
This commit is contained in:
@@ -34,14 +34,18 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>Challenge</b></td>
|
<td><b>Challenge</b></td>
|
||||||
<td><b>Category</b></td>
|
<td class="hidden-xs"><b>Category</b></td>
|
||||||
<td><b>Value</b></td>
|
<td><b>Value</b></td>
|
||||||
<td><b>Time</b></td>
|
<td><b>Time</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for solve in solves %}
|
{% for solve in solves %}
|
||||||
<tr><td><a href="/challenges#{{ solve.chal.name }}">{{ solve.chal.name }}</a></td><td>{{ solve.chal.category }}</td><td>{{ solve.chal.value }}</td><td class="solve-time"><script>document.write( moment({{ solve.date|unix_time_millis }}).local().format('MMMM Do, h:mm:ss A'))</script></td></tr>
|
<tr>
|
||||||
|
<td><a href="/challenges#{{ solve.chal.name }}">{{ solve.chal.name }}</a></td>
|
||||||
|
<td class="hidden-xs">{{ solve.chal.category }}</td><td>{{ solve.chal.value }}</td>
|
||||||
|
<td class="solve-time"><script>document.write( moment({{ solve.date|unix_time_millis }}).local().format('MMMM Do, h:mm:ss A'))</script></td>
|
||||||
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
969
populate.py
969
populate.py
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user