From 6209dfbfb24263c7509ca7c0b1a564572779a400 Mon Sep 17 00:00:00 2001 From: kilo Date: Wed, 30 Aug 2017 13:29:52 +0200 Subject: [PATCH] Load query.js in base as theme toggler JS requires it (#1449) * Have to include query.js in very page because of theme toggler * Remove query from other files * remove query * Remove kebab * better color --- public/css/classic.css | 2 +- templates/layouts/partials/base.jet.html | 1 + templates/site/torrents/listing.jet.html | 1 - templates/site/torrents/upload.jet.html | 1 - templates/site/torrents/view.jet.html | 1 - 5 files changed, 2 insertions(+), 4 deletions(-) diff --git a/public/css/classic.css b/public/css/classic.css index d20dfe84..12b3f04d 100644 --- a/public/css/classic.css +++ b/public/css/classic.css @@ -114,7 +114,7 @@ td.tr-le, .error-text { } .alt-colors tr:nth-child(odd) { - background: hsla(231, 8%, 73%, 0.2); + background: hsla(231, 6%, 80%, 0.2); } /* Original Nyaa colors, do NOT change! */ diff --git a/templates/layouts/partials/base.jet.html b/templates/layouts/partials/base.jet.html index f7dd4930..bb746af5 100644 --- a/templates/layouts/partials/base.jet.html +++ b/templates/layouts/partials/base.jet.html @@ -91,6 +91,7 @@ + {{block footer_js()}}{{end}} diff --git a/templates/site/torrents/listing.jet.html b/templates/site/torrents/listing.jet.html index c250b976..6545261c 100644 --- a/templates/site/torrents/listing.jet.html +++ b/templates/site/torrents/listing.jet.html @@ -173,7 +173,6 @@ {{end}} {{ block footer_js()}} - diff --git a/templates/site/torrents/upload.jet.html b/templates/site/torrents/upload.jet.html index d46ae96a..be745df4 100644 --- a/templates/site/torrents/upload.jet.html +++ b/templates/site/torrents/upload.jet.html @@ -183,7 +183,6 @@ {{end}} {{ block footer_js()}} - diff --git a/templates/site/torrents/view.jet.html b/templates/site/torrents/view.jet.html index 282fd54e..87084998 100644 --- a/templates/site/torrents/view.jet.html +++ b/templates/site/torrents/view.jet.html @@ -274,7 +274,6 @@ {{ block footer_js()}} {{ if User.ID > 0 }} -