Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Graphe des révisions

73 commits

Auteur SHA1 Message Date
Ramon Dantas
1968d2ae54 Move translation func to template variables (#652)
* Add T field to template variables

* Remove languages.SetTranslationFromRequest

* Add Tfunc on handlers

* Remove T and Ts from template_functions

* Update templates

Change the templates to use the local Tfunc, instead of the global one.
Also changed the signature of the fields on template_variables.go, so that
they return a template.HTML to avoid escaping problems.

* Remove unnecessary variable
2017-05-21 08:38:28 +10:00
sfan5
a3fa6df938 Remove bugs (#643)
* Fix S/L/D columns wasting huge amounts of space

Partially reverts 0c9cdfa8bf.

* Move last scrape below seed-bar

Also fixes the very misleading indentation

* Show category name on view page too

* Fix fucked up login page (fixes #640)

* Fix empty page on login w/o pass (fixes #634)

* Fix incorrectly colored error text in day mode

* Better readable footer in night mode

* Prepare having old uploader names on sukebei and various fixes for sukebei

* Different HTML title for sukebei
2017-05-20 20:45:27 +10:00
kipukun
7f05f84649 Uncomment night switcher lmao (#626)
* Uncomment night switcher lmao

* why was it hidden on medium what
2017-05-19 17:30:59 +10:00
kipukun
13375411ad Make comments extra column + search bar doesn't freak out anymore (#621)
* Make comments extra column

* Fixed #595 w00t

* Cleanups and fixes (#623)

* Keep naming consistent

* Remove execute bit from files

* Default to DefaultLanguage (without passing it to the func)

* Remove commented code

* Use Content-Type to get language json

* Lines of 400 characters is dumb

* Update new repo in README

* Remove useless script since we fallback to a defaultlang

* Fix fallback language panic

* Fix uninitialized MaxPerPage when not in querystr

The issue was that the req.MaxPerPage was not set (default to 0) when
the query string didn't include "max". This makes the server query the
whole db since the resulting limit is 0.

* Fix creating empty torrents (only worked once)

* Lines of 400 characters is still dumb

* Update ja-jp.all.json (#622)

* Update README.md

* Make comments extra column

* Fixed #595 w00t

* Comment out comments for now
2017-05-19 15:36:32 +10:00
kipukun
1e863084d3 Removed IRC link from navbar 2017-05-17 21:39:03 -04:00
akuma06
63844f0d4b Fix #590 2017-05-17 23:00:50 +02:00
sfan5
89b2b9afdb SRI (Subresource Integrity) hash for jquery 2017-05-17 16:57:05 +02:00
yiiT
c9c1d06cd0 Add Markdown Editor for torrent description (#572) 2017-05-17 20:26:28 +10:00
akuma06
297ee531f8 Fix lang in html tag
Added a new translation string in all translations "language_code"
Issue #545
2017-05-17 00:27:55 +02:00
sfan5
cb455113cc Various fixes (#521)
* Re-add old uploader name to view page

* Update zh-CN translation (fixes #519)

* Nicer text boxes in night mode (closes #515)

* Fix max results defaulting to 5 (fixes #488)

* Add link back to nyaa on sukebei (fixes #255 and #437)

* Fix visual bug with pt-BR translation (fixes #427)
2017-05-15 21:55:16 +10:00
SpamNeko
dc32f041e1 Add sorting to table headers, delet advanced search 2017-05-13 18:14:51 +01:00
sfan5
3116274990 changes (#426)
* Hide change language footer when logged in

* Force people to select a report reason

* Don't ask for confirmation before deleting a torrent report

* Small cleanup of modpanel templates

* Fix modpanel comment list

* Fix missing "Delete" translation in modpanel

* Update German translation

* A few updates to the FAQ
2017-05-13 21:57:57 +10:00
ElegantMonkey
5dcd3892f4 Add dropdown to the bottom of the page (needs JS) 2017-05-12 21:01:17 -03:00
ElegantMonkey
dfd9caeb31 Add language selector without login 2017-05-12 19:17:34 -03:00
sfan5
5bfdf8b093 Revert design changes (????)
This reverts commit d2b2ce5b8e and 149b2bdf45.
2017-05-12 12:47:01 +02:00
PantsuDev
5c048c7726 Merge pull request #389 from ewhal/akuma06-fix-design
WTF design
2017-05-12 20:25:39 +10:00
akuma06
ad2b4acfe3 WTF design
Too much white before listing
Who had the idea to use ul for the content Oo
And please, no br when it's not in paragraph
2017-05-12 11:57:45 +02:00
yiiTT
6bc39d70fe Update logo CSS 2017-05-11 22:59:39 -05:00
yiiTT
d9b2348734 Update Logo 2017-05-11 22:40:55 -05:00
tomleb
34933e0b82 Use template for night theme switcher inline js 2017-05-11 17:09:53 -05:00
tomleb
b0982f07a6 Change color for bg-danger and fix night theme flickering issue (#370)
* Change color for bg-danger

* Fix annoying flickering with night theme

* use new class instead of overriding bootstrap's
2017-05-11 16:54:53 -05:00
ed
8bff839381 fix </a/>
nice meme
2017-05-10 22:31:08 +02:00
wranai
298606507a search box for google 2017-05-10 20:35:56 +02:00
kipukun
0fa82fc3a3 yay colors look better on night mode!!! 2017-05-09 18:55:07 -04:00
kipukun
54a8dc480e make advanced search collapse 2017-05-09 18:13:39 -04:00
akuma06
622fef4c85 Added Footer 2017-05-09 18:00:20 +02:00
ripdog
93206d2955 No longer use img elements changed by js for the night mode toggle button. Use a css background on the <a>. Less JS is better JS. 2017-05-09 19:09:22 +12:00
akuma06
ffc3acfc25 Merge pull request #187 from kipukun/master
Fix theme switcher button mobile
2017-05-08 23:22:22 +02:00
kipukun
74b74b4d94 Fix theme switcher button mobile 2017-05-08 17:19:50 -04:00
ElegantMonkey
b896d8d326 Fix indentation 2017-05-08 15:02:13 -03:00
ElegantMonkey
c960c928bd Extract strings from home and index 2017-05-08 14:56:17 -03:00
akuma06
b0184e94db Fixed badge user in nav 2017-05-08 15:37:50 +02:00
Eliot Whalan
2d6f1837da Add dropdown menu for login/signup/irc 2017-05-08 17:13:20 +10:00
akuma06
9bc75c86f3 Added logged badge + new User variable in each template variables 2017-05-08 01:46:30 +02:00
sfan5
b0f5421d01 Revert "Inline style-switching JS into <head>" (re-do) 2017-05-07 23:43:09 +02:00
sfan5
6cf53b2a64 Revert "Revert "css fixes""
This reverts commit 7b86e3af94.
2017-05-07 23:40:34 +02:00
akuma06
d3b8596f2a Revert "css fixes" 2017-05-07 23:11:26 +02:00
sfan5
d099a77c88 Inline style-switching JS into <head> 2017-05-07 21:36:59 +02:00
sfan5
a3e0cc0503 Fix accidental duplicate css 2017-05-07 21:28:35 +02:00
sfan5
f5ae6caede Cleanup night mode code and move switcher to top right 2017-05-07 20:49:59 +02:00
reds
97630fe167 Added night toggle button 2017-05-07 17:19:37 +01:00
akuma06
5bafc6c0b5 Fixed register page 2017-05-07 03:00:05 +02:00
Eliot Whalan
e091320a68 Merge pull request #122 from sfan5/favi
Better favicon crop
2017-05-07 09:27:44 +10:00
bakape
8e15b211df Revert quicktemplate search template 2017-05-07 02:20:13 +03:00
sfan5
6591d92e53 Better favicon crop 2017-05-07 00:54:44 +02:00
bakape
c2bdfa784a Add missing search button 2017-05-07 01:49:27 +03:00
bakape
60292a624b Fix missing search bar 2017-05-07 01:45:59 +03:00
Eliot Whalan
4d2fc1a88d Merge pull request #114 from redsPL/master
Changed night-mode item colors(remake, trusted, aplus)
2017-05-07 08:04:33 +10:00
bakape
a16caa0556 Port _search.html to quicktemplate 2017-05-07 00:21:16 +03:00
idontusegithubkek
5a9f6d3a95 Change Fap to the end of the navbar
It just doesn't feel right for Fap to be anywhere besides the rightmost position
2017-05-06 14:04:50 -05:00