Adding Network and Small corrections
This commit is contained in:
36
templates/edit_lxc.html
Normal file
36
templates/edit_lxc.html
Normal file
@@ -0,0 +1,36 @@
|
||||
{% extends 'layout.html' %}
|
||||
{% block content %}
|
||||
{% include 'menu.html' %}
|
||||
<div class="container">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
Ressources of {{ lxc_name }}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<i class="fa-solid fa-microchip"></i> vCPU : {{ max_vCPU }}</br></br>
|
||||
<i class="fa-solid fa-memory"></i> Memory: {{ actual_ram }}</br></br>
|
||||
<i class="fa-solid fa-memory"></i> Max Memory: {{ max_Mermory }}</br></br>
|
||||
<i class="fa-solid fa-memory"></i> Swap: {{ max_swap }}</br></br>
|
||||
</div>
|
||||
|
||||
<div class="col-sm">
|
||||
<form action="/editressourceslxc" method="post">
|
||||
<input type="hidden" name="lxc_name" value="{{ lxc_name }}"></input>
|
||||
<table><tr><td>CPU :</td><td><input type="text" name="new_cpu" class="form-control form-control-sm" placeholder="{{ max_vCPU }}" value="{{ max_vCPU }}" ></input></td></tr></table><br>
|
||||
<table><tr><td>Memory :</td><td><input type="text" name="new_mem" class="form-control form-control-sm" placeholder="{{ actual_ram }}" value="{{ actual_ram }}" ></input></td></tr></table><br>
|
||||
<table><tr><td>Max Memory :</td><td><input type="text" name="new_max_mem" class="form-control form-control-sm" placeholder="{{ max_Mermory }}" value="{{ max_Mermory }}" ></input></td></tr></table><br>
|
||||
<table><tr><td>Swap :</td><td><input type="text" name="new_max_swap" class="form-control form-control-sm" placeholder="{{ max_swap }}" value="{{ max_swap }}" ></input></td></tr></table><br>
|
||||
<br><br>
|
||||
<button type="submit" class="btn btn-outline-warning btn-hype"><i class="fa-solid fa-pencil"></i></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user