nyaa/nyaa/templates
Nicolas F 291f859a4f Use Flask-Assets to minify self-hosted JS files (#468)
* Use Flask-Assets to minify self-hosted JS files

By having Flask-Assets minify the two JS files we ship, namely
main.js and bootstrap-select.js, we can shave off 28406 bytes.

The minified files are generated on startup. If one wishes to
manually clean them up or build them, they can use the
"flask assets" management command, e.g. "flask assets clean".

* Workaround to fix tests

State carries over in tests, which is the dumbest shit ever. Fix it
by clearing the bundles before setting them.
2018-04-04 16:02:05 +02:00
..
bootstrap Add rel="prev"/"next" attribs on pagination (#462) 2018-03-25 16:32:03 -07:00
email [Config change] Password reset by email (#381) 2017-10-08 04:34:40 +03:00
404.html Add simple OG metadata tags to templates 2017-05-26 01:03:59 +03:00
_formhelpers.html user: clean up admin_form HTML (#400) 2018-01-03 14:28:39 -08:00
admin_bans.html Better bans (#341) 2017-08-25 18:53:35 -04:00
adminlog.html Better bans (#341) 2017-08-25 18:53:35 -04:00
edit.html Implement comment locking (#439) 2018-03-25 17:03:49 -07:00
flashes.html Initial commit. 2017-05-12 20:51:49 +02:00
help.html Implement comment locking (#439) 2018-03-25 17:03:49 -07:00
home.html Words (#355) 2017-09-01 18:14:11 -04:00
layout.html Use Flask-Assets to minify self-hosted JS files (#468) 2018-04-04 16:02:05 +02:00
login.html Add tabindexes to login elements (#420) 2017-12-02 13:31:51 +02:00
password_reset.html [Config change] Password reset by email (#381) 2017-10-08 04:34:40 +03:00
password_reset_request.html [Config change] Password reset by email (#381) 2017-10-08 04:34:40 +03:00
profile.html fix #173 and add avatar to mod user info 2017-05-24 00:28:17 +02:00
register.html Improve and tidy up email blacklist regexes (Hotmail) (#438) 2018-01-27 01:55:35 +02:00
reports.html Undo responsive table for reports (#444) 2018-02-01 11:35:04 -08:00
rss.xml Move torrent magnet and torrent download into 'torrents' blueprint 2017-07-27 14:14:00 +03:00
rules.html Fix some text and revert a js thing 2017-10-20 22:24:36 -07:00
search_results.html minor changes 2017-08-31 14:20:34 +02:00
upload.html [Config change] Upload ratelimit for non-trusted uploaders (#384) 2017-10-09 18:41:18 -07:00
user.html Fix user page ban list styling for multiple bans (#460) 2018-03-25 16:27:28 -07:00
user_comments.html Quick and dirty comment list for moderators to look at (#421) 2017-12-04 15:51:31 +02:00
view.html Commit editing time 2018-04-02 13:18:39 -07:00
waiting.html Initial commit. 2017-05-12 20:51:49 +02:00
xmlns.html Changed RSS feed to conform to RSS standards and added a namespace 2017-05-20 01:13:04 +02:00