summaryrefslogtreecommitdiffstats
path: root/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/policy_AutoPush.html
blob: af135dc2365c5bb22eb89480f3626b1f0f41223a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!--/*-
 * ============LICENSE_START=======================================================
 * ONAP 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;
}

/* The Modal (background) */
.modal {
	overflow-y: auto;
    display: block; 
    position: fixed; 
    z-index: 2; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);
}
</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="/onap/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>