diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-02-14 19:41:00 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2017-02-14 19:41:32 -0500 |
commit | 91d04c64771832a0b8815ffbe1f0f9920320d94d (patch) | |
tree | fb02d5e1c84a3d91def9a7ee95bc87f9c046cc96 /ecomp-sdk-app/src/main/webapp/app/policyApp/Windows | |
parent | b9d4caa40ef8e3566ac475968bce17b9b64b6939 (diff) |
Initial OpenECOMP policy/engine commit
Change-Id: I7dbff37733b661643dd4d1caefa3d7dccc361b6e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'ecomp-sdk-app/src/main/webapp/app/policyApp/Windows')
40 files changed, 2252 insertions, 0 deletions
diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/ActionPolicyDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/ActionPolicyDictionary.html new file mode 100644 index 000000000..b30fc7530 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/ActionPolicyDictionary.html @@ -0,0 +1,89 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_actionPolicyDict_popup.html"> + <div class="modal__informative font-showcase" style="width:80%;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div class="fn-ebz-container" > + <label>Attribute Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editActionDict.attributeName" style="width:500px;" /> + </div> + <div class="fn-ebz-container"> + <label>Type:<sup><b>*</b></sup></label><BR> + <select class="form-field" ng-model="editActionDict.type"> + <option>REST</option> + </select> + </div> + </br> + <div class="fn-ebz-container" > + <label>URL:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editActionDict.url" style="width:500px;" /> + </div> + <div class="fn-ebz-container"> + <label>Method:<sup><b>*</b></sup></label><BR> + <select class="form-field" ng-model="editActionDict.method"> + <option>GET</option> + <option>PUT</option> + <option>POST</option> + </select> + </div> + </br> + <div class="fn-ebz-container" > + <label>Description:</label><br> + <input type="text" ng-model="editActionDict.description" style="width:500px;" /> + </div> + </br> + <div class="fn-ebz-container" > + <label>Headers:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in choices" class="form-horizontal" > + <div class="fn-ebz-container"> + <input type="text" class="form-field" ng-model= "choice.option" placeholder="key" /> + </div> + <div class="fn-ebz-container"> + <input type="text" class="form-field" ng-model= "choice.number" placeholder="Value" /> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + </br> + <div class="fn-ebz-container" > + <label>Body:</label><br> + <textarea type="text" ng-model="editActionDict.body" style="height :200px; width:500px;"></textarea> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveActionDict(editActionDict);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/AttributeDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/AttributeDictionary.html new file mode 100644 index 000000000..e8ff563a5 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/AttributeDictionary.html @@ -0,0 +1,80 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_Attribute_popup.html"> + <div class="modal__informative font-showcase" style="width:80%;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div class="fn-ebz-container" > + <label>Attribute Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editAttributeName.xacmlId" style="width:500px;" /> + </div> + <div class="fn-ebz-container"> + <label>Data Type:<sup><b>*</b></sup></label><BR> + <select class="form-field" ng-model="editAttributeName.datatypeBean.shortName"> + <option>string</option> + <option>integer</option> + <option>boolean</option> + <option>double</option> + <option>user</option> + </select> + </div> + </br> + <div class="fn-ebz-container"> + <label>Description:</label><br> + <input type="text" ng-model="editAttributeName.description" style="width:500px;"/> + </div> + <div class="fn-ebz-container"> + <label>Priority:</label><BR> + <select class="form-field" ng-model="editAttributeName.priority"> + <option></option> + <option>High</option> + </select> + </div> + </br> + <div class="fn-ebz-container" > + <label>Attribute Values:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in attributes" class="form-horizontal" > + <div class="fn-ebz-container"> + <input type="text" class="fn-ebz-text" ng-model="choice.attributeValues" maxlength="30" /> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveAttributeName(editAttributeName);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/BRMSParamDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/BRMSParamDictionary.html new file mode 100644 index 000000000..d8013b997 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/BRMSParamDictionary.html @@ -0,0 +1,47 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script> +<script type="text/ng-template" id="add_brmsParam_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div class="fn-ebz-container" > + <label>Rule Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editBRMSParam.ruleName" style="width:500px;" /> + </div> + <br/> + <div class="fn-ebz-container"> + <label><sup><b></b></sup>Description:</label><br> + <input type="text" ng-model="editBRMSParam.description" style="width:500px;"/> + </div> + <div> + <input type="file" name="file" onchange="angular.element(this).scope().uploadFile(this.files)"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveBRMSParam(editBRMSParam);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLPepOptionsDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLPepOptionsDictionary.html new file mode 100644 index 000000000..fba9e8de8 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLPepOptionsDictionary.html @@ -0,0 +1,65 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_PEPOptions_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>PEP Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editPEPOptions.pepName" style="width:500px;"/> + </div> + <br/> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editPEPOptions.description" style="width:500px;"/> + </div> + <br/> + <div> + <label>Actions:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in choices" class="form-horizontal" > + <div class="fn-ebz-container"> + <input type="text" class="form-field" ng-model= "choice.option" /> + </div> + <div class="fn-ebz-container"> + <input type="text" class="form-field" ng-model= "choice.number" /> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveCLPepOptions(editPEPOptions);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLServiceTypeDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLServiceTypeDictionary.html new file mode 100644 index 000000000..c3d0d3fac --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLServiceTypeDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_CLService_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Service Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editCLService.serviceName" style="width:500px;"/> + </div> + <br/> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editCLService.description" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveCLServiceDict(editCLService);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLSiteDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLSiteDictionary.html new file mode 100644 index 000000000..f140f9d1b --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLSiteDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_CLSite_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Site Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editCLSite.siteName" style="width:500px;"/> + </div> + <br/> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editCLSite.description" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveCLSite(editCLSite);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLVarbindDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLVarbindDictionary.html new file mode 100644 index 000000000..52754586c --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLVarbindDictionary.html @@ -0,0 +1,48 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_varbind_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Varbind Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editCLVarbind.varbindName" style="width:500px;"/> + </div> + <br/> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editCLVarbind.varbindDescription" style="width:500px;"/> + </div> + <br/> + <div> + <label>Varbind OID:</label><br> + <input type="text" ng-model="editCLVarbind.varbindOID" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveCLVarbind(editCLVarbind);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLVnfTypeDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLVnfTypeDictionary.html new file mode 100644 index 000000000..3e01e6844 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLVnfTypeDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_vnfType_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>VNF Type:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editVnfType.vnftype" style="width:500px;" /> + </div> + <br/> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editVnfType.description" style="width:500px;" /> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveCLVnfType(editVnfType);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLVsclActionDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLVsclActionDictionary.html new file mode 100644 index 000000000..7716122dc --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/CLVsclActionDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_vsclAction_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>VSCL Action:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editvsclAction.vsclaction" style="width:500px;"/> + </div> + <br/> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editvsclAction.description" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveCLVSCLAction(editvsclAction);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/DecisionSettingsDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/DecisionSettingsDictionary.html new file mode 100644 index 000000000..072ccbdb1 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/DecisionSettingsDictionary.html @@ -0,0 +1,60 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_SettingsDict_popup.html"> + <div class="modal__informative font-showcase" style="width:80%;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div class="fn-ebz-container" > + <label>Settings Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editSettingsDict.xacmlId" style="width:500px;"/> + </div> + <div class="fn-ebz-container"> + <label>Data Type:<sup><b>*</b></sup></label><BR> + <select class="form-field" ng-model="editSettingsDict.datatypeBean.shortName"> + <option>string</option> + <option>integer</option> + <option>boolean</option> + <option>double</option> + <option>user</option> + </select> + </div> + </br> + <div class="fn-ebz-container"> + <label>Description:</label><br> + <input type="text" ng-model="editSettingsDict.description" style="width:500px;" /> + </div> + <div class="fn-ebz-container"> + <label>Priority:</label><BR> + <select class="form-field" ng-model="editSettingsDict.priority"> + <option></option> + <option>High</option> + </select> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveDecisionSettings(editSettingsDict);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/DescriptiveScopeDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/DescriptiveScopeDictionary.html new file mode 100644 index 000000000..2daaaf815 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/DescriptiveScopeDictionary.html @@ -0,0 +1,65 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_descriptiveScope_popup.html"> + <div class="modal__informative font-showcase" style="width:80%;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div class="fn-ebz-container" > + <label>Descriptive Scope Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editDescriptiveScope.scopeName" style="width:500px;"/> + </div> + <br/> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editDescriptiveScope.description" style="width:500px;"/> + </div> + <br/> + <div class="fn-ebz-container" > + <label>Search Criteria:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in choices" class="form-horizontal" > + <div class="fn-ebz-container"> + <input type="text" class="form-field" ng-model= "choice.option" /> + </div> + <div class="fn-ebz-container"> + <input type="text" class="form-field" ng-model= "choice.number" /> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveDescriptiveScope(editDescriptiveScope);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script>
\ No newline at end of file diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/EcompNameDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/EcompNameDictionary.html new file mode 100644 index 000000000..8bfb091de --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/EcompNameDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_ecompName_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Ecomp Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editEcompName.ecompName" style="width:500px;"/> + </div> + <br/> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editEcompName.description" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveEcompName(editEcompName);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/EnforcerTypeDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/EnforcerTypeDictionary.html new file mode 100644 index 000000000..87aaae473 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/EnforcerTypeDictionary.html @@ -0,0 +1,51 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_EnforcerType_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div class="fn-ebz-container" > + <label>Enforcer Type:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editEnforcerType.enforcingType" style="width:500px;"/> + </div> + <br/> + <div class="fn-ebz-container" > + <label>Script:</label><br> + <input type="text" ng-model="editEnforcerType.script" style="width:500px;"/> + </div> + <div class="fn-ebz-container" > + <label>Query for Connection:</label><br> + <input type="text" ng-model="editEnforcerType.connectionQuery" style="width:500px;"/> + </div> + <div class="fn-ebz-container" > + <label>Query for Pre-populating value:</label><br> + <input type="text" ng-model="editEnforcerType.valueQuery" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveEnforcerType(editEnforcerType);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWActionListDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWActionListDictionary.html new file mode 100644 index 000000000..8bbb2cfd1 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWActionListDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_FWActionList_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Action Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editActionList.actionName" style="width:500px;"/> + </div> + <br/> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editActionList.description" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveFWActionList(editActionList);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWAddressGroupDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWAddressGroupDictionary.html new file mode 100644 index 000000000..b0f9d6556 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWAddressGroupDictionary.html @@ -0,0 +1,62 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_FWAddressGroup_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div class="fn-ebz-container" > + <label>Address Group:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editAddressGroup.groupName" style="width:500px;"/> + </div> + </br> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editAddressGroup.description" style="width:500px;"/> + </div> + <br/> + <div class="fn-ebz-container" > + <label>Prefix List:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addAPNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in apchoices" class="form-horizontal" > + <div class="fn-ebz-container"> + <select class="form-field" ng-model="choice.option" ng-options="option for option in prefixListDictionaryDatas track by option"></select> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeAPChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveFWAddressGroup(editAddressGroup);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWParentListDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWParentListDictionary.html new file mode 100644 index 000000000..f7de1685e --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWParentListDictionary.html @@ -0,0 +1,81 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_fwParentList_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Parent Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editParentList.parentItemName" style="width:500px;"/> + </div> + <br/> + <div> + <label>Description:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editParentList.description" style="width:500px;"/> + </div> + </br> + <div class="fn-ebz-container"> + <label>Service List:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addServiceGroupNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in slchoices" class="form-horizontal" > + <div class="fn-ebz-container"> + <select class="form-field" ng-model="choice.option" ng-options="option for option in serviceListDictionaryDatas track by option"><option value = "">{{choice.option}}</option></select> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeServiceGroupChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + <br/> + <div class="fn-ebz-container"> + <label>Address List:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addAddressGroupNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in alchoices" class="form-horizontal" > + <div class="fn-ebz-container"> + <select class="form-field" ng-model="choice.option" ng-options="option for option in addressGroupDictionaryDatas track by option"><option value = "">{{choice.option}}</option></select> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeAddressGroupChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveFWParentList(editParentList);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWPortListDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWPortListDictionary.html new file mode 100644 index 000000000..cb0991133 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWPortListDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_FWPortList_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Port Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editPortList.portName" style="width:500px;"/> + </div> + <br/> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editPortList.description" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveFWPortList(editPortList);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWPrefixListDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWPrefixListDictionary.html new file mode 100644 index 000000000..ab96f1faa --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWPrefixListDictionary.html @@ -0,0 +1,49 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_FWPrefixList_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>PrefixList Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editPrefixList.prefixListName" style="width:500px;"/> + </div> + <br/> + <div> + <label>PrefixList Value:</label><br> + <input type="text" ng-model="editPrefixList.prefixListValue" style="width:500px;"/> + </div> + <br/> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editPrefixList.description" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="button button--primary button--small" herf="javascript:void(0)" ng-click="validateFWPrefixList(editPrefixList);">Validate</button> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveFWPrefixList(editPrefixList);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWProtocolListDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWProtocolListDictionary.html new file mode 100644 index 000000000..92f478750 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWProtocolListDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_FWProtocolList_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Protocol Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editProtocolList.protocolName" style="width:500px;"/> + </div> + <br/> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editProtocolList.description" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveProtocolList(editProtocolList);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWSecurityZoneDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWSecurityZoneDictionary.html new file mode 100644 index 000000000..2e47c7ce1 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWSecurityZoneDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_fwSecurityZone_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Security Zone Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editSecurityZone.zoneName" style="width:500px;"/> + </div> + <br/> + <div> + <label>Security Zone Value:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editSecurityZone.zoneValue" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveSecurityZone(editSecurityZone);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWServiceGroupDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWServiceGroupDictionary.html new file mode 100644 index 000000000..0936d342e --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWServiceGroupDictionary.html @@ -0,0 +1,57 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_fwServiceGroup_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Service Group:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editServiceGroup.groupName" style="width:500px;"/> + </div> + <br/> + <div class="fn-ebz-container"> + <label>Service List:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addServiceGroupNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in slchoices" class="form-horizontal" > + <div class="fn-ebz-container"> + <select class="form-field" ng-model="choice.option" ng-options="option for option in serviceListDictionaryDatas track by option"><option value = "">{{choice.option}}</option></select> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeServiceGroupChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveFWServiceGroup(editServiceGroup);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWServiceListDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWServiceListDictionary.html new file mode 100644 index 000000000..46d2f1d24 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWServiceListDictionary.html @@ -0,0 +1,87 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_FWServiceList_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Service Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editServiceList.serviceName" style="width:500px;"/> + </div> + <div> + <label>Description:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editServiceList.serviceDescription" style="width:500px;"/> + </div> + <br/> + <div class="fn-ebz-container" > + <label>Transport Protocol:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addTPNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in tpchoices" class="form-horizontal" > + <div class="fn-ebz-container"> + <select class="form-field" ng-model="choice.option" ng-options="option for option in protocolListDictionaryDatas track by option" > + <option value="">{{choice.option}}</option></select> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeTPChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + <br/> + <div class="fn-ebz-container" > + <label>Application Protocol:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addAPNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in apchoices" class="form-horizontal" > + <div class="fn-ebz-container"> + <select class="form-field" ng-model="choice.option" ng-options="option for option in protocolListDictionaryDatas track by option" > + <option value="">{{choice.option}}</option></select> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeAPChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + <br/> + <div class="fn-ebz-container" > + <label>Service Ports:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editServiceList.servicePorts" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveFWServiceList(editServiceList);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWTermListDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWTermListDictionary.html new file mode 100644 index 000000000..62b9f9b2d --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWTermListDictionary.html @@ -0,0 +1,176 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_fwTermList_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div class="fn-ebz-container" > + <label>Rule Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editTermList.termName" style="width:500px;" /> + </div> + <div class="fn-ebz-container" > + <label>Rule Description:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editTermList.termDescription" style="width:500px;"/> + </div> + </br> + <div class="fn-ebz-container" > + <label>From-Zone:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addFromZoneNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in fromZonechoices" class="form-horizontal" > + <div class="fn-ebz-container"> + <select class="form-field" ng-model="choice.option" ng-options="option for option in zoneDictionaryDatas track by option"> + <option value = "">{{choice.option}}</option></select> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeFromZoneChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + </br> + <div class="fn-ebz-container" > + <label>To-Zone:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addToZoneNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in toZonechoices" class="form-horizontal" > + <div class="fn-ebz-container"> + <select class="form-field" ng-model="choice.option" ng-options="option for option in zoneDictionaryDatas track by option"><option value = "">{{choice.option}}</option></select> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeToZoneChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + </br> + <div class="fn-ebz-container" > + <label>Source-List:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addSourceListNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in sourceListchoices" class="form-horizontal" > + <div class="fn-ebz-container"> + <select class="form-field" ng-model="choice.option" ng-options="option for option in addressGroupDictionaryDatas track by option"><option value = "">{{choice.option}}</option></select> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeSourceListChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + </br> + <div class="fn-ebz-container" > + <label>Destination-List:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addDListNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in destinationListchoices" class="form-horizontal" > + <div class="fn-ebz-container"> + <select class="form-field" ng-model="choice.option" ng-options="option for option in prefixListDictionaryDatas track by option"><option value = "">{{choice.option}}</option></select> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeDlistChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + </br> + <div class="fn-ebz-container" > + <label>Source-Services:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addSourceServiceNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in sourceServicechoices" class="form-horizontal" > + <div class="fn-ebz-container"> + <select class="form-field" ng-model="choice.option" ng-options="option for option in serviceListDictionaryDatas track by option" ng-options="option for option in serviceGroupDictionaryDatas track by option"><option value = "">{{choice.option}}</option></select> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeSourceServiceChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + </br> + <div class="fn-ebz-container" > + <label>Destination-Services:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addDServicesNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in destinationServicechoices" class="form-horizontal" > + <div class="fn-ebz-container"> + <select class="form-field" ng-model="choice.option" ng-options="option for option in serviceListDictionaryDatas track by option" ng-options="option for option in serviceGroupDictionaryDatas track by option"><option value = "">{{choice.option}}</option></select> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeDServicesChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + </br> + <div class="fn-ebz-container" > + <label>Action-List:</label><br> + <form method="post" class="form-horizontal" > + <div class="form-group"> + <div class="col-xs-1"> + <button type="button" class="btn btn-default" ng-click="addActionListNewChoice()"><i class="fa fa-plus"></i></button> + </div> + </div> + <div data-ng-repeat="choice in actionListchoices" class="form-horizontal" > + <div class="fn-ebz-container"> + <select class="form-field" ng-model="choice.option" ng-options="option for option in actionListDictionaryDatas track by option"><option value = "">{{choice.option}}</option></select> + </div> + <div class="fn-ebz-container"> + <button type="button" class="btn btn-default" ng-show="$last" ng-click="removeActionListChoice()"><i class="fa fa-minus"></i></button> + </div> + </div> + </form> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveTermName(editTermList);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWZoneDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWZoneDictionary.html new file mode 100644 index 000000000..3ccc4660e --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/FWZoneDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_FWZone_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Zone Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editZoneName.zoneName" style="width:500px;"/> + </div> + <br/> + <div> + <label>Zone Value:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editZoneName.zoneValue" style="width:500px;" /> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveZoneName(editZoneName);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/MSConfigNameDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/MSConfigNameDictionary.html new file mode 100644 index 000000000..d1dfd80c6 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/MSConfigNameDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_msConfigName_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Enter Config Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editMSConfig.name" style="width:500px;"/> + </div> + <br/> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editMSConfig.descriptionValue" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveMSConfig(editMSConfig);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/MSDCAEUUIDDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/MSDCAEUUIDDictionary.html new file mode 100644 index 000000000..3edaf78fb --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/MSDCAEUUIDDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_DCAEuuid_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Enter UUID:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editDCAEuuid.name" style="width:500px;"/> + </div> + <br/> + <div> + <label><sup><b></b></sup>Description:</label><br> + <input type="text" ng-model="editDCAEuuid.description" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveDCAEUUID(editDCAEuuid);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/MSLocationDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/MSLocationDictionary.html new file mode 100644 index 000000000..d6994e951 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/MSLocationDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_msLocation_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Micro Service Location:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editMSLocation.name" style="width:500px;" /> + </div> + <br/> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editMSLocation.descriptionValue" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveMSLocation(editMSLocation);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/MSModelsDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/MSModelsDictionary.html new file mode 100644 index 000000000..816192e97 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/MSModelsDictionary.html @@ -0,0 +1,41 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_msModel_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editMSmodelName.description" style="width:500px;"/> + </div> + <div> + <input type="file" name="file" onchange="angular.element(this).scope().uploadFile(this.files)"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveMSModel(editMSmodelName);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSClosedLoopDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSClosedLoopDictionary.html new file mode 100644 index 000000000..eeb2def79 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSClosedLoopDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_PSClosedLoop_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Enter Policy Scope Closed Loop Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editPSClosedLoop.name" style="width:500px;"/> + </div> + <br/> + <div> + <label>Enter Policy Scope Closed Loop Description:</label><br> + <input type="text" ng-model="editPSClosedLoop.descriptionValue" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="savePSClosedLoop(editPSClosedLoop);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script>
\ No newline at end of file diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSGroupPolicyScopeDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSGroupPolicyScopeDictionary.html new file mode 100644 index 000000000..93371ea97 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSGroupPolicyScopeDictionary.html @@ -0,0 +1,65 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_PSGroupPolicyScope_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Enter Policy Scope Group Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editPSGroupPolicyScope.groupName" style="width:500px;"/> + </div> + </br> + <div> + <label>Description:</label><br> + <input type="text" ng-model="editPSGroupPolicyScope.description" style="width:500px;"/> + </div> + </br> + <div class="fn-ebz-container" > + <label>Policy Scope Resource:<sup><b>*</b></sup></label><br> + <select class="form-field" style="width:400px;" ng-model="editPSGroupPolicyScope1.resource" ng-options="option for option in psResourceDictionaryDatas track by option"> + <option value = "">{{editPSGroupPolicyScope1.resource[0]}}</option></select> + </div> + <div class="fn-ebz-container" > + <label>Policy Scope Type:<sup><b>*</b></sup></label><br> + <select class="form-field" style="width:400px;" ng-model="editPSGroupPolicyScope1.type" ng-options="option for option in psTypeDictionaryDatas track by option"> + <option value = "">{{editPSGroupPolicyScope1.type[0]}}</option></select> + </div> + </br> + <div class="fn-ebz-container" > + <label>Policy Scope Service:<sup><b>*</b></sup></label><br> + <select class="form-field" style="width:400px;" ng-model="editPSGroupPolicyScope1.service" ng-options="option for option in psServiceDictionaryDatas track by option"> + <option value = "">{{editPSGroupPolicyScope1.service[0]}}</option></select> + </div> + <div class="fn-ebz-container" > + <label>Policy Scope ClosedLoop:<sup><b>*</b></sup></label><br> + <select class="form-field" style="width:400px;" ng-model="editPSGroupPolicyScope1.closedloop" ng-options="option for option in psClosedLoopDictionaryDatas track by option"> + <option value = "">{{editPSGroupPolicyScope1.closedloop[0]}}</option></select> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="savePSGroupPolicyScope(editPSGroupPolicyScope, editPSGroupPolicyScope1);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script>
\ No newline at end of file diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSResourceDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSResourceDictionary.html new file mode 100644 index 000000000..c7d0f35d7 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSResourceDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_PSResource_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Enter Policy Scope Resource Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editPSResource.name" style="width:500px;"/> + </div> + <br/> + <div> + <label>Enter Policy Scope Resource Description:</label><br> + <input type="text" ng-model="editPSResource.descriptionValue" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="savePSResource(editPSResource);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script>
\ No newline at end of file diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSServiceDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSServiceDictionary.html new file mode 100644 index 000000000..b2b9589bb --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSServiceDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_PSService_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Enter Policy Scope Service Name:<sup><b>*</b></sup></label><br> + <input type="text" class="fn-ebz-text" ng-model="editPSService.name" style="width:500px;"/> + </div> + <br/> + <div> + <label>Enter Policy Scope Service Description:</label><br> + <input type="text" ng-model="editPSService.descriptionValue" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="savePSService(editPSService);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script>
\ No newline at end of file diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSTypeDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSTypeDictionary.html new file mode 100644 index 000000000..f48e71f3c --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/PSTypeDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_PSType_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Enter Policy Scope Type Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editPSType.name" style="width:500px;"/> + </div> + <br/> + <div> + <label>Enter Policy Scope Type Description:</label><br> + <input type="text" ng-model="editPSType.descriptionValue" style="width:500px;"/> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="savePSType(editPSType);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script>
\ No newline at end of file diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/RiskTypeDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/RiskTypeDictionary.html new file mode 100644 index 000000000..75b49bf46 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/RiskTypeDictionary.html @@ -0,0 +1,43 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_riskType_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label><sup><b>*</b></sup>Risk Type Name:</label><br> + <input type="text" ng-model="editRiskType.riskName" style="width:50%;" /> + </div> + <br/> + <div> + <label><sup><b></b></sup>Description:</label><br> + <input type="text" ng-model="editRiskType.description" style="width:50%;" /> + </div> + </div> + <div class="modal__footer"> + <button class="button button--primary button--small" herf="javascript:void(0)" ng-click="saveRiskType(editRiskType);">Save</button> + <button class="button button--primary button--small" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/SafePolicyWarningDictionary.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/SafePolicyWarningDictionary.html new file mode 100644 index 000000000..726e02235 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Dictionary/SafePolicyWarningDictionary.html @@ -0,0 +1,49 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_SafePolicyWarning_popup.html"> + <div class="modal__informative font-showcase" style="width:800px;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Enter Safe Policy Warning Name:<sup><b>*</b></sup></label><br> + <input type="text" ng-model="editSafePolicyWarning.name" style="width:500px;"/> + </div> + </br> + <div> + <label>Message:</label><br> + <input type="text" ng-model="editSafePolicyWarning.message" style="width:500px;"/> + </div> + </br> + <div class="fn-ebz-container" > + <label>Policy Scope Type:<sup><b>*</b></sup></label><br> + <select class="form-field" style="width:400px;" ng-model="editSafePolicyWarning.riskType" ng-options="option for option in riskTypeDictionaryDatas track by option"></select> + </div> + </br> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveSafePolicyWarning(editSafePolicyWarning);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script>
\ No newline at end of file diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Edit_Roles_Window.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Edit_Roles_Window.html new file mode 100644 index 000000000..2c19e02dd --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/Edit_Roles_Window.html @@ -0,0 +1,48 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="edit_Role_popup.html"> + <div class="modal__informative font-showcase" style="width:50%;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div class="fn-ebz-container" > + <label class="fn-ebz-text-label"><sup><b>*</b></sup>Name:</label><br> + <input type="text" class="fn-ebz-text" ng-readonly="true" ng-model="editRole.loginid.userName" maxlength="30" /> + </div> + <br/> + <div class="fn-ebz-container" > + <label class="fn-ebz-text-label"><sup><b>*</b></sup>Role:</label><br> + <input type="text" class="fn-ebz-text" ng-readonly="true" ng-model="editRole.role" maxlength="30" /> + </div> + <br/> + <div class="fn-ebz-container" > + <label class="fn-ebz-text-label"><sup><b>*</b></sup>Scope:</label><br> + <select class="form-field" multiple style="width:400px;" ng-model="editRole.scope" ng-options="option for option in scopeDatas" ></select> + </div> + </div> + <div class="modal__footer"> + <button class="button button--primary button--small" herf="javascript:void(0)" ng-click="saveRole(editRole);">Save</button> + <button class="button button--primary button--small" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script>
\ No newline at end of file diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/PDPTabWindows/AddorEditPDPtoGroup.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/PDPTabWindows/AddorEditPDPtoGroup.html new file mode 100644 index 000000000..a38b0bb9e --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/PDPTabWindows/AddorEditPDPtoGroup.html @@ -0,0 +1,56 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="create_newPDP_InGroup.html"> + <div class="modal__informative font-showcase" style="width:80%;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>PDP URL:<sup><b>*</b></sup> </label><br> + <input type="text" class="form-control" ng-model="editPDPInGroup.id" style="width:500px;" /> + </div> + </br> + <div> + <label>JMX Port:<sup><b>*</b></sup></label><br> + <input type="text" class="form-control" ng-model="editPDPInGroup.jmxPort" + style="width:500px;" /> + </div> + </br> + <div> + <label>PDP Name:<sup><b>*</b></sup></label><br> + <input type="text" class="form-control" ng-model="editPDPInGroup.name" + style="width:500px;" /> + </div> + </br> + <div> + <label>PDP Description:</label><br> + <input type="text" class="form-control" ng-model="editPDPInGroup.description" + style="width:500px;" /> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="savePDPInGroup(editPDPInGroup);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/PDPTabWindows/PdpStatusWindow.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/PDPTabWindows/PdpStatusWindow.html new file mode 100644 index 000000000..195ac8332 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/PDPTabWindows/PdpStatusWindow.html @@ -0,0 +1,73 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<style> +table { + font-family: arial, sans-serif; + border-collapse: collapse; + width: 100%; +} + +td, th { + border: 1px solid #dddddd; + text-align: left; + padding: 8px; +} + +tr:nth-child(even) { + background-color: #dddddd; +} +</style> +<script type="text/ng-template" id="pdpGroupStatusWindow.html"> + <div class="modal__informative font-showcase" style="width:90%;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="modal__content"> + <div > + <table> + <tr> + <th>Status</th> + <td>{{pdpStatusDatas.status}}</td> + </tr> + <tr> + <th>Errors</th> + <td>{{pdpStatusDatas.loadErrors}}</td> + </tr> + <tr> + <th>Warnings</th> + <td>{{pdpStatusDatas.loadWarnings}}</td> + </tr> + <tr> + <th>Policies Loaded</th> + <td><div style="width: 100%; height: 400px;" ui-grid = "policiesGrid" ui-grid-pagination class= "grid"></div></td> + </tr> + <tr> + <th>Policies Failed to Load</th> + <td>{{pdpStatusDatas.failedPolicies}}</td> + </tr> + </table> + </div> + </div> + <div class="modal__footer"> + <button class="button button--primary button--small" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/PushtabWindow/removeGroupPoliciesWindow.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/PushtabWindow/removeGroupPoliciesWindow.html new file mode 100644 index 000000000..389d31374 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/PushtabWindow/removeGroupPoliciesWindow.html @@ -0,0 +1,35 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="remove_PDPGroupPolicies_popup.html"> + <div class="modal__informative font-showcase" style="width:90%;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div style="width: 100%; height: 400px;" ui-grid = "removePoliciesGrid" ui-grid-pagination ui-grid-selection ui-grid-exporter class= "grid"></div> + </div> + <div class="modal__footer"> + <button class="button button--primary button--small" herf="javascript:void(0)" ng-click="removePolicies();">Remove</button> + <button class="button button--primary button--small" herf="javascript:void(0)" ng-click="$close()">Close</button> + </div> + </div> +</script> diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/new_PDPGroup_Window.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/new_PDPGroup_Window.html new file mode 100644 index 000000000..9de838015 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/Windows/new_PDPGroup_Window.html @@ -0,0 +1,94 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<script type="text/ng-template" id="add_pdp_group_popup.html"> + <div class="modal__informative font-showcase" style="width:50%;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label>Group Name:<sup><b>*</b></sup> </label><br> + <input type="text" class="form-control" ng-model="editPDPGroup.groupName" style="width:500px;" /> + </div> + <br/> + <div> + <label><sup><b></b></sup>Group Description:</label><br> + <input type="text" class="form-control" ng-model="editPDPGroup.description" + style="width:500px;" /> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="savePDPGroup(editPDPGroup);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> + +<script type="text/ng-template" id="edit_pdp_group_popup.html"> + <div class="modal__informative font-showcase" style="width:90%;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div> + <label> Group Name:<sup><b>*</b></sup></label><br> + <input type="text" class="form-control" ng-model="editPDPGroup.name" style="width:500px;" /> + </div> + </br> + <div> + <label>Group Description:</label><br> + <input type="text" class="form-control" ng-model="editPDPGroup.description" style="width:500px;" /> + </div> + <div > + <label>Policies:</label><br> + <div style="width: 100%; height: 400px;" ui-grid = "policiesGrid" ui-grid-pagination ui-grid-selection ui-grid-exporter class= "grid"></div> + </div> + <div > + <label>PDP's In Group:</label><br> + <div style="width: 100%; height: 200px;" ui-grid = "pdpsGrid" ui-grid-pagination ui-grid-selection ui-grid-exporter class= "grid"></div> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-success" herf="javascript:void(0)" ng-click="savePDPGroup(editPDPGroup);">Save</button> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> + +<script type="text/ng-template" id="show_policies_pdp_group_popup.html"> + <div class="modal__informative font-showcase" style="width:90%;"> + <div class="modal__header"> + <h2 class="font-showcase-font-name" style="width: 500px;">View PDP Group Policies</h2> + </div> + <div class="divider-container"><hr> </div> + <div class="modal__content"> + <div > + <label>Policies:</label><br> + <div style="width: 100%; height: 400px;" ui-grid = "policiesGrid" ui-grid-pagination ui-grid-selection ui-grid-exporter class= "grid"></div> + </div> + </div> + <div class="modal__footer"> + <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()">Close</button> + </div> + </div> +</script> |