4 Commits

Author SHA1 Message Date
2ff8757b74 style 2024-01-30 16:50:15 +01:00
7f06e900bb test 2024-01-30 16:27:16 +01:00
4c2338c34a test
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-01-30 16:24:45 +01:00
5f8d49f054 test 2024-01-30 16:19:08 +01:00
3 changed files with 28 additions and 22 deletions

View File

@ -20,8 +20,6 @@ app.config.update({
oidc = OpenIDConnect(app)
def calculate_nutrition(food, weight):
try:
conn = psycopg2.connect()
@ -51,6 +49,7 @@ def calculate_nutrition(food, weight):
conn.close()
# Index-Route
@app.route('/')
@oidc.require_login

View File

@ -37,10 +37,17 @@ button#remove-button {
background-color: #f443366f; /* Helles Rot */
}
button#remove-button:disabled {
background-color: #cccccc;
color: #666666;
}
button#remove-button:not(:disabled):hover {
background-color: #d32f2f3d; /* Dunkleres Rot */
}
table {
width: 100%;
border-collapse: collapse;