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