Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/public/js
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
..
languages.js Fix bug, remove literals (#629) 2017-05-20 09:10:16 +10:00
main.js Maskot to cookie (#857) 2017-05-30 21:21:35 -05:00
modal.js Mass edit mod api JS (done) (#868) 2017-06-02 12:51:44 +10:00
query.js Mass edit mod api JS (done) (#868) 2017-06-02 12:51:44 +10:00
selectAll.js Added multi action on torrents 2017-05-20 13:45:15 +02:00
template.js Some js fixes and improvements 2017-05-30 15:19:45 +02:00
torrents.js Updating xhr request 2017-05-31 12:36:39 +02:00
torrentsMod.js Mass edit mod api JS (done) (#868) 2017-06-02 12:51:44 +10:00
uploadPage.js Fix bug, remove literals (#629) 2017-05-20 09:10:16 +10:00