add svelte build
This commit is contained in:
commit
23320100fd
16
README.md
16
README.md
@ -10,7 +10,6 @@
|
|||||||
- remove most fields (names, ...) from users and add uid
|
- remove most fields (names, ...) from users and add uid
|
||||||
- create user_nextcloud table; to be re-created every day(?)
|
- create user_nextcloud table; to be re-created every day(?)
|
||||||
- [] ics for registered trips
|
- [] ics for registered trips
|
||||||
- [] beta.rudernlinz.at -> deploy 'beta' branch
|
|
||||||
|
|
||||||
# Nice to have
|
# Nice to have
|
||||||
## Frontend
|
## Frontend
|
||||||
@ -27,3 +26,18 @@
|
|||||||
´cd frontend´
|
´cd frontend´
|
||||||
´npm install´
|
´npm install´
|
||||||
´npm run (watch/build)´
|
´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)
|
||||||
|
@ -131,7 +131,7 @@
|
|||||||
{{ macros::checkbox(label='Immer anzeigen', name='always_show', id=planned_event.id,checked=planned_event.always_show) }}
|
{{ 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) }}
|
{{ macros::input(label='Anmerkungen', name='notes', type='input', value=planned_event.notes) }}
|
||||||
|
|
||||||
<input value="Bearbeiten" class="btn btn-primary" type="submit" />
|
<input value="Speichern" class="btn btn-primary" type="submit" />
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{# --- END Edit Form --- #}
|
{# --- END Edit Form --- #}
|
||||||
@ -212,7 +212,7 @@
|
|||||||
{{ macros::input(label='Anmerkungen', name='notes', type='input', value=trip.notes) }}
|
{{ 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) }}
|
{{ macros::select(select_name='trip_type', trip_types=trip_types, default='Reguläre Ausfahrt', selected_id=trip.trip_type_id) }}
|
||||||
|
|
||||||
<input value="Bearbeiten" class="btn btn-primary" type="submit" />
|
<input value="Speichern" class="btn btn-primary" type="submit" />
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{% if trip.rower | length == 0 %}
|
{% if trip.rower | length == 0 %}
|
||||||
|
@ -5,5 +5,10 @@ cargo b -r
|
|||||||
cd frontend
|
cd frontend
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
|
cd ..
|
||||||
|
cd rot_app
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
sudo systemctl restart rot
|
sudo systemctl restart rot
|
||||||
|
sudo systemctl restart rot-svelte
|
||||||
sudo systemctl status rot
|
sudo systemctl status rot
|
||||||
|
Loading…
Reference in New Issue
Block a user