IP Form gefixt
This commit is contained in:
@@ -29,18 +29,31 @@ Ressourcen- und Infrastruktur-Management Tool für Server, Domains und IPs.
|
||||
## 📁 Projektstruktur
|
||||
|
||||
backend/
|
||||
|
||||
routes/
|
||||
|
||||
controllers/
|
||||
|
||||
public/
|
||||
|
||||
index.html
|
||||
|
||||
css/
|
||||
|
||||
js/
|
||||
|
||||
api.js
|
||||
|
||||
main.js
|
||||
|
||||
resources.js
|
||||
|
||||
domains.js
|
||||
|
||||
modals.js
|
||||
|
||||
costs.js
|
||||
|
||||
infra.js
|
||||
|
||||
|
||||
|
||||
+13
-11
@@ -227,6 +227,19 @@ Domains jährlich: <span id="costDomain">0</span> €<br>
|
||||
|
||||
<hr>
|
||||
|
||||
<div id="ipForm">
|
||||
<input id="new_ip" placeholder="IP">
|
||||
<input id="new_type" placeholder="public / private">
|
||||
<input id="new_comment" placeholder="Beschreibung">
|
||||
|
||||
|
||||
<button id="ipSaveBtn" onclick="saveIP()">Add</button>
|
||||
<button id="ipCancelBtn" onclick="cancelIPEdit()" style="display:none">
|
||||
Cancel
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
<button onclick="saveIP()">Add</button>
|
||||
|
||||
<br><br>
|
||||
@@ -235,17 +248,6 @@ Domains jährlich: <span id="costDomain">0</span> €<br>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="ipForm">
|
||||
<input id="new_ip" placeholder="IP">
|
||||
<input id="new_type" placeholder="public / private">
|
||||
<input id="new_comment" placeholder="Beschreibung">
|
||||
|
||||
|
||||
<button id="ipSaveBtn" onclick="saveIP()">Add</button>
|
||||
<button id="ipCancelBtn" onclick="cancelIPEdit()" style="display:none">
|
||||
Cancel
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -62,6 +62,7 @@ window.loadResources = async function(){
|
||||
<td>
|
||||
${ips}
|
||||
<br>
|
||||
<button type="button" onclick="openIPManager(${r.id})">IPs</button>
|
||||
<button onclick="openIPManager(${r.id})">IPs</button>
|
||||
</td>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user