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/templates/admin
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
..
commentlist.html Golint friendly (#747) 2017-05-25 21:54:58 +02:00
panelindex.html fix for torrent report 2017-05-29 13:49:03 +02:00
paneltorrentedit.html Mass edit mod api JS (done) (#868) 2017-06-02 12:51:44 +10:00
reassign.html CSRF Support + better key for context 2017-05-29 17:07:18 +02:00
torrent_report.html Forgot torrent report list 2017-05-29 13:52:01 +02:00
torrentlist.html CSRF Support + better key for context 2017-05-29 17:07:18 +02:00
userlist.html Golint friendly (#747) 2017-05-25 21:54:58 +02:00