6 Commits
0.1.1 ... 0.1.2

Author SHA1 Message Date
449dba1d7e Merge branch 'main' of gitea.hottis.de:moerp/elo-rezept-rechner
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2024-01-30 16:56:03 +01:00
b6d1367019 test 2024-01-30 16:55:44 +01:00
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
4 changed files with 28 additions and 23 deletions

View File

@ -15,4 +15,3 @@ EXPOSE 8080
CMD "./start.sh"

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;