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

178 commits

Auteur SHA1 Message Date
kilo
9392c99f0f Apply max-width/height to all description images
Max-width & max-height only applied to images inside another element in the torrent description. It's fine because description images seem to always be in a \<p\>\<p/\>, but what if they weren't?
The max-width & max-height now apply to all images in the torrent description (.torrent-info-box img) instead of one in another element (.torrent-info-box > * > img), that way no image may ever go outside the bounds! Not on it's own at least.
2017-05-29 16:00:01 +02:00
akuma06
33707e965c Merge branch 'dev' into dev 2017-05-29 14:57:55 +02:00
Duckbitts
89a19d909f Update main.css 2017-05-29 15:11:00 +03:00
akuma06
dd03550c66 Keeping Mascot hidden
Should fix #808
* Mascot hide is kept while navigating with a localstorage value
2017-05-29 13:12:05 +02:00
akuma06
f5f240f2d6 A litle fix when there is no file found in torrents 2017-05-29 12:49:26 +02:00
akuma06
4d7453dfb9 Fix for long comments
Just added word-break, padding-right and a justified text for comments.
2017-05-29 12:39:07 +02:00
kipukun
70bf313353 sukebei but it isn't tested WOO (#807)
* sukebei but it isn't tested WOO

* actually make it work lmao
2017-05-29 16:23:46 +10:00
Manaaja
dc5850a7c2 Fixing the mascot
Added a class for the "Mascot" button. Added some pointer-events to make the "Mascot" button clickable when the window is narrow enough to make the mascot image overlap the button.
2017-05-28 22:14:38 +03:00
kilo
addf8ff847 Add max image width & height in torrent description
Big images were broking it and going outside of it!
2017-05-28 15:51:20 +02:00
akuma06
c533f5b398 Fixing for #791
Added a padding-right 20px in css
Added a js event listener on search box to dien it on focus and reduce
it on blur
2017-05-28 02:23:47 +02:00
kipukun
7618041182 Move footer in front of mascot 2017-05-27 18:18:45 -04:00
kipukun
425bfb4ef7 Small fix to see more torrents button's right width 2017-05-27 18:18:45 -04:00
kipukun
7007755166 Make account settings not look like dogshit 2017-05-27 18:18:45 -04:00
kipukun
2f78f61ade Fix mascot using wrong mp3 source 2017-05-27 18:18:45 -04:00
kipukun
05701f1c38 Fix dates and user torrent table 2017-05-27 18:18:44 -04:00
kipukun
cdd6438e88 Fix pagination borders 2017-05-27 18:18:44 -04:00
Steindór
ab2d4efead Account theme switcher (Pls merge) (#750)
* added pagination

* cleanup

* indentation fix

* fix

* Loads theme from context

* Basic theme switching working

* working properly

* Fuck golint tbqh

* united language and theme into one settings page

* made the settings page a little nicer

* fixed it so it works properly now

* removed parts of inline js and fixed bug

* removed remains of other theme switching method

* fixed very minor bug

* fix
2017-05-27 18:18:43 -04:00
MMP0
f338cab4fe Fix torrent info tables (#782)
* Fix torrent info tables

* Fix torrent info tables

* Update view.html

* Update main.js

* Update view.html

* Update view.html

* Update view.html

* Update main.css

* Update main.css

* Update view.html

* Update main.css
2017-05-27 22:14:14 +10:00
Eliot Whalan
db50865d48
optipng small logo 2017-05-27 18:14:47 +10:00
MMP0
e528179ea1 Fix layout of Markdown editor (#779)
* Fix layout of Markdown editor

* Update upload.html
2017-05-27 17:17:49 +10:00
Steindór
9286653905 Nav fixes (#766)
* Update README.md

Added a link to the db dump and IRC channels.

* Minor fix

* Update README.md

* disabling email links

* Killed github autolinking

* Update README.md

* Removed database link

* fixed a FF only bug with the carets

* added a static size to pagination

* worked on the pagination widget

* fixed the arrow buttons too

* fixed appearance on pages over 1000
2017-05-27 17:16:43 +10:00
sfan5
dfaabdc4b2 CSS fixes (#764)
* Revert status indication colors to original nyaa ones (others look washed out)

* Move "no files" comment into filelist <div> where it belongs

* Fix alignment issue on view page

* Make infohash monospace

* Make more strings translatable
2017-05-27 11:55:46 +10:00
kipukun
35d01112f8 Remove alt rows on other themes as well 2017-05-26 15:17:09 -04:00
kipukun
8eabd52c34 make pagination in front of mascot 2017-05-26 12:40:07 -04:00
kipukun
bc6cfaf48f actually fix mascot 2017-05-26 12:37:27 -04:00
kipukun
aaa2dce4d3 mascot works yay 2017-05-26 12:31:14 -04:00
kipukun
3a6aa1f71a fix view template more aaaaaaaa 2017-05-26 12:31:14 -04:00
kipukun
a72c4cc437 Fix view page overflowing, also img in description scales 2017-05-26 12:31:14 -04:00
kipukun
9bc3d3c907 Fix table head color and minor alignments 2017-05-26 12:31:14 -04:00
kipukun
533b90cd7a Remove alternating torrent row's background 2017-05-26 12:31:14 -04:00
kipukun
e953283bcf fix the fucking icons christ almighty 2017-05-26 12:31:14 -04:00
Steindór
5ae6a4282b Minor css fixes (#763)
* Update README.md

Added a link to the db dump and IRC channels.

* Minor fix

* Update README.md

* disabling email links

* Killed github autolinking

* Update README.md

* Removed database link

* fixed a FF only bug with the carets

* added a static size to pagination
2017-05-26 17:04:17 +02:00
MMP0
3bb7b94dd4 Reimplement Markdown editor (#760)
* Update index.html

* Update upload.html

* Update main.css

* Update tomorrow.css

* Update tomorrow.css

Remove !important

* Update tomorrow.css

Revert
2017-05-26 16:02:19 +02:00
akuma06
566e0b7f21 Just added some comments 2017-05-26 15:57:25 +02:00
akuma06
06ddecd977 Fixing navigation not clickable
* Just commented out point-events: none; in #content
* Can someone explain and fix it if necessary?
2017-05-26 15:44:46 +02:00
akuma06
80ab45d81e New profile user menu (#761)
* Fixing user profile page

* Modified css rule word-break to break-word
* Modified torrents table in user page to look like home listing
* Made the button reset api look like a button according to actual
design
* Modified user menu to have the same spacing accross templates
* User menu is in another template file loaded dynamically

* Fixing the access to userprofile variable

* Menu needs to access the user profile with $.UserProfile
* User Notification template variable removed, instead using user
profile variable

* Reverting back theme flickering fix
2017-05-26 14:33:55 +02:00
MMP0
488f2ca476 Fix theme bugs + Reimplement "nyanpassu" and "explosion" (#757)
* Update index.html

* Update main.css

* Update main.js

* Update index.html

* Update index.html

* Update main.css

* Update index.html

* Update main.css

* Update main.css

* Update main.css
2017-05-26 13:13:06 +02:00
Ramon Dantas
8fbdeed9f5 CSS-only tree view. (#753)
* Make tree-view work with CSS only

Changed the file list tree-view to use recursive templating instead of
an external function, and improved it so that it works with only CSS.
Striped lines won't work though.

* Remove inline-block from folder label

It breaks with the text-overflow: ellipsis.

* Rename makeFolderData to makeTreeViewData
2017-05-26 11:53:18 +10:00
tomleb
2da1c88c64 Fix rendering of svg background-image in firefox (#749)
* Fix firefox issue with (#) in svg images

* Remove fontawesome eye icon

* Remove (((official)) to something more professional
2017-05-26 07:34:32 +10:00
kipukun
3e2466dd47 Fix user input being too wide on certain forms (#748) 2017-05-26 07:33:10 +10:00
MMP0
60dafbda04 Small changes (#743)
* Update upload.html

* Update _captcha.html

* Update view.html

* Update main.css

* Update home.html

* Update main.css

* Update main.css

* Update view.html

* Update main.css

* Update main.css
2017-05-25 22:29:39 +10:00
x9zb
b46fdce5d9 Fix search box on Firefox and make carets actually work on chrome (#739)
* Add carets to select

* Fix search box on Firefox

Also fixed the carets on Chrome.
2017-05-25 17:36:46 +10:00
x9zb
5b7f3efd71 Add carets to select (#737) 2017-05-25 15:49:00 +10:00
MMP0
fac5196299 Change icons (#735)
* Change icons

* Update main.css
2017-05-25 15:48:46 +10:00
MMP0
531037bdf1 Update Japanese translations + Small changes (#733)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Add nav translations

* Update main.css

* Update ja-jp.all.json

* Update view.html

* Update view.html

* Update view.html

* Update main.css

* Update main.css
2017-05-25 12:18:59 +10:00
kipukun
424633631c More frontend shit (#731)
* Torrent Mass Edit Api (WIP)

* Torrents can be deleted in mass from frontend with api post request
* Torrents status can be edited from frontend with api post request
-- Look to function doc for more info on how to use it

It is a WIP so it might not work =D

* Finished Mass mod Api

As per suggestion of @yiiTT in #720, I added:
* Changing torrents category
* Deletion of reports with deletion of a torrent
* Changing owner of multiple torrents

Commit also add some new translation strings.

* Make some changes

* Reports can now be cleared for the torrents selected without having to
delete them
* Users with no admin rights can't delete reports

* Fix moveto to status

moveto deprecated in api

* Tested and works!

Changes:
* Updates only the colomns of torrent table
* Moved categories config in config/torrents.go

* Make sort arrows look a lot nicer

* Add search icon into search input

* Work on navbar, fix it on mobile view

* Hide mascot on mobile views

* Make torrent view work on mobile + minor improvements

* Add status and various things to view

* ACTUALLY FINISH VIEW PAGE

* Forgot this file in last commit

* wow user profile was easy

* Work on profile page

* remove language option

* SEO improvement

* forgot the fucking bracket

* make description more weeb

* add irony

* add better irony

* Update README.md

* Make sort arrows look a lot nicer

* Add search icon into search input

* Work on navbar, fix it on mobile view

* Hide mascot on mobile views

* Make torrent view work on mobile + minor improvements

* Add status and various things to view

* ACTUALLY FINISH VIEW PAGE

* wow user profile was easy

* Work on profile page

* remove language option

* SEO improvement

* forgot the fucking bracket

* make description more weeb

* add irony

* add better irony
2017-05-25 02:20:30 +02:00
ElegantMonkey
15a3903e9c Fix icons on Tomorrow 2017-05-24 14:56:31 -03:00
ElegantMonkey
54c03c7ed7 Move more things to CSS
Might make things easier when dealing with mobile view and such.
2017-05-24 14:34:52 -03:00
Ramon Dantas
86447b853c Add tree-view file list (Done) (#724)
* Add tree-view file list

* Add TotalSize field to folders

* Remove bootstrap/jquery related code

* Add icons to filelist, some CSS formatting

Moved a few styles from the format string for the tree view, to CSS
(where possible). Make icons look consistent under all themes.

* Make filelist hideable again, show it when JS is disabled
2017-05-25 00:13:56 +10:00
kipukun
58631c6bd4 Optimized the site (#725)
* Try to optimize site

* lmao woops

* fucking woops again
2017-05-24 16:57:48 +10:00