Merge pull request #65 from kipukun/master
Small changes on view template
Cette révision appartient à :
révision
2571869c24
2 fichiers modifiés avec 17 ajouts et 5 suppressions
|
@ -55,6 +55,19 @@ a {
|
||||||
text-decoration : none;
|
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 {
|
.torrent-info .name {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
|
@ -2,12 +2,11 @@
|
||||||
{{define "content"}}
|
{{define "content"}}
|
||||||
<div class="blockBody">
|
<div class="blockBody">
|
||||||
{{with .Torrent}}
|
{{with .Torrent}}
|
||||||
<table class="table">
|
<hr>
|
||||||
|
<table class="table table-borderless">
|
||||||
<tr {{if eq .Status 2}}class="remake"{{end}}
|
<tr {{if eq .Status 2}}class="remake"{{end}}
|
||||||
{{if eq .Status 3}}class="trusted"{{end}}
|
{{if eq .Status 3}}class="trusted"{{end}}
|
||||||
{{if eq .Status 4}}class="aplus"{{end}}>
|
{{if eq .Status 4}}class="aplus"{{end}}>
|
||||||
<td>Id</td>
|
|
||||||
<td>{{.Id}}</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Name</td>
|
<td>Name</td>
|
||||||
|
@ -22,12 +21,12 @@
|
||||||
<td class="date-full">{{.Date}}</td>
|
<td class="date-full">{{.Date}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>FileSize</td>
|
<td>Size</td>
|
||||||
<td>{{.Filesize}}</td>
|
<td>{{.Filesize}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Links</td>
|
<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
|
<!-- <a
|
||||||
href="https://itorrents.org/torrent/{{.Hash}}.torrent" title="Torrent file"><span class="glyphicon glyphicon-floppy-save" aria-hidden="true"></span></a>-->
|
href="https://itorrents.org/torrent/{{.Hash}}.torrent" title="Torrent file"><span class="glyphicon glyphicon-floppy-save" aria-hidden="true"></span></a>-->
|
||||||
</td>
|
</td>
|
||||||
|
|
Référencer dans un nouveau ticket