Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Optional fix for wide screen (#1007)

* Should fix old uploader name in torrent view

* Fix "save changes" in modtools

* Modtool more colorful

* Fix search bar placement in modpanel

* Fix for widescreen

* Fix buttons in modpanel and some troncated text

* Update torrent.go

* Update admin_index.html

* Some last fix

Re added icon on download&magnet links
Cette révision appartient à :
akuma06 2017-06-20 15:15:26 +02:00 révisé par ewhal
Parent 2f81a44e99
révision d3ccdc4af1
8 fichiers modifiés avec 22 ajouts et 17 suppressions

Voir le fichier

@ -41,7 +41,7 @@ body {
border-bottom: 1px solid;
}
.container {
max-width: 1500px;
max-width: 1380px;
margin: 0 auto;
}
.content {
@ -627,7 +627,7 @@ input.filelist-checkbox:checked + table.table-filelist {
position: fixed;
top: 65px;
padding: 5px 10px;
max-width: 1060px;
max-width: 1360px;
width: 100%;
background: #e6eff4;
border: 1px solid #cbbdd7;
@ -856,7 +856,7 @@ input.filelist-checkbox:checked + table.table-filelist {
}
.tr-actions {
width: 140px;
width: 150px;
}
.toolbar {
@ -887,6 +887,10 @@ input.nav-btn {
.comment-captcha {
width: 240px;
}
.download {
font-size: 1.5em;
padding: 0.3em;
}
.refine-drop {
display: inline-block;
user-select: none;
@ -912,4 +916,4 @@ summary:after {
details[open] summary:after {
content: "-";
margin: -4px 5px 0 0;
}
}

Voir le fichier

@ -7,7 +7,7 @@
<tr>
<th class="tr-name">{{ call $.T "comments" }}</th>
<th class="tr-size">{{ call $.T "torrents" }}</th>
<th class="tr-size">{{ call $.T "username" }}</th>
<th class="tr-actions">{{ call $.T "username" }}</th>
<th class="tr-actions">{{ call $.T "actions" }}</th>
</tr>
</thead>

Voir le fichier

@ -6,8 +6,8 @@
<thead class="torrent-info">
<tr>
<th class="tr-name">{{ call $.T "name" }}</th>
<th class="tr-size">{{ call $.T "username" }}</th>
<th class="tr-size">{{ call $.T "actions" }}</th>
<th class="tr-actions">{{ call $.T "username" }}</th>
<th class="tr-actions">{{ call $.T "actions" }}</th>
</tr>
</thead>
<tbody>
@ -32,7 +32,7 @@
<thead class="torrent-info">
<tr>
<th class="tr-name">{{ call $.T "name" }}</th>
<th class="tr-size">{{ call $.T "username" }}</th>
<th class="tr-actions">{{ call $.T "username" }}</th>
<th class="tr-actions">{{ call $.T "reason" }}</th>
<th class="tr-actions">{{ call $.T "actions" }}</th>
</tr>
@ -59,7 +59,7 @@
<thead class="torrent-info">
<tr>
<th class="tr-name">{{ call $.T "username" }}</th>
<th class="tr-size">{{ call $.T "actions" }}</th>
<th class="tr-actions">{{ call $.T "actions" }}</th>
</tr>
</thead>
<tbody>
@ -84,8 +84,8 @@
<thead class="torrent-info">
<tr>
<th class="tr-name">{{ call $.T "comments" }}</th>
<th class="tr-size">{{ call $.T "username" }}</th>
<th class="tr-size">{{ call $.T "actions" }}</th>
<th class="tr-actions">{{ call $.T "username" }}</th>
<th class="tr-actions">{{ call $.T "actions" }}</th>
</tr>
</thead>
<tbody>

Voir le fichier

@ -6,7 +6,7 @@
<thead class="torrent-info">
<tr>
<th class="tr-name">{{ call $.T "name" }}</th>
<th class="tr-size">{{ call $.T "username" }}</th>
<th class="tr-actions">{{ call $.T "username" }}</th>
<th class="tr-actions">{{ call $.T "reason" }}</th>
<th class="tr-actions">{{ call $.T "actions" }}</th>
</tr>

Voir le fichier

@ -36,7 +36,7 @@
<tr>
<th class="tr-cb"><input type="checkbox" name="checkall" data-selectall="checkbox"></th>
<th class="tr-name">{{ call $.T "name" }}</th>
<th class="tr-size">{{ call $.T "uploaded_by" }}</th>
<th class="tr-actions">{{ call $.T "uploaded_by" }}</th>
<th class="tr-actions">{{ call $.T "actions" }}</th>
</tr>
</thead>

Voir le fichier

@ -57,7 +57,7 @@
<div class="h-user">
{{block "badge_user" .}}{{end}}
</div>
<div class="h-search">
<form role="search" action="{{ genRoute "mod_tlist" }}" method="get">
{{block "search_common" .}}{{end}}

Voir le fichier

@ -110,7 +110,7 @@
<option value="{{ $id_cat }}">{{call $.T $name_cat }}</option>
{{ end }}
</select>
<input class="cb_action" type="number" name="owner_id" style="width: 6em;" placeholder="{{ call $.T "owner_id_placeholder" }}">
<input class="cb_action" type="number" name="owner_id" style="width: 10em;" placeholder="{{ call $.T "owner_id_placeholder" }}">
<select class="cb_action" name="status_id">
<option value="">{{call $.T "torrent_status"}}</option>
<option value="5">{{ call $.T "torrent_status_blocked" }}</option>

Voir le fichier

@ -72,9 +72,9 @@
{{end}}
</table>
<div class="torrent-buttons">
<a href="{{.Magnet}}" class="form-input btn-green"><div class="icon-magnet"></div> {{call $.T "magnet_link"}}</a>
<a href="{{.Magnet}}" class="form-input btn-green download" style="float:left;height: auto;margin-right: 0.5em;"><div class="icon-magnet"></div> {{call $.T "magnet_link"}}</a>
{{ if ne .TorrentLink ""}}
<a href="{{.TorrentLink}}" class="form-input"><div class="icon-floppy"></div> {{call $.T "torrent_file"}}</a>
<a href="{{.TorrentLink}}" class="form-input download" style="float:left;height: auto;"><div class="icon-floppy"></div> {{call $.T "torrent_file"}}</a>
{{end}}
{{ if gt $.User.ID 0}}
<a id="reportPopup" href="#" class="form-input">{{ call $.T "report_btn" }}</a>
@ -86,6 +86,7 @@
<a href="{{ genRoute "user_torrent_edit" }}?id={{ .ID }}" class="form-input btn-orange">{{ call $.T "edit" }}</a>
{{end}}
{{end}}
<div style="clear:both;"></div>
</div>
<p class="torrent-hr">{{call $.T "description"}}</p>
{{ if ne .Description ""}}