52 lines
1.6 KiB
HTML
52 lines
1.6 KiB
HTML
<!-- TODO: lots of stuff. -->
|
|
<div class="grid">
|
|
<div class="grid-cell flat-panel">
|
|
<p class="page-title"><i class="xo-icon-console xo-color-{{vm.power_state | lowercase}}"></i> {{VM.name_label}} console</p>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- ISO selector and CtrlAltSuppr button -->
|
|
<div class="grid">
|
|
<!-- force style for getting an non-visible background -->
|
|
<div class="grid-cell flat-panel" style="background-color: #edece4;">
|
|
<select
|
|
ng-repeat="host in [VM.$container] | resolve track by host.UUID"
|
|
class="form-control input-lg"
|
|
>
|
|
<option>Choose an iso file</option>
|
|
<optgroup
|
|
ng-repeat="SR in (host.poolRef | resolve).SRs | resolve | filter:{SR_type: 'iso'} | orderBy:'name_label'"
|
|
label="{{SR.name_label}}"
|
|
>
|
|
<option ng-repeat="VDI in SR.VDIs | resolve | orderBy:'name_label'">
|
|
{{VDI.name_label}}
|
|
</option>
|
|
<optgroup
|
|
ng-repeat="SR in (host.poolRef | resolve).SRs | resolve | filter:{SR_type: 'iso'} | filter:{$shared: false} | orderBy:'name_label'"
|
|
label="{{SR.name_label}}"
|
|
>
|
|
<option ng-repeat="VDI in SR.VDIs | resolve | orderBy:'name_label'">
|
|
{{VDI.name_label}}
|
|
</option>
|
|
</optgroup>
|
|
</select>
|
|
</div>
|
|
<div class="grid-cell text-center grid-button" tooltip="Eject CD">
|
|
<i class="fa fa-eject fa-2x fa-fw"></i>
|
|
</div>
|
|
<div class="grid-cell text-center grid-button" tooltip="Send Ctrl+Alt+Suppr">
|
|
<i class="fa fa-keyboard-o fa-2x fa-fw"></i>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- NoVNC panel -->
|
|
<div class="grid">
|
|
<div class="grid-cell flat-panel">
|
|
<xo-vnc
|
|
url="{{consoleUrl}}"
|
|
>
|
|
</xo-vnc>
|
|
<br/>
|
|
</div>
|
|
</div>
|