From 1ee6bdcda1b285b24829eefc9b9e0ca14b828f77 Mon Sep 17 00:00:00 2001 From: Udo Walter Date: Tue, 12 Feb 2019 11:44:51 +0100 Subject: [dozmod] Add UI to create preset network rules --- .../dozmod/templates/networkrules-edit.html | 43 ++++++++++++ .../dozmod/templates/networkrules.html | 82 ++++++++++++++++++++++ 2 files changed, 125 insertions(+) create mode 100644 modules-available/dozmod/templates/networkrules-edit.html create mode 100644 modules-available/dozmod/templates/networkrules.html (limited to 'modules-available/dozmod/templates') diff --git a/modules-available/dozmod/templates/networkrules-edit.html b/modules-available/dozmod/templates/networkrules-edit.html new file mode 100644 index 00000000..c04e2825 --- /dev/null +++ b/modules-available/dozmod/templates/networkrules-edit.html @@ -0,0 +1,43 @@ +

{{lang_networkrules}}

+ +
+
+ {{lang_editNetworkrule}} +
+
+
+ + + + +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + {{lang_cancel}} + + +
+
+
+
\ No newline at end of file diff --git a/modules-available/dozmod/templates/networkrules.html b/modules-available/dozmod/templates/networkrules.html new file mode 100644 index 00000000..4344ff4f --- /dev/null +++ b/modules-available/dozmod/templates/networkrules.html @@ -0,0 +1,82 @@ +

{{lang_networkrules}}

+ +

+ {{lang_networkrulesIntro}} +

+ + + + + + + + + {{#hasEditPermissions}} + + + {{/hasEditPermissions}} + + + + {{#networkrules}} + + + + + + {{#hasEditPermissions}} + + + {{/hasEditPermissions}} + + {{/networkrules}} + +
{{lang_name}}{{lang_host}}{{lang_port}}{{lang_direction}}{{lang_edit}}{{lang_delete}}
{{rulename}}{{host}}{{port}}{{direction}} + + + + + +
+{{#hasEditPermissions}} +
+ + + {{lang_addRule}} + +
+{{/hasEditPermissions}} + + +
+ + + +
+ + \ No newline at end of file -- cgit v1.2.3-55-g7522