From 2f1549dec22ef536dc2f1b21da1bdf6103d4049b Mon Sep 17 00:00:00 2001 From: kilo Date: Fri, 1 Sep 2017 06:54:48 +0200 Subject: [PATCH 01/10] Add title when hovering comment count to indicate that it is a comment count --- templates/site/torrents/listing.jet.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/site/torrents/listing.jet.html b/templates/site/torrents/listing.jet.html index 6545261c..665938ff 100644 --- a/templates/site/torrents/listing.jet.html +++ b/templates/site/torrents/listing.jet.html @@ -79,7 +79,7 @@ {{ if len(.Comments) > 0 }} - + {{len(.Comments)}} {{ end }} From 3b4197aa15e85f8237a2dd58804eebf2688019ae Mon Sep 17 00:00:00 2001 From: kilo Date: Fri, 1 Sep 2017 06:56:32 +0200 Subject: [PATCH 02/10] Same but for JS torrents --- templates/layouts/partials/torrent_item.jet.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/layouts/partials/torrent_item.jet.html b/templates/layouts/partials/torrent_item.jet.html index 98efe6af..bea971c7 100644 --- a/templates/layouts/partials/torrent_item.jet.html +++ b/templates/layouts/partials/torrent_item.jet.html @@ -29,7 +29,7 @@ Templates.Add("torrents.item", function(torrent) { // {{end}} var languages = "" var colspan = (torrent.comments.length == 0 ? ` colspan="2"` : "" ) - var commentTd = ((torrent.comments.length > 0) ? `` + torrent.comments.length + `` : "") + var commentTd = ((torrent.comments.length > 0) ? `` + torrent.comments.length + `` : "") var dlLink = (torrent.torrent != "" ? `
` : "") if (torrent.languages[0] != "") { From 99dcbc655559d21f314b3c22d4bb47b49dfd1f14 Mon Sep 17 00:00:00 2001 From: kilo Date: Fri, 1 Sep 2017 06:56:42 +0200 Subject: [PATCH 03/10] Same but for preview torrents --- templates/layouts/partials/torrent_item_upload.jet.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/layouts/partials/torrent_item_upload.jet.html b/templates/layouts/partials/torrent_item_upload.jet.html index c3b34373..4129bb35 100644 --- a/templates/layouts/partials/torrent_item_upload.jet.html +++ b/templates/layouts/partials/torrent_item_upload.jet.html @@ -25,7 +25,7 @@ Templates.Add("torrents.item", function(torrent) { // {{end}} var languages = "" var colspan = (torrent.comments.length == 0 ? ` colspan="2"` : "" ) - var commentTd = ((torrent.comments.length > 0) ? '' + torrent.comments.length + '' : "") + var commentTd = ((torrent.comments.length > 0) ? `` + torrent.comments.length + `` : "") var dlLink = (torrent.torrent != "" ? '
' : "") if (torrent.languages[0] != "") { From 1e7f81f2a14220a31d84efe2cb97ae3d3ec9ac6b Mon Sep 17 00:00:00 2001 From: kilo Date: Fri, 1 Sep 2017 06:57:30 +0200 Subject: [PATCH 04/10] Better border color for user-avatar on classic --- public/css/classic.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/css/classic.css b/public/css/classic.css index 12b3f04d..c5e49c38 100644 --- a/public/css/classic.css +++ b/public/css/classic.css @@ -69,7 +69,7 @@ select:after { .header .h-user .user-avatar { background: #111; - border-color: #444; + border-color: #100e0e; } table thead { From 1362a12432ebe7f3093a11edfc7937d0453c3845 Mon Sep 17 00:00:00 2001 From: kilo Date: Fri, 1 Sep 2017 07:15:03 +0200 Subject: [PATCH 05/10] Remove inline styling --- templates/site/torrents/view.jet.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/site/torrents/view.jet.html b/templates/site/torrents/view.jet.html index 87084998..8804eeaa 100644 --- a/templates/site/torrents/view.jet.html +++ b/templates/site/torrents/view.jet.html @@ -74,25 +74,25 @@ {{ if Torrent.AnidbID > 0 }} {{ T("tagtype_anidbid") }}: {{ Torrent.AnidbID }} - + {{end}} {{ if Torrent.VndbID > 0 }} {{ T("tagtype_vndbid") }}: {{ Torrent.VndbID }} - + {{end}} {{ if Torrent.VgmdbID > 0 }} {{ T("tagtype_vgmdbid") }}: {{ Torrent.VgmdbID }} - + {{end}} {{ if Torrent.Dlsite > 0 }} {{ T("tagtype_dlsite") }}: {{ Torrent.Dlsite }} - + {{end}} From 960b009c83c24f383ec31857ae92f11e74d62b04 Mon Sep 17 00:00:00 2001 From: kilo Date: Fri, 1 Sep 2017 07:17:07 +0200 Subject: [PATCH 06/10] Better position of searchbox on accepted tags --- public/css/main.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/public/css/main.css b/public/css/main.css index 614dec84..c3e71472 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -1796,13 +1796,23 @@ span.tag-text { padding: 0 3px; display: inline-block; } +.accepted span.tag-text { + margin-right: 3px; +} span.tag { border-radius: 1rem; box-shadow: 0px 0px 1px 0px #636363; } -.tag.accepted { +.tag.accepted a{ + margin-right: 1px; +} +.tag.accepted i{ + padding: 0px 0px 3px 0px; +} +.tag.accepted .icon-search:before { + margin-left: 0; } .tag.pending { From df827378244cfa38c0275a7ba82392f3939c98f3 Mon Sep 17 00:00:00 2001 From: kilo Date: Fri, 1 Sep 2017 07:17:55 +0200 Subject: [PATCH 07/10] display: none on these inputs that do nothing at the moment but will in the future --- templates/site/torrents/upload.jet.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/site/torrents/upload.jet.html b/templates/site/torrents/upload.jet.html index be745df4..1b24d2ae 100644 --- a/templates/site/torrents/upload.jet.html +++ b/templates/site/torrents/upload.jet.html @@ -162,7 +162,7 @@

{{ T("description_markdown_notice")}}

-
+