From 431503dbca5751495f3005f18e334197625b4967 Mon Sep 17 00:00:00 2001 From: Mirjan Hoffmann Date: Mon, 7 Mar 2022 14:24:58 +0100 Subject: [PATCH] first draft (based on https://gitlab.com/TIBHannover/oer/course-metadata-gitlab-form) --- .gitignore | 1 + .gitlab-ci.yml | 11 + README.md | 7 + i18n/de.json | 19 ++ i18n/en.json | 6 + i18n/hcrt-de.json | 27 ++ i18n/hcrt-en.json | 27 ++ metadata-generator.html | 547 ++++++++++++++++++++++++++++++++++++++++ 8 files changed, 645 insertions(+) create mode 100644 .gitignore create mode 100644 .gitlab-ci.yml create mode 100644 README.md create mode 100644 i18n/de.json create mode 100644 i18n/en.json create mode 100644 i18n/hcrt-de.json create mode 100644 i18n/hcrt-en.json create mode 100644 metadata-generator.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..723ef36 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..b42b171 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +pages: + stage: deploy + script: + - mkdir .public + - cp -r * .public + - mv .public public + artifacts: + paths: + - public + only: + - master diff --git a/README.md b/README.md new file mode 100644 index 0000000..a9bf408 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Metadata GitLab Form + +Simple user interface to collect standard metadata and create a yml file. + +* simple HTML/JS file, that form entries into a yml format + +[Form](https://oersi.gitlab.io/metadata-gitlab-form/metadata-generator.html) diff --git a/i18n/de.json b/i18n/de.json new file mode 100644 index 0000000..c47800b --- /dev/null +++ b/i18n/de.json @@ -0,0 +1,19 @@ +{ + "FORM_HEADING": "OER Metadaten Formular", + "LABEL_CREATOR_ADD": " weiteren Autor hinzufügen", + "LABEL_CREATOR_GIVEN_NAME": "Vorname", + "LABEL_CREATOR_ID": "(Optional) Persönliche ID (wie ORCID, GND, ...)", + "LABEL_CREATOR_LAST_NAME": "Nachname", + "LABEL_CREATOR_REMOVE": " Autor entfernen", + "LABEL_DESCRIPTION": "Zusammenfassung", + "LABEL_KEYWORDS": "Schlagworte", + "LABEL_KEYWORDS_PLACEHOLDER": "Komma getrennte Liste von Schlagworten", + "LABEL_LEARNINGRESOURCETYPE": "Materialart", + "LABEL_LEARNINGRESOURCETYPE_CHOOSE": "Wähle eine Materialart ...", + "LABEL_MANDATORY_FIELD": "Pflichtfeld", + "LABEL_STATUS": "Status", + "LABEL_STATUS_DRAFT": "Entwurf", + "LABEL_STATUS_INCOMPLETE": "Unvollständig", + "LABEL_STATUS_PUBLISHED": "Veröffentlicht", + "LABEL_TITLE": "Titel" +} \ No newline at end of file diff --git a/i18n/en.json b/i18n/en.json new file mode 100644 index 0000000..7baae7d --- /dev/null +++ b/i18n/en.json @@ -0,0 +1,6 @@ +{ + "FORM_HEADING": "OER Metadata Form", + "LABEL_DESCRIPTION": "Abstract", + "LABEL_MANDATORY_FIELD": "Mandatory field", + "LABEL_TITLE": "Title" +} \ No newline at end of file diff --git a/i18n/hcrt-de.json b/i18n/hcrt-de.json new file mode 100644 index 0000000..676da55 --- /dev/null +++ b/i18n/hcrt-de.json @@ -0,0 +1,27 @@ +{ + "https://w3id.org/kim/hcrt/image": "Abbildung", + "https://w3id.org/kim/hcrt/worksheet": "Arbeitsmaterial", + "https://w3id.org/kim/hcrt/data": "Daten", + "https://w3id.org/kim/hcrt/diagram": "Diagramm", + "https://w3id.org/kim/hcrt/experiment": "Experiment", + "https://w3id.org/kim/hcrt/case_study": "Fallstudie", + "https://w3id.org/kim/hcrt/questionnaire": "Fragebogen", + "https://w3id.org/kim/hcrt/map": "Karte", + "https://w3id.org/kim/hcrt/course": "Kurs", + "https://w3id.org/kim/hcrt/textbook": "Lehrbuch", + "https://w3id.org/kim/hcrt/assessment": "Lernkontrolle", + "https://w3id.org/kim/hcrt/educational_game": "Lernspiel", + "https://w3id.org/kim/hcrt/index": "Nachschlagewerk", + "https://w3id.org/kim/hcrt/portal": "Portal", + "https://w3id.org/kim/hcrt/slide": "Präsentation", + "https://w3id.org/kim/hcrt/simulation": "Simulation", + "https://w3id.org/kim/hcrt/script": "Skript", + "https://w3id.org/kim/hcrt/application": "Softwareanwendung", + "https://w3id.org/kim/hcrt/other": "Sonstiges", + "https://w3id.org/kim/hcrt/text": "Textdokument", + "https://w3id.org/kim/hcrt/audio": "Tonaufnahme", + "https://w3id.org/kim/hcrt/lesson_plan": "Unterrichtsplanung", + "https://w3id.org/kim/hcrt/drill_and_practice": "Übung", + "https://w3id.org/kim/hcrt/video": "Video", + "https://w3id.org/kim/hcrt/web_page": "Webseite" +} \ No newline at end of file diff --git a/i18n/hcrt-en.json b/i18n/hcrt-en.json new file mode 100644 index 0000000..adbf055 --- /dev/null +++ b/i18n/hcrt-en.json @@ -0,0 +1,27 @@ +{ + "https://w3id.org/kim/hcrt/simulation": "Simulation", + "https://w3id.org/kim/hcrt/portal": "Web Portal", + "https://w3id.org/kim/hcrt/case_study": "Case Study", + "https://w3id.org/kim/hcrt/slide": "Presentation", + "https://w3id.org/kim/hcrt/lesson_plan": "Lesson Plan", + "https://w3id.org/kim/hcrt/educational_game": "Game", + "https://w3id.org/kim/hcrt/experiment": "Experiment", + "https://w3id.org/kim/hcrt/data": "Data", + "https://w3id.org/kim/hcrt/other": "Other", + "https://w3id.org/kim/hcrt/script": "Script", + "https://w3id.org/kim/hcrt/assessment": "Assessment", + "https://w3id.org/kim/hcrt/video": "Video", + "https://w3id.org/kim/hcrt/diagram": "Diagram", + "https://w3id.org/kim/hcrt/questionnaire": "Questionnaire", + "https://w3id.org/kim/hcrt/course": "Course", + "https://w3id.org/kim/hcrt/audio": "Audio Recording", + "https://w3id.org/kim/hcrt/textbook": "Textbook", + "https://w3id.org/kim/hcrt/text": "Text", + "https://w3id.org/kim/hcrt/map": "Map", + "https://w3id.org/kim/hcrt/web_page": "Web Page", + "https://w3id.org/kim/hcrt/image": "Image", + "https://w3id.org/kim/hcrt/worksheet": "Worksheet", + "https://w3id.org/kim/hcrt/application": "Software Application", + "https://w3id.org/kim/hcrt/index": "Reference Work", + "https://w3id.org/kim/hcrt/drill_and_practice": "Drill and Practice" +} \ No newline at end of file diff --git a/metadata-generator.html b/metadata-generator.html new file mode 100644 index 0000000..23059e4 --- /dev/null +++ b/metadata-generator.html @@ -0,0 +1,547 @@ + + + + OER-Portal Niedersachsen - Material einreichen + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+ +
+

OER Metadaten Formular

+
+
+ +
+ +
+
Pflichtfeld
+
+
+
+ +
+ +
+
Pflichtfeld
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
Pflichtfeld
+
+
+
+ +
+
    +
  • + +
  • +
+
+
+
+ +
+ +
+
Pflichtfeld
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ + + +
+ + +
+
+
+ +
+ +
+
+ + + + +