Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/controllers
kilo bda181ee54 Add toggle dark theme for non-JS users (#1381)
* Add themeToggle handler to router.go

* Create themeToggle/router.go & ThemeToggle.go

* Add link to /dark in footer, remove display = none on toggle dark mode

* Remove JS that ordered toggle dark mode link to show as it is now constantly visible

* Rollback to fix errors

* Add some comments

* Create redirectUrl variable & set it's content then use it to redirect user

* Remove useless log

* Remove usage of fmt

* Add redirect get parameter to toggle link

* Add another url for toggleTheme

* wooo

* Update base.jet.html

* Update base.jet.html
2017-08-21 10:48:17 +10:00
..
activities Controllers are now separated 2017-07-16 17:14:21 +02:00
api Possibility to add tags from edit panel + upload 2017-08-01 23:38:13 +02:00
captcha Controllers are now separated 2017-07-16 17:14:21 +02:00
databasedumps Controllers are now separated 2017-07-16 17:14:21 +02:00
faq Controllers are now separated 2017-07-16 17:14:21 +02:00
feed Fix incorrect rfc date format 2017-08-03 12:49:06 +10:00
middlewares Tags no-js works + less sql in Development mode + debug tool 2017-07-31 03:15:37 +02:00
moderator fix redirection after announcement delete 2017-08-03 03:55:44 +02:00
oauth OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
pprof Controllers are now separated 2017-07-16 17:14:21 +02:00
report Controllers are now separated 2017-07-16 17:14:21 +02:00
router Fix categories on sukebei 2017-07-22 02:41:28 +02:00
search Add "sort by" inputs in refine on low res (#1369) 2017-08-14 15:56:45 +10:00
settings Fix most go lint warnings 2017-07-23 15:50:18 +10:00
static Renaming static.go to router.go for consistency 2017-07-16 17:19:40 +02:00
themeToggle Add toggle dark theme for non-JS users (#1381) 2017-08-21 10:48:17 +10:00
torrent Possibility to add tags from edit panel + upload 2017-08-01 23:38:13 +02:00
upload Fix filesize bug 2017-07-29 12:48:43 +02:00
user Fix #1251 2017-07-20 20:21:57 +02:00
router.go Add toggle dark theme for non-JS users (#1381) 2017-08-21 10:48:17 +10:00