weitere Design-Verbesserungen und -Fehlerbehebungen
This commit is contained in:
parent
ccbf70982f
commit
cf8c38a904
4 changed files with 35 additions and 28 deletions
|
|
@ -171,7 +171,7 @@ h1 {
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
|
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 10px 0;
|
padding: 10px 10px 0px 0px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
transform: translateX(-100%);
|
transform: translateX(-100%);
|
||||||
|
|
@ -246,21 +246,24 @@ tr:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Button */
|
/* Button */
|
||||||
.btn-new {
|
.btn-xr {
|
||||||
display: inline-block;
|
position: fixed;
|
||||||
|
bottom: 20px;
|
||||||
|
right: 20px;
|
||||||
background: var(--primary-color);
|
background: var(--primary-color);
|
||||||
color: white;
|
color: white;
|
||||||
padding: 12px 20px;
|
padding: 12px 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
border: none;
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
box-shadow: var(--box-shadow);
|
box-shadow: var(--box-shadow);
|
||||||
transition: var(--transition);
|
transition: var(--transition);
|
||||||
margin: 20px 0;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-new:hover {
|
.btn-xr:hover {
|
||||||
background: var(--primary-hover);
|
background: var(--primary-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ $entries = $stmt->fetchAll();
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<!-- Neu-Button -->
|
<!-- Neu-Button -->
|
||||||
<a href="new_entry.php" class="btn-new">Neu</a>
|
<a href="new_entry.php" class="btn-xr">Neu</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
||||||
|
|
@ -78,10 +78,9 @@ if (!empty($_POST) && isset($DEBUG)) { // $_SERVER['REQUEST_METHOD'] === 'POST'
|
||||||
<ul class="nav-list">
|
<ul class="nav-list">
|
||||||
<li><a href="dashboard.php">Start</a></li>
|
<li><a href="dashboard.php">Start</a></li>
|
||||||
<li><a href="register.php">Neue User</a></li>
|
<li><a href="register.php">Neue User</a></li>
|
||||||
|
<li><a href="menu3.php" style="display: none;">Menüpunkt 3</a></li>
|
||||||
<li><a href="menu3.php">Menüpunkt 3</a></li>
|
<li><a href="menu4.php" style="display: none;">Menüpunkt 4</a></li>
|
||||||
<li><a href="menu4.php">Menüpunkt 4</a></li>
|
<li><a href="menu5.php" style="display: none;">Menüpunkt 5</a></li>
|
||||||
<li><a href="menu5.php">Menüpunkt 5</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<a href="logout.php" class="logout">Logout</a>
|
<a href="logout.php" class="logout">Logout</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -109,7 +108,7 @@ if (!empty($_POST) && isset($DEBUG)) { // $_SERVER['REQUEST_METHOD'] === 'POST'
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input type="text" name="payment_method" placeholder="Zahlweise">
|
<input type="text" name="payment_method" placeholder="Zahlweise">
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn-submit">Speichern</button>
|
<button type="submit" class="btn-xr">Speichern</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -47,10 +47,9 @@ $conn->close();
|
||||||
<ul class="nav-list">
|
<ul class="nav-list">
|
||||||
<li><a href="dashboard.php">Start</a></li>
|
<li><a href="dashboard.php">Start</a></li>
|
||||||
<li><a href="register.php">Neue User</a></li>
|
<li><a href="register.php">Neue User</a></li>
|
||||||
|
<li><a href="menu3.php" style="display: none;">Menüpunkt 3</a></li>
|
||||||
<li><a href="menu3.php">Menüpunkt 3</a></li>
|
<li><a href="menu4.php" style="display: none;">Menüpunkt 4</a></li>
|
||||||
<li><a href="menu4.php">Menüpunkt 4</a></li>
|
<li><a href="menu5.php" style="display: none;">Menüpunkt 5</a></li>
|
||||||
<li><a href="menu5.php">Menüpunkt 5</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<a href="logout.php" class="logout">Logout</a>
|
<a href="logout.php" class="logout">Logout</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
@ -59,13 +58,19 @@ $conn->close();
|
||||||
|
|
||||||
|
|
||||||
<h2>Registrierung</h2>
|
<h2>Registrierung</h2>
|
||||||
<form method="post" action="register.php">
|
<form method="post" action="register.php" class="form-container">
|
||||||
Username: <input type="text" name="username" required><br>
|
<div class="form-group">
|
||||||
Passwort: <input type="password" name="password" required><br>
|
<input type="text" name="username" value="Username" required>
|
||||||
<input type="submit" value="Registrieren">
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<input type="text" name="password" value="password" required>
|
||||||
|
</div>
|
||||||
|
<input type="submit" class="btn-submit" value="Registrieren">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script src="assets/js/script.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue