This commit is contained in:
parent
4f6d3de79c
commit
ca734fda32
@ -89,9 +89,20 @@ tr:hover:not(.selected) {
|
|||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#navbar .navbar-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
#navbar h1 {
|
#navbar h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navbar .versionid {
|
||||||
|
margin-left: 20px;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navbar ul {
|
#navbar ul {
|
||||||
@ -113,13 +124,10 @@ tr:hover:not(.selected) {
|
|||||||
transition: background-color 0.3s;
|
transition: background-color 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navbar a:hover {
|
#navbar a:hover, #navbar a.active {
|
||||||
background-color: #007344; /* Etwas helleres Grün */
|
background-color: #007344; /* Etwas helleres Grün */
|
||||||
}
|
}
|
||||||
|
|
||||||
#navbar a.active {
|
|
||||||
background-color: #008C50; /* Mittleres Grün */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
@ -110,7 +110,7 @@
|
|||||||
|
|
||||||
function deleteRowsIfPasswordCorrect() {
|
function deleteRowsIfPasswordCorrect() {
|
||||||
const password = document.getElementById('password-input').value;
|
const password = document.getElementById('password-input').value;
|
||||||
if (password === 'wowmuchsecurity') {
|
if (password === 'geheim') {
|
||||||
deleteSelectedRows(); // Funktion, die die ausgewählten Zeilen löscht
|
deleteSelectedRows(); // Funktion, die die ausgewählten Zeilen löscht
|
||||||
hidePasswordPrompt();
|
hidePasswordPrompt();
|
||||||
} else {
|
} else {
|
||||||
@ -177,14 +177,17 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav id="navbar">
|
<nav id="navbar">
|
||||||
<h1>Elo's Rezept Rechner</h1>
|
<div class="navbar-header">
|
||||||
<ul>
|
<h1>Elo's Rezept Rechner</h1>
|
||||||
<li class="versionid">VERSION_ID</li>
|
<li class="versionid">VERSION_ID</li>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
<li><a href="/">Rechner</a></li>
|
<li><a href="/">Rechner</a></li>
|
||||||
<li><a href="/nutrition" class="active">Neue Lebensmittel</a></li>
|
<li><a href="/nutrition" class="active">Neue Lebensmittel</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<form onsubmit="event.preventDefault(); addNutritionEntry();" method="POST" id="nutrition-form">
|
<form onsubmit="event.preventDefault(); addNutritionEntry();" method="POST" id="nutrition-form">
|
||||||
<table id="nutrition-input-table">
|
<table id="nutrition-input-table">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user