diff --git a/esp_proxmox.php b/esp_proxmox.php
index cdf2623..7ec654e 100644
--- a/esp_proxmox.php
+++ b/esp_proxmox.php
@@ -137,13 +137,10 @@ ob_start();
- = $isVps?'VPS':($isPmx?'PMX':'—') ?>
+ style="cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;font-size:9px;font-weight:700;margin:0 3px;background:= $isVps?'#3fb950':'#333' ?>;color:= $isVps?'#0d1117':'#666' ?>;= $isVps?'box-shadow:0 0 5px #3fb950;':'' ?>">V
+ style="cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;font-size:9px;font-weight:700;margin:0 3px;background:= $isPmx?'#3fb950':'#333' ?>;color:= $isPmx?'#0d1117':'#666' ?>;= $isPmx?'box-shadow:0 0 5px #3fb950;':'' ?>">P
|
diff --git a/esp_vps.php b/esp_vps.php
index 3d1ce97..cd15962 100644
--- a/esp_vps.php
+++ b/esp_vps.php
@@ -94,9 +94,11 @@ ob_start();
-
-
-
+ |
+ V
+ P
|
@@ -114,7 +116,7 @@ function act(uid, action, extra){
fetch('/esp_vps.php',{method:'POST',body:fd}).then(()=>location.reload());
}
document.addEventListener('click',function(e){
- const b=e.target.closest('button[data-act]'); if(!b) return;
+ const b=e.target.closest('[data-act]'); if(!b) return;
if(b.dataset.act==='delete' && !confirm('Remover '+b.dataset.uid+'?')) return;
const extra={};
if(b.dataset.pair!==undefined) extra.pair=b.dataset.pair;