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

30 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
PantsuDev
a931b47bff beautify assets 2017-07-23 15:50:18 +10: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
kilo
54ca88ed0d Add files via upload 2017-07-14 21:48:04 +02:00
kilo
256516b01b Delete custom_flags.css 2017-07-14 21:47:46 +02:00
kilo
a74bb9cfbf Delete flag_multiple.png 2017-07-14 21:47:40 +02:00
kilo
3da444c007 Delete flag_catalan.png 2017-07-14 21:47:34 +02:00
kilo
3d29c720cf Update flags.css 2017-07-14 21:47:20 +02:00
akuma06
bd71ca6d41 Fix Hant css flag 2017-07-13 13:33:37 +02:00
kilo
fed2738d92 Add files via upload 2017-07-13 00:40:12 +10:00
kilo
a2bdc40370 Delete flag_catalan.png 2017-07-13 00:40:12 +10:00
akuma06
f8f6758ffe Fixing checkbox label flags 2017-07-12 12:04:20 +10:00
akuma06
c564301e35 Update css for refactor 2017-07-12 12:04:20 +10:00
kilo
e6847595cf Update flags.css 2017-07-12 12:04:20 +10:00
kilo
12536c9c68 even BETTER better flag 2017-07-12 12:04:20 +10:00
kilo
0319623355 Delete flag_catalan.png 2017-07-12 12:04:20 +10:00
kilo
7088b353e4 better flag 2017-07-12 12:04:20 +10:00
kilo
af2e21058a Delete catalan.png 2017-07-12 12:04:20 +10:00
kilo
1dd824384e catalan flag 2017-07-12 12:04:20 +10:00
kilo
a8543f7e3f Update custom_flags.css 2017-07-12 12:04:20 +10:00
kilo
384a1b7318 Update custom_flags.css 2017-07-12 12:04:20 +10:00
kilo
1ed125a40f not used since long ago 2017-07-12 12:04:20 +10:00
kilo
8fbeeb81d8 Update custom_flags.css 2017-07-12 12:04:20 +10:00
kilo
fae254c404 <kilo> u want me to re-make the PR but on the refactor branch, right? (#1087)
* margin-top removal

* flag-other background: none

* torrent language on other - upload.htl

* torrent language edit.html

* torrent language admin edit
2017-06-29 22:16:21 +10:00
kilo
a47f89cd0b Make flags overlap category icon (#1059)
* Prettier flag position

* flag overlap category icon

* HTML changes

* fix css that didn't apply properly & colspan not always being there

* Update main.css

* Update home.html

* Update home.html

* Update main.css

* Update main.css
2017-06-24 09:05:21 +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