sampleCustom.html
1.41 KB
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
<!-- partial HTML of patch panel app -->
<div id="ov-sample-custom" ng-controller="OvSampleCustomCtrl">
<div class="button-panel">
<div class="my-button" ng-click="getData()">
Load Devices
</div>
</div>
<div class="data-panel">
<div>
<label>Devices:
<select ng-model="myDev" ng-options="dev.name for dev in devices"></select>
</label>
</div>
</div>
<div class="button-panel">
<div class="my-button" ng-click="loadPorts()">
Load Ports
</div>
</div>
<div class="data-panel2">
<label>First Port:
<select ng-model="myPort1" ng-options="port.name for port in ports"></select>
</label>
<label>Second Port:
<select ng-model="myPort2" ng-options="port.name for port in ports"></select>
</label>
</div>
<div class="button-panel">
<div class="my-button" ng-click="done()">
Patch!
</div>
</div>
<div class="data-panel3">
<p>
<span class="quote">{{data.message}} </span>
</p>
<pre>
</pre>
</div>
<div class="button-panel">
<div class="my-button" ng-click="used()">
ConnectPoints in use
</div>
</div>
<div class="data-panel4">
<p>
<span class="quote">{{data.cpoints}} </span>
</p>
</div>
</div>