mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
83 lines
3.6 KiB
HTML
83 lines
3.6 KiB
HTML
{% extends "base.html" %}
|
|
{% block body %}
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-9 col-sm-12">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">Templates</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<table class="table table-bordered table-striped">
|
|
<thead>
|
|
<tr role="row">
|
|
<th>Proxmox ID</th>
|
|
<th>Name</th>
|
|
<th>Username</th>
|
|
<th>Disk Size (GB)</th>
|
|
<th>Description</th>
|
|
<th>Delete</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for template in templates %}
|
|
<tr role="row">
|
|
<td>{{ template['id'] }}</td>
|
|
<td>{{ template['name'] }}</td>
|
|
<td>{{ template['username'] }}</td>
|
|
<td>{{ template['disk'] }}</td>
|
|
<td>{{ template['desc'] }}</td>
|
|
<td>
|
|
<button class="btn btn-sm btn-danger delete-template" data-template_id="{{ template['id'] }}">
|
|
<span class="glyphicon glyphicon-remove"></span>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3 col-sm-12">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">Ignored Pools</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<table class="table table-bordered table-striped">
|
|
<thead>
|
|
<tr role="row">
|
|
<th>Pool</th>
|
|
<th>Delete</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for pool in ignored_pools %}
|
|
<tr role="row">
|
|
<td class="col-md-9">{{ pool }}</td>
|
|
<td class="col-md-3">
|
|
<button class="btn btn-sm btn-danger delete-ignored-pool" data-pool="{{ pool }}">
|
|
<span class="glyphicon glyphicon-remove"></span>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
<div class="col-md-9">
|
|
<input type="text" id="pool" class="form-control">
|
|
</div>
|
|
<div class="col-md-3">
|
|
<button class="btn btn-sm btn-success add-ignored-pool" data-pool="{{ pool }}">
|
|
<span class="glyphicon glyphicon-plus"></span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|