diff --git a/amt/locale/base.pot b/amt/locale/base.pot index 61489aaa..67deec0d 100644 --- a/amt/locale/base.pot +++ b/amt/locale/base.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2024-10-09 19:49+0200\n" +"POT-Creation-Date: 2024-10-10 11:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -147,6 +147,10 @@ msgstr "" msgid "An error occurred. Please try again later" msgstr "" +#: amt/site/templates/layouts/base.html.j2:11 +msgid "Algorithmic Management Toolkit (AMT)" +msgstr "" + #: amt/site/templates/macros/tasks.html.j2:14 msgid "Todo" msgstr "" @@ -339,3 +343,7 @@ msgstr "" msgid "Create Project" msgstr "" +#: amt/site/templates/projects/new.html.j2:152 +msgid "Copy results and close" +msgstr "" + diff --git a/amt/locale/en_US/LC_MESSAGES/messages.mo b/amt/locale/en_US/LC_MESSAGES/messages.mo index 7e5e04d8..888525f5 100644 Binary files a/amt/locale/en_US/LC_MESSAGES/messages.mo and b/amt/locale/en_US/LC_MESSAGES/messages.mo differ diff --git a/amt/locale/en_US/LC_MESSAGES/messages.po b/amt/locale/en_US/LC_MESSAGES/messages.po index 9a399482..a6c51330 100644 --- a/amt/locale/en_US/LC_MESSAGES/messages.po +++ b/amt/locale/en_US/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2024-10-09 19:49+0200\n" +"POT-Creation-Date: 2024-10-10 11:00+0200\n" "PO-Revision-Date: 2024-07-25 21:01+0200\n" "Last-Translator: FULL NAME \n" "Language: en_US\n" @@ -148,6 +148,10 @@ msgstr "" msgid "An error occurred. Please try again later" msgstr "" +#: amt/site/templates/layouts/base.html.j2:11 +msgid "Algorithmic Management Toolkit (AMT)" +msgstr "" + #: amt/site/templates/macros/tasks.html.j2:14 msgid "Todo" msgstr "" @@ -340,6 +344,10 @@ msgstr "" msgid "Create Project" msgstr "" +#: amt/site/templates/projects/new.html.j2:152 +msgid "Copy results and close" +msgstr "" + #~ msgid "TEST" #~ msgstr "" diff --git a/amt/locale/nl_NL/LC_MESSAGES/messages.mo b/amt/locale/nl_NL/LC_MESSAGES/messages.mo index 403ca90f..f675f2e1 100644 Binary files a/amt/locale/nl_NL/LC_MESSAGES/messages.mo and b/amt/locale/nl_NL/LC_MESSAGES/messages.mo differ diff --git a/amt/locale/nl_NL/LC_MESSAGES/messages.po b/amt/locale/nl_NL/LC_MESSAGES/messages.po index c6e1f434..9cf6c9c3 100644 --- a/amt/locale/nl_NL/LC_MESSAGES/messages.po +++ b/amt/locale/nl_NL/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2024-10-09 19:49+0200\n" +"POT-Creation-Date: 2024-10-10 11:00+0200\n" "PO-Revision-Date: 2024-07-25 21:01+0200\n" "Last-Translator: FULL NAME \n" "Language: nl_NL\n" @@ -154,6 +154,10 @@ msgstr "Er is een fout opgetreden" msgid "An error occurred. Please try again later" msgstr "Er is een fout opgetreden. Probeer het later opnieuw." +#: amt/site/templates/layouts/base.html.j2:11 +msgid "Algorithmic Management Toolkit (AMT)" +msgstr "Algoritme Management Toolkit (AMT)" + #: amt/site/templates/macros/tasks.html.j2:14 msgid "Todo" msgstr "Te doen" @@ -340,8 +344,8 @@ msgid "" "Overview of instruments for the responsible development, deployment, " "assessment and monitoring of algorithms and AI-systems." msgstr "" -"Overzicht van aanbevolen insturment voor het verantwoord ontwikkelen, " -"gebruiken,beoordelen en monitren van algoritmes en AI-systemen." +"Overzicht van aanbevolen instrument voor het verantwoord ontwikkelen, " +"gebruiken, beoordelen en monitoren van algoritmes en AI-systemen." #: amt/site/templates/projects/new.html.j2:124 msgid "Choose one or more instruments" @@ -351,6 +355,10 @@ msgstr "Kies één of meerdere instrumenten" msgid "Create Project" msgstr "Maak project" +#: amt/site/templates/projects/new.html.j2:152 +msgid "Copy results and close" +msgstr "Resultaten overnemen en sluiten" + #~ msgid "TEST" #~ msgstr "" diff --git a/amt/site/static/ts/amt.ts b/amt/site/static/ts/amt.ts index 3edc8d6e..ae3754aa 100644 --- a/amt/site/static/ts/amt.ts +++ b/amt/site/static/ts/amt.ts @@ -124,6 +124,10 @@ export function closeModal() { if (el != null) { el.classList.add("display-none"); } +} + +export function closeModalSave() { + closeModal(); // Get decision tree state from local store. const decision_tree_state = localStorage?.getItem("labelsbycategory"); diff --git a/amt/site/templates/projects/new.html.j2 b/amt/site/templates/projects/new.html.j2 index faec7e10..661695ff 100644 --- a/amt/site/templates/projects/new.html.j2 +++ b/amt/site/templates/projects/new.html.j2 @@ -144,19 +144,16 @@ - + {% endblock content %} diff --git a/script/server b/script/server new file mode 100755 index 00000000..ecb45025 --- /dev/null +++ b/script/server @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -x + +docker compose up -d + +sleep 1 +open http://0.0.0.0:8070