From e1dda0cf2125650b29f07d6931f133cfc58fce57 Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Sat, 24 Oct 2015 17:12:29 +0200 Subject: haproxy-devel, pkg v0.32 allow usage of mailers/dns/'actions', rework of acl system. --- config/haproxy-devel/www/haproxy_listeners.php | 39 ++++++++++++++++++++------ 1 file changed, 31 insertions(+), 8 deletions(-) (limited to 'config/haproxy-devel/www/haproxy_listeners.php') diff --git a/config/haproxy-devel/www/haproxy_listeners.php b/config/haproxy-devel/www/haproxy_listeners.php index db1f3ff2..2a91aa3f 100644 --- a/config/haproxy-devel/www/haproxy_listeners.php +++ b/config/haproxy-devel/www/haproxy_listeners.php @@ -95,7 +95,7 @@ if ($_GET['act'] == "del") { $pgtitle = "Services: HAProxy: Frontends"; include("head.inc"); - +haproxy_css(); ?> @@ -182,7 +182,7 @@ function js_callback(req) { $first = true; $last_frontend_shared = false; foreach ($a_frontend_grouped as $a_frontend) { - usort($a_frontend,'sort_sharedfrontends'); + usort($a_frontend, 'sort_sharedfrontends'); if ((count($a_frontend) > 1 || $last_frontend_shared) && !$first) { ?>  
- - - + "; + } + $backend = $actionitem['use_backendbackend']; + echo "{$backend}"; + + if (!empty($actionitem['acl'])) { + echo " if({$actionitem['acl']})"; + } + } + } + } + $backend = $frontend['backend_serverpool']; + if (!empty($backend)) { + if ($first) { + $first = false; + } else { + echo "
"; + } + echo "{$backend} (default)"; + } + ?>
- -- cgit v1.2.3