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

7 commits

Auteur SHA1 Message Date
PantsuDev a931b47bff beautify assets 2017-07-23 15:50:18 +10:00
kilo 68780a6652 better background color for mod tools, torrents don't move around when you show the checkboxes 🐤, fix auto-updating JS for mods (#1224)
* preliminary CSS work

* only apply button rule to #show_actions

* forgot the JS

* fix auto-updating for mods

* woops wrong file

* there
2017-07-17 22:05:24 +02:00
akuma06 e9b6f3c3c7 Fixing translation in modtools
I don't understand this though #1201 . Deletes work fine here
2017-07-17 15:10:08 +02:00
PantsuDev 913028f529 Comply with JS styling recommendations 2017-07-16 14:43:09 +10:00
PantsuDev 77295492f3
Add libre-js support 2017-06-04 15:43:41 +10:00
akuma06 e9002ee638 Added translations support to mass edit api + improvements
* new translation strings
* new Translations object which can be used to translate string in js
* fix a the disappearance of checkboxes on new item loaded by ajax
2017-06-02 15:42:53 +02:00
akuma06 e62ebb05ba Mass edit mod api JS (done) (#868)
* Mass Edit MOD api JS (WIP)

In continuity with the mass edit mod api, this is the javascript use of
it.
##What does it do?
* Delete of multiple torrents on index/search
* Category change of multiple torrents
* Change of owner of multiple torrents
* Lock & delete of multiple torrents

##How?
* New toolbar only visible for mods
* Checkboxes added only for mods
* Selection and click on the button in toolbar
* Nothing is submitted, you have to review the changes in a modal window
listing them.
* Then the ajax queries are initialized one at a time with a progression
bar
* You can always at any moment delete entries from the queuing list

* Improved progress bar

* Deleting part almost done

Improved modal design
All dom interactions should be done
Prepared Query for only one callback
Improved Modal to keep a link to the active modal

* Finished =D

Added some translation string

* Forgot the refreshing of the page

Just an option that can be disabled by making refreshTimeout to 0
2017-06-02 12:51:44 +10:00