diff --git a/src/main/resources/com/checkpoint/mgmt_api/templates/index.tpl.html b/src/main/resources/com/checkpoint/mgmt_api/templates/index.tpl.html index 8fe78b8..5e55438 100644 --- a/src/main/resources/com/checkpoint/mgmt_api/templates/index.tpl.html +++ b/src/main/resources/com/checkpoint/mgmt_api/templates/index.tpl.html @@ -1,245 +1,246 @@ - - Page Title - - - + + - - - -

-
-

- - - - - - - - -
- + }); + if (!found) { + var divElem = document.createElement("div"); + divElem.appendChild(document.createTextNode(key + " (0)")); + td.appendChild(divElem); + } + } + row.appendChild(td); + }); + table.appendChild(row); + } + + function drawIndex() { + document.title = "Show Package"; + if (data.domain) { + document.getElementById("domain").innerHTML = "Domain: " + data.domain; + } + drawTableColumnHeaders(); + drawTopic("accessLayers", "Access Policy Layers"); + drawTopic("natLayer", "NAT"); + drawTopic("threatLayers", "Threat Prevention Layers"); + drawGateways(); + drawObjects(); + + } + + + + + +

+
+

+ + + + + + + + +
+ diff --git a/src/main/resources/com/checkpoint/mgmt_api/templates/objects.tpl.html b/src/main/resources/com/checkpoint/mgmt_api/templates/objects.tpl.html index deac856..d8c281d 100644 --- a/src/main/resources/com/checkpoint/mgmt_api/templates/objects.tpl.html +++ b/src/main/resources/com/checkpoint/mgmt_api/templates/objects.tpl.html @@ -4,46 +4,46 @@ Page Title + + + diff --git a/src/main/resources/com/checkpoint/mgmt_api/templates/rulebase.tpl.html b/src/main/resources/com/checkpoint/mgmt_api/templates/rulebase.tpl.html index 42cf549..31c7d19 100644 --- a/src/main/resources/com/checkpoint/mgmt_api/templates/rulebase.tpl.html +++ b/src/main/resources/com/checkpoint/mgmt_api/templates/rulebase.tpl.html @@ -1,664 +1,646 @@ - - - Page Title - - - + + - - - - -

-
-
-
-
-

- - - - - - - -
- + function getData(ruleObj) { + return ruleObj['data'] || ruleObj['content']; + } + + function getDataDirection(ruleObj) { + return ruleObj['data-direction'] || ruleObj['content-direction']; + } + + function getDataNegate(ruleObj) { + return ruleObj['data-negate'] || ruleObj['content-negate']; + } + + + + +

+
+
+
+
+

+ + + + + + + +
+