From 51475e2d8354228c6861ccfe392e7818b792e368 Mon Sep 17 00:00:00 2001 From: darta Date: Tue, 28 Dec 2021 21:33:38 +0100 Subject: [PATCH] fix(api): removed generated templates --- .gitignore | 3 + .../api/src/api/static/templates/header.html | 171 ------------------ .../api/src/api/static/templates/header.json | 1 - .../static/templates/header_nextcloud.html | 171 ------------------ 4 files changed, 3 insertions(+), 343 deletions(-) delete mode 100644 docker/api/src/api/static/templates/header.html delete mode 100644 docker/api/src/api/static/templates/header.json delete mode 100644 docker/api/src/api/static/templates/header_nextcloud.html diff --git a/.gitignore b/.gitignore index 4fab882..20afd7d 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,6 @@ __pycache__/ __pycache__ **/__pycache__ +# api generated templates +docker/api/src/api/static/templates/*.html +docker/api/src/api/static/templates/*.json diff --git a/docker/api/src/api/static/templates/header.html b/docker/api/src/api/static/templates/header.html deleted file mode 100644 index d24e90f..0000000 --- a/docker/api/src/api/static/templates/header.html +++ /dev/null @@ -1,171 +0,0 @@ - - \ No newline at end of file diff --git a/docker/api/src/api/static/templates/header.json b/docker/api/src/api/static/templates/header.json deleted file mode 100644 index a76bc11..0000000 --- a/docker/api/src/api/static/templates/header.json +++ /dev/null @@ -1 +0,0 @@ -{"background_login": "https://api.mydomain.duckdns.org/img/background.png", "colours": {"background": "#F0F0F0", "primary": "#92AE01", "secondary": "#FFFFFF"}, "logo": "https://api.mydomain.duckdns.org/img/logo.png", "apps_external": [{"href": "https://myweb", "icon": "fa fa-university", "name": "Escola Web", "shortname": "web"}, {"href": "https://myvideos", "icon": "fa fa-youtube-play", "name": "Youtube", "shortname": "youtube"}, {"href": "https://mydictionary", "icon": "fa fa-book", "name": "Diccionari", "shortname": "diccionari"}, {"href": "http://meet.jit.si", "icon": "fa fa-video-camera", "name": "Reunions Jitsi", "shortname": "jitsi"}, {"href": "https://www.duckduckgo.com", "icon": "fa fa-search", "name": "Cercar", "shortname": "search"}, {"href": "https://www.openstreetmap.org", "icon": "fa fa-map-marker", "name": "Maps", "shortname": "maps"}], "apps_internal": [{"href": "https://nextcloud.mydomain.duckdns.org/", "icon": "fa fa-cloud", "name": "N\u00favol + crear arxius", "shortname": "cloud"}, {"href": "https://nextcloud.mydomain.duckdns.org/apps/mail/setup", "icon": "fa fa-envelope-o", "name": "Correu", "shortname": "email"}, {"href": "https://pad.mydomain.duckdns.org/", "icon": "fa fa-file-text-o", "name": "Pads", "shortname": "pads"}, {"href": "https://nextcloud.mydomain.duckdns.org/apps/forms", "icon": "fa fa-check-square-o", "name": "Formularis", "shortname": "forms"}, {"href": "https://nextcloud.mydomain.duckdns.org/apps/polls", "icon": "fa fa-bar-chart", "name": "Enquestes", "shortname": "feedback"}, {"href": "https://nextcloud.mydomain.duckdns.org/apps/spreed", "icon": "fa fa-commenting-o", "name": "Xat", "shortname": "chat"}, {"href": "https://nextcloud.mydomain.duckdns.org/apps/calendar", "icon": "fa fa-calendar", "name": "Calendari", "shortname": "schedule"}, {"href": "https://wp.mydomain.duckdns.org/wp-login.php?saml_sso", "icon": "fa fa-rss", "name": "Webs", "shortname": "webs"}, {"href": "https://nextcloud.mydomain.duckdns.org/apps/bbb", "icon": "fa fa-video-camera", "name": "Reunions BBB", "shortname": "meets_bbb"}, {"href": "https://nextcloud.mydomain.duckdns.org/apps/photos", "icon": "fa fa-file-image-o", "name": "Fotos", "shortname": "photos"}], "user": {"account": "https://sso.mydomain.duckdns.org/auth/realms/master/account", "avatar": "https://sso.mydomain.duckdns.org/auth/realms/master/avatar-provider", "password": "https://sso.mydomain.duckdns.org/auth/realms/master/password"}} \ No newline at end of file diff --git a/docker/api/src/api/static/templates/header_nextcloud.html b/docker/api/src/api/static/templates/header_nextcloud.html deleted file mode 100644 index d24e90f..0000000 --- a/docker/api/src/api/static/templates/header_nextcloud.html +++ /dev/null @@ -1,171 +0,0 @@ - - \ No newline at end of file