[POLICY-73] replace openecomp for policy-engine
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / app / policyApp / Windows / PDPTabWindows / PdpStatusWindow.html
1 <!--/*-
2  * ============LICENSE_START=======================================================
3  * ONAP Policy Engine
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */-->
20 <style>
21 table {
22     font-family: arial, sans-serif;
23     border-collapse: collapse;
24     width: 100%;
25 }
26
27 td, th {
28     border: 1px solid #dddddd;
29     text-align: left;
30     padding: 8px;
31 }
32
33 tr:nth-child(even) {
34     background-color: #dddddd;
35 }
36 </style>
37 <script type="text/ng-template" id="pdpGroupStatusWindow.html">
38 <div>
39                  <div class="modal-dialog modal-lg">
40                         <div class="modal-content">
41         <div class="modal-header">
42             <h2 class="font-showcase-font-name" style="color : #157bb2">{{label}}</h2>
43                         <div class="corner-button in">
44                                 <button type="button" class="close" aria-label="Close"
45                                 ng-click="$dismiss('cancel')"></button>
46                         </div>
47         </div>
48         <div class="modal-body">
49             <div >
50                         <table>
51                         <tr>
52                                 <th>Status</th>
53                         <td>{{pdpStatusDatas.status}}</td>
54                         </tr>
55                         <tr>
56                         <th>Errors</th>
57                         <td>{{pdpStatusDatas.loadErrors}}</td>
58                         </tr>
59                         <tr>
60                         <th>Warnings</th>
61                         <td>{{pdpStatusDatas.loadWarnings}}</td>
62                         </tr>
63                         <tr>
64                         <th>Policies Loaded</th>
65                         <td><div style="width: 100%; height: 400px;" ui-grid = "policiesGrid" ui-grid-pagination class= "grid"></div></td>
66                         </tr>
67                         <tr>
68                         <th>Policies Failed to Load</th>
69                         <td>{{pdpStatusDatas.failedPolicies}}</td>
70                         </tr>
71                         </table>
72             </div>
73         </div>
74         <div class="modal-footer">
75             <button class="btn btn-default" type="button" ng-click="close()">Close</button>
76                 </div>
77     </div>
78                         </div>
79 </div>
80 </script>