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

9 commits

Auteur SHA1 Message Date
kilo 03b1dd91d1 Add indonesian flag (#1357)
* Add indonesia class

* Add indonesia class to flag.min

* Need to delete flags.png before uploading new one

* Upload flags.png with indonesia flag

* Fix wrong classname

* Fix wrong class name2

* better indonesian & multiple flags
2017-08-06 01:34:29 +02:00
kilo 511d074e84 it works merge pls (#1204)
* remove custom_flag.css

* remove ' that had nothing to do here

* replace sukebei variable to boolean

* fix ? operator & variable name

* attempt at fixing visual cues for anonymous torrents

* Update torrents.jet.html

* add missing ,

* useless code if user logged off so moving that

* add it back here and check if logged in

* should work almost properly now

* same here

* flag-other invisible

* Update kilo.js

* Update upload.jet.html

* should work very well now

* same here

* Delete categories.png

* Add files via upload

* Update main.css

* Update kilo.js

* Update upload.jet.html

* Update kilo.js

* Update torrents.jet.html

* proper behavior for trusted people

* different flag form id

* add id

* add language name in an span

* make that span invisible =)

* Update flags.jet.html

* Update upload.jet.html

* Update kilo.js

* whoever read this is a faggot

* Update upload.jet.html
2017-07-15 21:41:57 +02:00
kilo fca95548fc Update flags.min.css 2017-07-15 13:01:41 +02:00
kilo 2e06e49ec7 fix brazil missing a "px" 2017-07-15 12:53:18 +02:00
kilo 787f1d4639 up to date flag.min.css
was missing some changes when compared to flag.css
2017-07-15 12:48:31 +02:00
akuma06 bd71ca6d41 Fix Hant css flag 2017-07-13 13:33:37 +02:00
akuma06 f8f6758ffe Fixing checkbox label flags 2017-07-12 12:04:20 +10:00
kipukun 5bc922781c Frontend aesthetic (#1015)
* Make view page not shitty

* View page <td> now ellipses on overflow

* Make flags not look shitty

* Updated mufuyu sound

* Updated multiple flag

* Updated other flag (thanks anon)
2017-06-17 08:49:57 +10:00
Ramon Dantas d8e17478f8 Country flags (language) for torrents. (#970)
* Add flags for torrents

Add a new field, .Language, to the Torrent model, and a new package,
torrentLanguages, which maps languages to flags. Added also a flag icon pack
from googlei18n/region-flags, with (mostly) public domain flags from Wikipedia.

* Optimize flags

* Use FlagSprites CSS instead of .png files

* Only use flags for languages we support

* Add test for CSS flags

Ensure that we have all the flags for the languages we support.

* Add AdditionalLanguages field to config

This allows us to support additional languages for new uploaded torrents,
even if we have no translation for it.

* Minor CSS fix

* Add "other" and "multiple" torrent languages

Also removed the TorrentLanguage struct, as it wasn't much useful.

* Fix test

* Add colspan=2 to category when language is empty

Also hide the language column if empty.

* Add lang field to search.

Hopefully it works with Elasticsearch as well, but I haven't tested
(lol Java)

* Add language field to ES index and settings

* Add language column to JS template

* Add keyword type to language ES field

* Remove 'raw' from keyword

* Set "simple" analyzer on language

* Document .Language field on Torrent model
2017-06-12 09:14:26 +10:00