aboutsummaryrefslogtreecommitdiffstats
path: root/oom-app-overlay/src/main/webapp/app/oom/home/oom_instances_popup.html
blob: bc523aa73dd3d3d9c44c2933216b6cf741a4f31f (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
<script type="text/ng-template" id="ecompc_instances_popup.html">
<style>
	.ecd-parameter-table
	{
		border:   1px;
		width:  550px;
		height: 225px;
    	overflow: auto;
	}
	.modal
	{
		display:block
	}
	.radio input:checked + .skin:after{
		height: 22px;
		width: 22px;
	}
	.close-button
	{
	background: #0568ae; 
	color: #ffffff;"; 
	}

</style>

	<div class="b2b-modal-header ng-scope">
		<h1 class="heading-page" id="controllerInstance">Select ECOMP-C Instance</h1>
		<div class="corner-button in">
			<button type="button" class="close" aria-label="Close"
				ng-click="$dismiss('cancel')"></button>
		</div>
	</div>

	<div class="b2b-modal-body ng-scope ng-isolate-scope" tabindex="0"
		role="region" aria-label="Modal body content"> 

		<div b2b-table 
	    	id="controllers-modal"
		    class="b2b-table-div" 
		    table-data="ecdapp.tableData" 
	    	search-string="ecdapp.searchString" 
	 		current-page="ecdapp.currentPageIgnored"
	   		next-sort="ecdapp.nextSortIgnored">
			<table>		        
		    	<thead b2b-table-row type="header">	
					<tr id="th-header-row">
						<th b2b-table-header sortable="false">Selected</th>
						<th b2b-table-header key="name">Name</th>
						<th b2b-table-header key="url">URL</th>
					</tr>
				</thead>
					
            	<tbody b2b-table-row type="body" row-repeat="rowData in ecdapp.tableData">
					<tr id="tr-rowData">
						<td b2b-table-body>
            				<label class="radio">
            					<input
            						type="radio" 
									name="ecdSelGroup" 
									title="rowData.url"
									ng-value="rowData.url" 
									ng-model="ecdapp.radiobutton.url"
									ng-change="ecdapp.selectController(rowData);">
	                					<i class="skin"></i>
	                					<span></span>
                			</label>
						</td>
						<td b2b-table-body
							ng-bind="rowData.name"/>
						<td b2b-table-body
							ng-bind="rowData.url"/>
					</tr>
				</tbody>
			</table>
		</div>
	</div>

	<div class="b2b-modal-footer ng-scope ng-isolate-scope">
		<div class="cta-button-group in">
			<button class="btn btn-small close-button" type="button" ng-click="$close()">
				Close
			</button>
		</div>
	</div>

</script>