Commit b4b49a45 authored by fv3rdugo's avatar fv3rdugo
Browse files

wip(frontend): add options proxmox backend

Issue #932
parent 760831ba
......@@ -55,7 +55,7 @@
</div>
</div>
<div class="form-group row">
<div ng-if="backend == 'KVM' || backend == 'Void'" class="form-group row">
<label for="name" class="col-xl-3 col-form-label"><%=l 'Name' %></label>
<div class="col-lg-9">
<input class="form-control" ng-model="name" type="text"
......@@ -77,9 +77,6 @@
</div>
</div>
<div ng-if="backend == 'Proxmox'" class="from-group row">
</div>
<div class="form-group row" ng-show="backend == 'KVM' || backend == 'LXC'">
<label for="memory" class="col-xl-3 col-form-label"><%=l 'Ram: (GB)' %></label>
<div class="col-lg-2">
......@@ -174,6 +171,22 @@
</div>
</div>
<div ng-if="backend == 'Proxmox'" class="from-group">
<div class="from-group row">
<label for="id_iso" class="col-xl-3 col-form-label"><%=l 'Select virtualization' %> <a
title="Choose Virtual Machine or LXC container you want to install."><i class="fa fa-info-circle"></i></a></label>
<div class="col-lg-9">
<button id="VM" ng-click="showVM=(showVM ? false : true)" class="btn btn-primary">
<i class="fas fa-desktop"></i>&nbsp;Create VM
</button>
<button id="CT" ng-click="" class="btn btn-primary" type="button">
<i class="fas fa-cube"></i>&nbsp;Create CT
</button>
</div>
<div ng-if="showVM">stub!</div>
</div>
</div>
<div class="form-group row">
<button type="reset" class="btn btn-outline-secondary mr-2" onclick = "location='/admin/machines'"><%=l 'Cancel' %></button>
<input type="submit" class="btn btn-primary" name="submit" value="<%=l 'Create' %>"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment