Policy 1707 commit to LF
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / app / policyApp / policy-models / policy_AutoPush.html
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/policy_AutoPush.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/policy_AutoPush.html
new file mode 100644 (file)
index 0000000..b53dab3
--- /dev/null
@@ -0,0 +1,91 @@
+<!--/*-
+ * ============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>
+.center {
+       margin: auto;
+       width: 60%;
+       border: 3px solid #73AD21;
+       padding: 10px;
+}
+
+.modal {
+       display: block;
+       overflow-y: auto;
+}
+</style>
+<div ng-app id="page-content" style="margin-bottom: 20px; width: 100%">
+       <div class="form-group row">
+               <h1 style="text-align: left; color: #157bb2">Auto Push</h1>
+               <div ng-show="showLoader" class="span loader-container">
+                       <i class="icon-spinner" role="img"
+                               aria-label="Please wait while we load your content"></i>
+               </div>
+               <div ng-show="isDisabled" class="icon-lock"
+                       style="clear: left; float: left">
+                       <div class="lock-top-1" style="background-color: #2CC3B5"></div>
+                       <div class="lock-top-2"></div>
+                       <div class="lock-body" style="background-color: #2CC3B5"></div>
+                       <div class="lock-hole"></div>
+               </div>
+       </div>
+       </br>
+       <div class="form-group row" ng-hide="showLoader">
+               <div ng-hide="isDisabled">
+                       <button ng-click="pushPoliciesButton();"
+                               class="btn btn-primary btn-small center-block" type="button"
+                               title="Push policies to PDP Groups">Push Policies</button>
+               </div>
+       </div>
+       <div class="form-group row">
+               <div class="form-group col-sm-6">
+                       <div class="panel panel-default">
+                               <div class="panel-heading">
+                                       <h4>
+                                               <b>Policies</b>
+                                       </h4>
+                                       <img id="mySpinner"
+                                               src="/ecomp/app/policyApp/images/loading_bar.gif"
+                                               ng-show="loading" />
+                               </div>
+                               <div class="panel-body">
+                                       <div id="grid1" style="width: 100%; height: 400px;"
+                                               ui-grid="gridOptions" ui-grid-tree-view ui-grid-pagination
+                                               ui-grid-selection ui-grid-resize-columns class="grid"></div>
+                               </div>
+                       </div>
+               </div>
+               <div class="form-group col-sm-6">
+                       <div class="panel panel-default">
+                               <div class="panel-heading">
+                                       <h4>
+                                               <b>PDP Groups</b>
+                                       </h4>
+                               </div>
+                               <div class="panel-body">
+                                       <div style="width: 100%; height: 400px;" ui-grid="pushTabPDPGrid"
+                                               ui-grid-pagination ui-grid-selection ui-grid-resize-columns
+                                               class="grid">
+                                               <pre>{{selectedRows}}</pre>
+                                       </div>
+                               </div>
+                       </div>
+               </div>
+       </div>
+</div>
\ No newline at end of file