From 18f0f794903174854297f76b98fc0f72d1ba6e69 Mon Sep 17 00:00:00 2001 From: kilo Date: Fri, 14 Jul 2017 19:12:04 +0200 Subject: [PATCH 01/11] Update flags.jet.html --- templates/layouts/partials/helpers/flags.jet.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/layouts/partials/helpers/flags.jet.html b/templates/layouts/partials/helpers/flags.jet.html index 4b298d22..10fc13ae 100644 --- a/templates/layouts/partials/helpers/flags.jet.html +++ b/templates/layouts/partials/helpers/flags.jet.html @@ -2,9 +2,8 @@ {{ if isset(languages) }} {{ range _, language := languages }} - - + {{ end }} {{ end }} -{{ end }} \ No newline at end of file +{{ end }} From c8f4fc21366f8775f76a55f5d74985a3d13362d0 Mon Sep 17 00:00:00 2001 From: kilo Date: Fri, 14 Jul 2017 19:13:08 +0200 Subject: [PATCH 02/11] Update main.css --- public/css/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/css/main.css b/public/css/main.css index 48775132..b5316b1d 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -152,7 +152,7 @@ select.form-input { .language span.input-group { display: inline-block; } .language .input-group label { margin-bottom: 1px; } -.language .input-group input { margin-right: 0; } +.language .input-group input { margin-right: 4px; } .not-important { font-size: 9pt; From 5004a4b49a3c36d3554e6036921bc432f4bf05fd Mon Sep 17 00:00:00 2001 From: kilo Date: Fri, 14 Jul 2017 19:32:05 +0200 Subject: [PATCH 03/11] Update main.css --- public/css/main.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public/css/main.css b/public/css/main.css index b5316b1d..b32bddff 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -332,7 +332,7 @@ th { border-bottom-width: 2px; } .tr-cat { width: 90px; text-align: center; } .tr-flag { white-space: initial!important; } .tr-name { width: auto; text-align: left; white-space: normal; word-break: break-word; font-weight: bold; } -.tr-links { width: 66px; } +.tr-links { width: 66px; overflow:initial;' } .tr-cs { width: 5px; overflow: initial; text-overflow: initial; } .tr-cs .comment-icon { margin-bottom: 4px; } .tr-size { width: 90px; } @@ -453,8 +453,9 @@ html, body { width: 100%; height: auto; } - .tr-cat { width: 77px; } - .form-input.refine { display: none;} + .tr-cat { width: 73px; } + .form-input.refine { display: none; } + .tr-links { width: 50px; } } @media (maw-width: 520px) { From f0e49146e406b88fe6f0eae6efc2399bada41546 Mon Sep 17 00:00:00 2001 From: kilo Date: Fri, 14 Jul 2017 19:51:22 +0200 Subject: [PATCH 04/11] identical height as live (aesthetical) --- public/css/main.css | 1 + 1 file changed, 1 insertion(+) diff --git a/public/css/main.css b/public/css/main.css index b32bddff..330c1da9 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -630,6 +630,7 @@ input#show-filelist:checked ~ #filelist { width: 100%; } tr.torrentinfo { min-height: 38px; } +thead.torrentinfo { min-height: 40px; } .tr-filelist { --nest-level: 0; } From 73606928c6a40be8929989374892f86febc4d29f Mon Sep 17 00:00:00 2001 From: kilo Date: Fri, 14 Jul 2017 19:54:40 +0200 Subject: [PATCH 05/11] useless condition --- templates/site/user/torrents.jet.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/site/user/torrents.jet.html b/templates/site/user/torrents.jet.html index fe694d48..a4213a88 100644 --- a/templates/site/user/torrents.jet.html +++ b/templates/site/user/torrents.jet.html @@ -12,7 +12,6 @@ {{ T("date")}} {{ range i, t := UserProfile.Torrents }} - {{ if DisplayTorrent(t, User) }} {{ torrent := t.ToJSON() }} @@ -53,7 +52,6 @@ {{torrent.Date}} {{end}} - {{end}}