working resman fertig ohne kosten dashboard

This commit is contained in:
ecki
2026-03-07 14:41:59 +01:00
parent 507e9f3ac5
commit b3fc0e9121
+26 -29
View File
@@ -101,6 +101,7 @@ border-radius:6px;
<th>CPU</th> <th>CPU</th>
<th>RAM</th> <th>RAM</th>
<th>Disk</th> <th>Disk</th>
<th>OS</th>
<th>IPs</th> <th>IPs</th>
<th>Actions</th> <th>Actions</th>
</tr> </tr>
@@ -114,30 +115,6 @@ border-radius:6px;
<section> <section>
<h2>Cancelled Resources</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Produkt</th>
<th>Provider</th>
<th>CPU</th>
<th>RAM</th>
<th>Disk</th>
<th>Status</th>
</tr>
</thead>
<tbody id="cancelled"></tbody>
</table>
</section>
<section>
<h2>Domains</h2> <h2>Domains</h2>
<button onclick="openDomainCreate()">Neue Domain</button> <button onclick="openDomainCreate()">Neue Domain</button>
@@ -181,6 +158,30 @@ border-radius:6px;
</section> </section>
<section>
<h2>Cancelled Resources</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Produkt</th>
<th>Provider</th>
<th>CPU</th>
<th>RAM</th>
<th>Disk</th>
<th>Status</th>
</tr>
</thead>
<tbody id="cancelled"></tbody>
</table>
</section>
<div id="resourceModal" class="modal"> <div id="resourceModal" class="modal">
<h3 id="modalTitle">Resource</h3> <h3 id="modalTitle">Resource</h3>
@@ -315,21 +316,17 @@ tr.innerHTML=`
<td>${r.cpu||""}</td> <td>${r.cpu||""}</td>
<td>${r.ram||""}</td> <td>${r.ram||""}</td>
<td>${r.disk||""}</td> <td>${r.disk||""}</td>
<td>${r.os||""}</td>
<td> <td>
${ips} ${ips}
<br> <br>
<button onclick="openIPManager(${r.id})">Manage</button> <button onclick="openIPManager(${r.id})">Manage</button>
</td> </td>
<td> <td>
<button onclick='openEdit(${JSON.stringify(r)})'>Edit</button> <button onclick='openEdit(${JSON.stringify(r)})'>Edit</button>
<button onclick="deleteResource(${r.id})">Delete</button> <button onclick="deleteResource(${r.id})">Delete</button>
</td> </td>