diff --git a/README.md b/README.md index 681a4b2..db8dea1 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,6 @@ - remove most fields (names, ...) from users and add uid - create user_nextcloud table; to be re-created every day(?) - [] ics for registered trips -- [] beta.rudernlinz.at -> deploy 'beta' branch # Nice to have ## Frontend @@ -27,3 +26,18 @@ ´cd frontend´ ´npm install´ ´npm run (watch/build)´ + + +---- + +user +- UID +- pw +- last_access + +user_details +- UID +- fn (formatted name) +- is_cox (if CATEGORIES = {Steuerleute, Bootsführer}) +- is_admin (if CATEGORIES = Admin) +- is_guest (if person not in nextcloud) diff --git a/templates/index.html.tera b/templates/index.html.tera index 800175f..10b817a 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -131,7 +131,7 @@ {{ macros::checkbox(label='Immer anzeigen', name='always_show', id=planned_event.id,checked=planned_event.always_show) }} {{ macros::input(label='Anmerkungen', name='notes', type='input', value=planned_event.notes) }} - + {# --- END Edit Form --- #} @@ -212,7 +212,7 @@ {{ macros::input(label='Anmerkungen', name='notes', type='input', value=trip.notes) }} {{ macros::select(select_name='trip_type', trip_types=trip_types, default='Reguläre Ausfahrt', selected_id=trip.trip_type_id) }} - + {% if trip.rower | length == 0 %} diff --git a/update.sh b/update.sh index c80d678..31c19ae 100755 --- a/update.sh +++ b/update.sh @@ -5,5 +5,10 @@ cargo b -r cd frontend npm install npm run build +cd .. +cd rot_app +npm install +npm run build sudo systemctl restart rot +sudo systemctl restart rot-svelte sudo systemctl status rot