diff --git a/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/main.xml b/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/main.xml index 171e5c507..1d1652a30 100644 --- a/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/main.xml +++ b/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/forms/main.xml @@ -1,10 +1,6 @@
diff --git a/net/haproxy/src/opnsense/mvc/app/views/OPNsense/HAProxy/index.volt b/net/haproxy/src/opnsense/mvc/app/views/OPNsense/HAProxy/index.volt index 701e4da85..097dce52b 100644 --- a/net/haproxy/src/opnsense/mvc/app/views/OPNsense/HAProxy/index.volt +++ b/net/haproxy/src/opnsense/mvc/app/views/OPNsense/HAProxy/index.volt @@ -1,6 +1,6 @@ {# -Copyright (C) 2016 Frank Wall +Copyright (C) 2016-2017 Frank Wall OPNsense® is Copyright © 2014 – 2015 by Deciso B.V. All rights reserved. @@ -344,50 +344,155 @@ POSSIBILITY OF SUCH DAMAGE.{{ lang._('Welcome to the HAProxy plugin! This plugin is designed to offer all the features and flexibility HAProxy is famous for. If you are using HAProxy for the first time, please take some time to get familiar with it. The following information should help you to get started.')}}
+{{ lang._('Note that you should configure everything in the following order:') }}
+{{ lang._('Please be aware that you need to %smanually%s add the required firewall rules for all configured services.') | format('', '') }}
+{{ lang._('Further information is available in our %sHAProxy plugin documentation%s and of course in the %sofficial HAProxy documentation%s. Be sure to report bugs and request features on our %sGitHub issue page%s. Code contributions are also very welcome!') | format('', '', '', '', '', '') }}
+{{ lang._('HAProxy needs to know which servers should be used to serve content. The following minimum information must be provided for each server:') }}
+{{ lang._("Please note that advanced mode settings allow you to disable a certain server or to configure it as a backup server in a Backend Pool. Another neat option is the possibility to adjust a server's weight relative to other servers in the same Backend Pool.") }}
+{{ lang._("HAProxy requires two virtual services for it's loadbalancing and proxying features. The following virtual services must be configured for everything that should be served by HAProxy:") }}
+{{ lang._('Remember to add firewall rules for all configured Public Services.') }}
+{{ lang._("These are all optional features, HAProxy can be used without them. After getting used to HAProxy you'll find these optional features pretty useful:") }}
+{{ lang._("For more information on HAProxy's %sACL feature%s see the %sofficial documentation%s.") | format('', '', '', '') }}
+{{ lang._("Most of the time these features are not required, but in certain situations they will be handy:") }}
+{{ lang._("For more details visit HAProxy's official documentation regarding the %sError Files%s and the %sLua Script%s features.") | format('', '', '', '') }}
+| {{ lang._('Server id') }} | +{{ lang._('Server ID') }} | {{ lang._('Server Name') }} | {{ lang._('Server Address') }} | {{ lang._('Server Port') }} | @@ -515,8 +620,8 @@ POSSIBILITY OF SUCH DAMAGE.
|---|
| {{ lang._('Health Check ID') }} | -{{ lang._('Health Check Name') }} | +{{ lang._('Health Monitor ID') }} | +{{ lang._('Health Monitor Name') }} | {{ lang._('Description') }} | {{ lang._('Commands') }} | {{ lang._('ID') }} | @@ -549,8 +654,8 @@ POSSIBILITY OF SUCH DAMAGE.
|---|
| {{ lang._('Action ID') }} | -{{ lang._('Action Name') }} | +{{ lang._('Rule ID') }} | +{{ lang._('Rule Name') }} | {{ lang._('Description') }} | {{ lang._('Commands') }} | {{ lang._('ID') }} | @@ -583,8 +688,8 @@ POSSIBILITY OF SUCH DAMAGE.
|---|
| {{ lang._('ACL id') }} | -{{ lang._('ACL Name') }} | +{{ lang._('Condition ID') }} | +{{ lang._('Condition Name') }} | {{ lang._('Description') }} | {{ lang._('Commands') }} | {{ lang._('ID') }} | @@ -618,7 +723,7 @@ POSSIBILITY OF SUCH DAMAGE.|||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ lang._('Enabled') }} | -{{ lang._('Lua ID') }} | +{{ lang._('Lua Script ID') }} | {{ lang._('Lua Script Name') }} | {{ lang._('Description') }} | {{ lang._('Commands') }} | @@ -652,8 +757,8 @@ POSSIBILITY OF SUCH DAMAGE.
| {{ lang._('Error File ID') }} | -{{ lang._('Name') }} | +{{ lang._('Error Message ID') }} | +{{ lang._('Error Message Name') }} | {{ lang._('Description') }} | {{ lang._('Commands') }} | {{ lang._('ID') }} | @@ -683,11 +788,11 @@ POSSIBILITY OF SUCH DAMAGE. {# include dialogs #} -{{ partial("layout_partials/base_dialog",['fields':formDialogFrontend,'id':'DialogFrontend','label':lang._('Edit Frontend')])}} -{{ partial("layout_partials/base_dialog",['fields':formDialogBackend,'id':'DialogBackend','label':lang._('Edit Backend')])}} +{{ partial("layout_partials/base_dialog",['fields':formDialogFrontend,'id':'DialogFrontend','label':lang._('Edit Public Service')])}} +{{ partial("layout_partials/base_dialog",['fields':formDialogBackend,'id':'DialogBackend','label':lang._('Edit Backend Pool')])}} {{ partial("layout_partials/base_dialog",['fields':formDialogServer,'id':'DialogServer','label':lang._('Edit Server')])}} -{{ partial("layout_partials/base_dialog",['fields':formDialogHealthcheck,'id':'DialogHealthcheck','label':lang._('Edit Health Check')])}} -{{ partial("layout_partials/base_dialog",['fields':formDialogAction,'id':'DialogAction','label':lang._('Edit Action')])}} -{{ partial("layout_partials/base_dialog",['fields':formDialogAcl,'id':'DialogAcl','label':lang._('Edit ACL')])}} +{{ partial("layout_partials/base_dialog",['fields':formDialogHealthcheck,'id':'DialogHealthcheck','label':lang._('Edit Health Monitor')])}} +{{ partial("layout_partials/base_dialog",['fields':formDialogAction,'id':'DialogAction','label':lang._('Edit Rule')])}} +{{ partial("layout_partials/base_dialog",['fields':formDialogAcl,'id':'DialogAcl','label':lang._('Edit Condition')])}} {{ partial("layout_partials/base_dialog",['fields':formDialogLua,'id':'DialogLua','label':lang._('Edit Lua Script')])}} -{{ partial("layout_partials/base_dialog",['fields':formDialogErrorfile,'id':'DialogErrorfile','label':lang._('Edit Error File')])}} +{{ partial("layout_partials/base_dialog",['fields':formDialogErrorfile,'id':'DialogErrorfile','label':lang._('Edit Error Message')])}}
|---|