This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository mum. See http://git.chorem.org/mum.git commit a781ddd746fdf4d02a35efcea2748470704fdfb2 Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Mon Jun 8 11:34:49 2015 +0200 buttons for scan choices --- app/module_loader.py | 1 - views/scan.html | 16 ++++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/app/module_loader.py b/app/module_loader.py index 3f934c4..2d9aa91 100644 --- a/app/module_loader.py +++ b/app/module_loader.py @@ -339,7 +339,6 @@ class ModuleLoader: print "The connection could not have been established with " + conf_conn[i]['conn_mod_name']\ + " on " + addr_host + ". Traceback:" print traceback.format_exc() - # set failed conn priority to 0 ? print "Now trying on next avaliable connection..." i += 1 if not check_done: diff --git a/views/scan.html b/views/scan.html index 5df58b7..80c3650 100644 --- a/views/scan.html +++ b/views/scan.html @@ -11,18 +11,26 @@ <p>Select or type the nmap options to use for the scan (see the <a href="http://nmap.org/book/man-briefoptions.html">nmap documentation</a> for details about these command options):</p> - <div class="row"> - <div class="col-xs-2" + + <div ng-repeat="opt_obj in nmap_options | orderBy:'scan_priority'"> + <button type="button" + class="btn btn-info" + ng-click="$parent.nmap_options_input = opt_obj.scan_options" + popover-placement="right" + popover="{{opt_obj.scan_description}}" + popover-trigger="mouseenter">{{opt_obj.scan_name}} + </button> + <!-- <input type="radio" name="selected_option" value="{{opt_obj.scan_name}}" ng-model="$parent.selected_option" ng-change="$parent.nmap_options_input = opt_obj.scan_options"> {{opt_obj.scan_name}}<a popover-placement="bottom" popover="{{opt_obj.scan_description}}" - popover-trigger="mouseenter"><sup>?</sup></a> + popover-trigger="mouseenter"><sup>?</sup></a>--> </div> - </div> + <div class="row"> <div class="col-md-6"> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.