diff --git a/main.py b/main.py index 6dc4035..649c6a9 100644 --- a/main.py +++ b/main.py @@ -98,7 +98,7 @@ def _anonymize_name(name: str) -> str: return result -def _get_data(): +def _get_data() -> DTO: credentials: Credentials = Credentials.from_service_account_file('token.json', scopes=_SCOPES) service = build('sheets', 'v4', credentials=credentials) diff --git a/run-locally.sh b/run-locally.sh new file mode 100755 index 0000000..68590e2 --- /dev/null +++ b/run-locally.sh @@ -0,0 +1,2 @@ +#!/bin/bash +functions_framework --target process \ No newline at end of file diff --git a/templates/frietlijst.html b/templates/frietlijst.html index 9e3ae90..f9d42e3 100644 --- a/templates/frietlijst.html +++ b/templates/frietlijst.html @@ -5,33 +5,36 @@ -
-

Reeds besteld

-
    - {% for applicant in dto.applicants %} -
  1. {{ applicant }}
  2. - {% endfor %} -
+
+

Reeds besteld

+
    + {% for applicant in dto.applicants %} +
  1. {{ applicant }}
  2. + {% endfor %} +
-

Streeplijst

- -

Totaaloverzicht

- -
+

Streeplijst

+ +

Totaaloverzicht

+ +

Heb je feedback? + Klik hier!

+
\ No newline at end of file