Having check box in the web interface for selecting multiple host and services
|Category:||Classic UI||Estimated time:||20.00 hours|
basically sth like icinga web provides, but the classic way. would be hard to read the POST with different selected array ids though, but why not. It's not that different in c/cgi than in php.
Summary 0000053: Having check box in the web interface for selecting multiple host and services Description When looking at host problem or service problem page, having check box next to host and service name will be a great addition. This will give user the opportunity to acknowledge multiple problem at the same time. Specially useful during major outages.
Added batch selecting hosts and services.
Large changes in cmd.c and status.c
Cleaned up some whitespaces in the other CGI's.
Current limit of around 125 simultaneous commands.
classic ui: move inline file names/dirs for multiple commands into cgiutils.c/.h
add url_js_path and several #defines in order to maintain it a bit easier,
and also modular when updating versions of jquery etc.
the html path is also not hardcoded anymore, allowing configure params
changing the html base dir.
classic ui: change location of multiple commands dropdown
seperating the urls box, and commands dropdown into its
own table makes more sense, not loosing too many space on
also added a submit button with js onclick event instead
of a normal selective text url.
Added in a debug for the URL that can be manually enabled by removing the comment in checkboxesNbutton.js
Updated scriptalicious to 1.8.3, up from 1.8.2
#4 Updated by Anonymous almost 6 years ago
- Subject changed from aving check box in the web interface for selecting multiple host and services to Having check box in the web interface for selecting multiple host and services
- Target version set to 1.2 (Stable)
- % Done changed from 30 to 50
- Estimated time changed from 12.00 to 20.00
Add in checks in status.c
Selection is done via a dropdown menu and a "submit" link.
To select targets, just click in the checkboxes on the page.
Fix HTML so it can be more easy to read these "batch" checks.
#9 Updated by dnsmichi almost 6 years ago
simply do a
$ git checkout master
$ git pull
$ git checkout mfriedrich/core
$ git pull origin mfriedrich/core
$ git checkout rdarrud/cgis
$ git merge mfriedrich/core
then you'll have the latest and greatest.
regarding the location of the command dropdown - i woud prefer having it next to "view service status detail" etc links, and not in the table at the top.
since this is a rather complicated table layout, maybe it's even better to put that right below everything meaning over here:
/* end of top table */ printf("</tr>\n"); // <=========== printf("</table>\n");
#10 Updated by dnsmichi almost 6 years ago
i've revamped it a bit, split the top table into 2 tables (id display_header is set), and moved the commands dropdown into the 2nd table on the most right.
the submit text url with a onclick event is now a submit button with onclick event, which fits better into the current layout imho.some todos:
- create option to enable/disable reload function
- add style for all buttons throughout the classic ui, in order to make those things a bit more 'smooth' ;-)