From 40f8584daa4ea60635fcd19d05a10c469c5c3aa3 Mon Sep 17 00:00:00 2001 From: Anthony F McInerney Date: Wed, 23 Sep 2020 18:39:07 +0100 Subject: [PATCH] Add service templates --- includes/html/modal/new_service_template.inc.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/includes/html/modal/new_service_template.inc.php b/includes/html/modal/new_service_template.inc.php index 00352ae2e5..811d3ded73 100644 --- a/includes/html/modal/new_service_template.inc.php +++ b/includes/html/modal/new_service_template.inc.php @@ -12,6 +12,9 @@ */ if (Auth::user()->hasGlobalAdmin()) { + foreach (dbFetchRows('SELECT * FROM `device_groups` ORDER BY `name`') as $device_group) { + $devicegroupsform .= "'; + } // Build the types list. $dir = \LibreNMS\Config::get('nagios_plugins'); if (file_exists($dir) && is_dir($dir)) { @@ -43,6 +46,16 @@ if (Auth::user()->hasGlobalAdmin()) {   +
+ +
+ +
+
+
+