Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Merge pull request #65 from kipukun/master

Small changes on view template
Cette révision appartient à :
keo 2017-05-05 22:40:07 +03:00 révisé par GitHub
révision 2571869c24
2 fichiers modifiés avec 17 ajouts et 5 suppressions

Voir le fichier

@ -55,6 +55,19 @@ a {
text-decoration : none;
}
.download-btn {
font-size: 20px;
}
.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
border: none;
}
.torrent-info .name {
font-weight: bold;
overflow: hidden;

Voir le fichier

@ -2,12 +2,11 @@
{{define "content"}}
<div class="blockBody">
{{with .Torrent}}
<table class="table">
<hr>
<table class="table table-borderless">
<tr {{if eq .Status 2}}class="remake"{{end}}
{{if eq .Status 3}}class="trusted"{{end}}
{{if eq .Status 4}}class="aplus"{{end}}>
<td>Id</td>
<td>{{.Id}}</td>
</tr>
<tr>
<td>Name</td>
@ -22,12 +21,12 @@
<td class="date-full">{{.Date}}</td>
</tr>
<tr>
<td>FileSize</td>
<td>Size</td>
<td>{{.Filesize}}</td>
</tr>
<tr>
<td>Links</td>
<td><a href="{{.Magnet}}" title="Magnet link" ><span class="glyphicon glyphicon-magnet" aria-hidden="true"></span></a>
<td><a aria-label="Magnet Button" href="{{.Magnet}}" type="button" class="btn btn-success download-btn"><span class="glyphicon glyphicon-magnet" aria-hidden="true"></span> Download!</button>
<!-- <a
href="https://itorrents.org/torrent/{{.Hash}}.torrent" title="Torrent file"><span class="glyphicon glyphicon-floppy-save" aria-hidden="true"></span></a>-->
</td>