Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

columns hidden on phones

Cette révision appartient à :
kipukun 2017-05-09 17:36:58 -04:00
Parent 4bd79520a9
révision 0c9af5798a

Voir le fichier

@ -4,18 +4,18 @@
<div class="blockBody">
<nav class="torrentNav" aria-label="Page navigation">
<ul class="pagination">
{{ genNav .Navigation .URL 10 }}
{{ genNav .Navigation .URL 5 }}
</ul>
</nav>
<div class="table-responsive">
<table class="table custom-table-hover">
<tr>
<th>{{T "category"}}</th>
<th>{{T "name"}}</th>
<th>{{T "date"}}</th>
<th>{{T "size"}}</th>
<th>{{T "links"}}</th>
<th class="col-xs-1 hidden-xs">{{T "category"}}</th>
<th class="col-xs-8">{{T "name"}}</th>
<th class="col-xs-1 hidden-xs">{{T "date"}}</th>
<th class="col-xs-1 hidden-xs">{{T "size"}}</th>
<th class="col-xs-1 hidden-xs">{{T "links"}}</th>
</tr>
{{ range .ListTorrents}}
<tr class="torrent-info
@ -23,7 +23,7 @@
{{if eq .Status 3}}trusted{{end}}
{{if eq .Status 4}}aplus{{end}}">
<!-- forced width because the <td> gets bigger randomly otherwise -->
<td style="width:80px">
<td class="hidden-xs" style="width:80px">
<a href="{{$.URL.Parse (printf "/search?c=%s_%s" .Category .Sub_Category) }}">
<img src="{{$.URL.Parse (printf "/img/torrents/%s.png" .Sub_Category) }}">
</a>
@ -33,9 +33,9 @@
{{.Name}}
</a>
</td>
<td class="date date-short">{{.Date}}</td>
<td class="filesize">{{.Filesize}}</td>
<td>
<td class="hidden-xs" class="date date-short">{{.Date}}</td>
<td class="hidden-xs" class="filesize">{{.Filesize}}</td>
<td class="hidden-xs">
<a href="{{.Magnet}}" title="Magnet link">
<span class="glyphicon glyphicon-magnet" aria-hidden="true"></span>
</a>
@ -48,11 +48,11 @@
</tr>
{{end}}
</table>
</div>
<nav class="torrentNav" aria-label="Page navigation">
<ul class="pagination">
{{ genNav .Navigation .URL 10 }}
</ul>
</nav>
</div>
</div>
{{end}}