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