Alle Anlegen-Modals einheitlich auf max-width:1000px
- addGroupModal, addCredentialModal, addOptionModal (DHCP), addSwitchModal, deviceModal (Gerät anlegen), userModal (Benutzer anlegen) — bisher unterschiedliche/keine explizite Breite, jetzt einheitlich 1000px für ein konsistentes Erscheinungsbild. Bearbeiten-/Zuweisen-Modals bleiben bei ihrer bisherigen (kleineren) Breite, da dort keine so breite Rechtetabelle wie bei Neue Gruppe eingebettet ist. - Live verifiziert: Modal-Breite tatsächlich 1000px (vorher lieferte ein vergessener Flask-Neustart fälschlich 900px trotz bereits geänderter Vorlage — Erinnerung: Template-Änderungen brauchen ohne TEMPLATES_AUTO_RELOAD einen Neustart, anders als CSS/JS). - Gruppen-Rechtetabelle bei 1440px (typische Breite dieser App) identisch zum Neue-Gruppe-Modal nebeneinander, ohne Umbruch. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -69,7 +69,7 @@
|
|||||||
{% if can_create %}
|
{% if can_create %}
|
||||||
<!-- Modal: Neue Zugangsdaten -->
|
<!-- Modal: Neue Zugangsdaten -->
|
||||||
<div class="modal-overlay" id="addCredentialModal">
|
<div class="modal-overlay" id="addCredentialModal">
|
||||||
<div class="modal" style="max-width:380px;">
|
<div class="modal" style="max-width:1000px;">
|
||||||
<form method="post" onsubmit="return validateCredentialForm(this, 'add');">
|
<form method="post" onsubmit="return validateCredentialForm(this, 'add');">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h3>Neue Zugangsdaten</h3>
|
<h3>Neue Zugangsdaten</h3>
|
||||||
|
|||||||
@@ -96,7 +96,7 @@
|
|||||||
{% if can_create %}
|
{% if can_create %}
|
||||||
<!-- Modal: Neues Gerät -->
|
<!-- Modal: Neues Gerät -->
|
||||||
<div class="modal-overlay" id="deviceModal">
|
<div class="modal-overlay" id="deviceModal">
|
||||||
<div class="modal">
|
<div class="modal" style="max-width:1000px;">
|
||||||
<form method="post" onsubmit="return validateDeviceForm(this);">
|
<form method="post" onsubmit="return validateDeviceForm(this);">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h3>Neues Gerät hinzufügen</h3>
|
<h3>Neues Gerät hinzufügen</h3>
|
||||||
|
|||||||
@@ -268,7 +268,7 @@
|
|||||||
werden danach über die Gruppentabelle zugeordnet (die Gruppe muss
|
werden danach über die Gruppentabelle zugeordnet (die Gruppe muss
|
||||||
dafür erst existieren). -->
|
dafür erst existieren). -->
|
||||||
<div class="modal-overlay" id="addGroupModal">
|
<div class="modal-overlay" id="addGroupModal">
|
||||||
<div class="modal" style="max-width:900px;">
|
<div class="modal" style="max-width:1000px;">
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h3>Neue Gruppe</h3>
|
<h3>Neue Gruppe</h3>
|
||||||
|
|||||||
@@ -266,7 +266,7 @@
|
|||||||
|
|
||||||
{% if can_edit %}
|
{% if can_edit %}
|
||||||
<div class="modal-overlay" id="addOptionModal">
|
<div class="modal-overlay" id="addOptionModal">
|
||||||
<div class="modal">
|
<div class="modal" style="max-width:1000px;">
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<input type="hidden" name="add_dhcp_option" value="1">
|
<input type="hidden" name="add_dhcp_option" value="1">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
|
|||||||
@@ -146,7 +146,7 @@
|
|||||||
{% if can_create %}
|
{% if can_create %}
|
||||||
<!-- Modal: Neuer Switch -->
|
<!-- Modal: Neuer Switch -->
|
||||||
<div class="modal-overlay" id="addSwitchModal">
|
<div class="modal-overlay" id="addSwitchModal">
|
||||||
<div class="modal">
|
<div class="modal" style="max-width:1000px;">
|
||||||
<form method="post" onsubmit="return validateSwitchForm(this, 'add');">
|
<form method="post" onsubmit="return validateSwitchForm(this, 'add');">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h3>Neuen Switch hinzufügen</h3>
|
<h3>Neuen Switch hinzufügen</h3>
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
|
|
||||||
<!-- Modal: Neuer Benutzer -->
|
<!-- Modal: Neuer Benutzer -->
|
||||||
<div class="modal-overlay" id="userModal">
|
<div class="modal-overlay" id="userModal">
|
||||||
<div class="modal">
|
<div class="modal" style="max-width:1000px;">
|
||||||
<form method="post" id="userForm">
|
<form method="post" id="userForm">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h3>Neuen Benutzer anlegen</h3>
|
<h3>Neuen Benutzer anlegen</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user