Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

removal of view things to try to get it working

Cette révision appartient à :
kilo 2017-07-15 08:53:47 +02:00 révisé par GitHub
Parent 64be36b944
révision dad6c3edaf

Voir le fichier

@ -13,7 +13,7 @@
<div class="torrent-preview-table" style="display: none;"><center><h3 style="margin-bottom: 3px;">Preview your torrent</h3></center>
<table style="border: 3px solid #dfdeeb;">
<thead class="torrent-info table-torrent-thead{{ if User.IsTrusted() }} trusted{{end}}">
<thead class="torrent-info table-torrent-thead">
<tr>
<th class="tr-cat">Category</th>
<th class="tr-name">Name<span class="sort-arrows"><span class="sortarrowleft sortarrowdim"></span><span class="sortarrowdim"></span></span></th>
@ -29,7 +29,7 @@
<tbody id="torrentListResults">
<tr class="torrent-info">
<td class="tr-cat home-td">
<div class="nyaa-cat {{ if Sukebei }}sukebei-cat-11{{else}}nyaa-cat-5{{end}}">
<div class="nyaa-cat nyaa-cat-5">
<a title="Literature - English-translated" class="category table-torrent-category"></a>
<a><img src="/img/blank.gif" class="flag flag-other table-torrent-flag"></a>
</div>
@ -105,7 +105,7 @@
</div>
{{end}}
{{ block footer_js()}}
<script type="text/javascript">var Sukebei = {{ Sukebei }}; var UserTrusted = {{ User.IsTrusted() }};
<script type="text/javascript">var Sukebei = 0; var UserTrusted = 1;
document.getElementsByClassName("torrent-preview-table")[0].display = "block";
document.getElementsByClassName("table-torrent-date")[0].innerText = new Date(Date.now()).toLocaleString(document.getElementsByTagName("html")[0].getAttribute("lang"), { year: "numeric", month: "short", day: "numeric" });