From 99f93a83be396d3efd6a9ddc0dcc0d903b98faf0 Mon Sep 17 00:00:00 2001 From: kilo Date: Sat, 12 Aug 2017 08:36:44 +0200 Subject: [PATCH] Remove unused stuff (#1365) * remove no-torrent class * remove no-torrent from css * remove no-torrent from preview JS * remove no-torrent from auto-updating JS --- public/css/main.css | 3 --- templates/layouts/partials/torrent_item.jet.html | 2 +- templates/layouts/partials/torrent_item_upload.jet.html | 2 +- templates/site/torrents/listing.jet.html | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/public/css/main.css b/public/css/main.css index 58b3cb0e..442a83b4 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -509,9 +509,6 @@ th { text-align: left; padding: 0 2px!important; } -.tr-links.no-torrent { - width: 27px!important; -} .tr-cs { width: 15px; diff --git a/templates/layouts/partials/torrent_item.jet.html b/templates/layouts/partials/torrent_item.jet.html index b85c494a..98efe6af 100644 --- a/templates/layouts/partials/torrent_item.jet.html +++ b/templates/layouts/partials/torrent_item.jet.html @@ -52,7 +52,7 @@ Templates.Add("torrents.item", function(torrent) { ` + Templates.EncodeEntities(torrent.name) + ` `+ commentTd +` - +
`+ dlLink +` diff --git a/templates/layouts/partials/torrent_item_upload.jet.html b/templates/layouts/partials/torrent_item_upload.jet.html index b337b8c3..c3b34373 100644 --- a/templates/layouts/partials/torrent_item_upload.jet.html +++ b/templates/layouts/partials/torrent_item_upload.jet.html @@ -43,7 +43,7 @@ Templates.Add("torrents.item", function(torrent) { ` + Templates.EncodeEntities(torrent.name) + ` `+ commentTd +` - +
`+ dlLink +` diff --git a/templates/site/torrents/listing.jet.html b/templates/site/torrents/listing.jet.html index 35df5fb8..de8cdd80 100644 --- a/templates/site/torrents/listing.jet.html +++ b/templates/site/torrents/listing.jet.html @@ -84,7 +84,7 @@ {{len(.Comments)}} {{ end }} - +