From 9cf8d43f51e11cbb19f47149f9dd50ed7cc702bf Mon Sep 17 00:00:00 2001 From: Anthony F McInerney Date: Wed, 23 Sep 2020 19:06:27 +0100 Subject: [PATCH] Add service templates --- includes/html/modal/new_service_template.inc.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/html/modal/new_service_template.inc.php b/includes/html/modal/new_service_template.inc.php index ee8facf6c0..ae96b15200 100644 --- a/includes/html/modal/new_service_template.inc.php +++ b/includes/html/modal/new_service_template.inc.php @@ -15,6 +15,9 @@ if (Auth::user()->hasGlobalAdmin()) { foreach (dbFetchRows('SELECT * FROM `device_groups` ORDER BY `name`') as $device_group) { $devicegroupsform .= "'; } + foreach (list_available_services() as $current_service) { + $servicesform .= ""; + } // Build the types list. $dir = \LibreNMS\Config::get('nagios_plugins'); if (file_exists($dir) && is_dir($dir)) { @@ -39,7 +42,6 @@ if (Auth::user()->hasGlobalAdmin()) {
-
@@ -47,20 +49,18 @@ if (Auth::user()->hasGlobalAdmin()) {
- +
- $devicegroupsform
-
-