@@ -166,11 +166,11 @@ <h6 class="m-0 font-weight-bold text-primary">Snapshots</h6>
166
166
</ div >
167
167
168
168
< div class ="col-12 ">
169
- <!-- Network Interface List -->
169
+ <!-- Network Devices List -->
170
170
< div class ="card shadow mb-4 ">
171
171
<!-- Card Header - Dropdown -->
172
172
< div class ="card-header py-3 d-flex flex-row align-items-center justify-content-between ">
173
- < h6 class ="m-0 font-weight-bold text-primary "> Network Interfaces </ h6 >
173
+ < h6 class ="m-0 font-weight-bold text-primary "> Network Devices </ h6 >
174
174
< div class ="dropdown no-arrow ">
175
175
< a class ="dropdown-toggle " href ="# " role ="button " id ="dropdownMenuLink " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
176
176
< i class ="fas fa-ellipsis-v fa-sm fa-fw text-gray-400 "> </ i >
@@ -184,12 +184,12 @@ <h6 class="m-0 font-weight-bold text-primary">Network Interfaces</h6>
184
184
<!-- Card Body -->
185
185
< div class ="card-body ">
186
186
< div class ="table-responsive ">
187
- < table class ="table " id ="networkInterfaceTableList " width ="100% " cellspacing ="0 ">
187
+ < table class ="table " id ="networkDeviceTableList " width ="100% " cellspacing ="0 ">
188
188
</ table >
189
189
</ div >
190
190
</ div >
191
191
</ div >
192
- <!-- End Network Interface ist -->
192
+ <!-- End Network Devices ist -->
193
193
</ div >
194
194
195
195
< div class ="col-12 ">
@@ -219,6 +219,33 @@ <h6 class="m-0 font-weight-bold text-primary">Disk Devices</h6>
219
219
<!-- End Disk Device ist -->
220
220
</ div >
221
221
222
+ < div class ="col-12 ">
223
+ <!-- Proxy Device List -->
224
+ < div class ="card shadow mb-4 ">
225
+ <!-- Card Header - Dropdown -->
226
+ < div class ="card-header py-3 d-flex flex-row align-items-center justify-content-between ">
227
+ < h6 class ="m-0 font-weight-bold text-primary "> Proxy Devices</ h6 >
228
+ < div class ="dropdown no-arrow ">
229
+ < a class ="dropdown-toggle " href ="# " role ="button " id ="dropdownMenuLink " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
230
+ < i class ="fas fa-ellipsis-v fa-sm fa-fw text-gray-400 "> </ i >
231
+ </ a >
232
+ < div class ="dropdown-menu dropdown-menu-right shadow animated--fade-in " aria-labelledby ="dropdownMenuLink ">
233
+ < div class ="dropdown-header "> Options:</ div >
234
+
235
+ </ div >
236
+ </ div >
237
+ </ div >
238
+ <!-- Card Body -->
239
+ < div class ="card-body ">
240
+ < div class ="table-responsive ">
241
+ < table class ="table " id ="proxyDeviceTableList " width ="100% " cellspacing ="0 ">
242
+ </ table >
243
+ </ div >
244
+ </ div >
245
+ </ div >
246
+ <!-- End Proxy Device ist -->
247
+ </ div >
248
+
222
249
223
250
< div class ="col-12 ">
224
251
<!-- Profile List -->
@@ -475,8 +502,9 @@ <h5 class="modal-title" id="exampleModalLabel">Publish Instance</h5>
475
502
var operationNumber = "" ;
476
503
var instanceDetails = "" ;
477
504
var snapshotDetails = "" ;
478
- var networkInternfaceDetails = "" ;
505
+ var networkDeviceDetails = "" ;
479
506
var diskDeviceDetails = "" ;
507
+ var proxyDeviceDetails = "" ;
480
508
var profileDetails = "" ;
481
509
var redirectURL = "" ;
482
510
@@ -544,19 +572,27 @@ <h5 class="modal-title" id="exampleModalLabel">Publish Instance</h5>
544
572
545
573
//Load the network info for the network interfaces card if changed
546
574
$ . get ( "./php/lxd/instance-single-network-list.php?instance=" + encodeURI ( instanceName ) + "&remote=" + encodeURI ( remoteName ) + "&project=" + encodeURI ( projectName ) , function ( data ) {
547
- if ( networkInternfaceDetails != data ) {
548
- $ ( "#networkInterfaceTableList " ) . html ( data ) ;
549
- networkInternfaceDetails = data ;
575
+ if ( networkDeviceDetails != data ) {
576
+ $ ( "#networkDeviceTableList " ) . html ( data ) ;
577
+ networkDeviceDetails = data ;
550
578
}
551
579
} ) ;
552
580
553
581
//Load the disk info for the disk devices card if changed
554
- $ . get ( "./php/lxd/instance-single-device -list.php?instance=" + encodeURI ( instanceName ) + "&remote=" + encodeURI ( remoteName ) + "&project=" + encodeURI ( projectName ) , function ( data ) {
582
+ $ . get ( "./php/lxd/instance-single-disk -list.php?instance=" + encodeURI ( instanceName ) + "&remote=" + encodeURI ( remoteName ) + "&project=" + encodeURI ( projectName ) , function ( data ) {
555
583
if ( diskDeviceDetails != data ) {
556
584
$ ( "#diskDeviceTableList" ) . html ( data ) ;
557
585
diskDeviceDetails = data ;
558
586
}
559
587
} ) ;
588
+
589
+ //Load the proxy info for the proxy devices card if changed
590
+ $ . get ( "./php/lxd/instance-single-proxy-list.php?instance=" + encodeURI ( instanceName ) + "&remote=" + encodeURI ( remoteName ) + "&project=" + encodeURI ( projectName ) , function ( data ) {
591
+ if ( proxyDeviceDetails != data ) {
592
+ $ ( "#proxyDeviceTableList" ) . html ( data ) ;
593
+ proxyDeviceDetails = data ;
594
+ }
595
+ } ) ;
560
596
561
597
//Load the profile info for the profile card if changed
562
598
$ . get ( "./php/lxd/instance-single-profile-list.php?instance=" + encodeURI ( instanceName ) + "&remote=" + encodeURI ( remoteName ) + "&project=" + encodeURI ( projectName ) , function ( data ) {
0 commit comments