add basic db setup, add vm expirations and cron to handle them, and add fields for sweetalert button classes

This commit is contained in:
Jordan Rodgers 2017-12-08 09:51:45 -05:00
parent 6debe3d9fd
commit 9beecf12fa
7 changed files with 186 additions and 8 deletions

View file

@ -75,6 +75,13 @@
<dd>{{ vm['config']['cores'] * vm['config'].get('sockets', 1) }}</dd>
<dt>Memory</dt>
<dd>{{ vm['config']['memory'] }} MB</dd>
<dt>Expiration</dt>
<dd>
{{ vm['expire'] }}
<button class="btn btn-success proxstar-renewbtn" id="renew-vm" name="renew" data-vmid="{{ vm['vmid'] }}" data-vmname="{{ vm['name'] }}">
<span class="glyphicon glyphicon-plus"></span>
</button>
</dd>
</dl>
</div>
</div>