This commit is contained in:
Turtle committed 2025-12-22 19:26:09 +01:00
1 parent 753ff9b4d9
commit a595b33006
8 files changed
+100 -13

No files matched your search

+2 -2
View File
@@ -48,9 +48,9 @@ async function main() {
"more_data": "bla"
});
const data = await couchDB.get("login");
const data = await couchDB.get("xample");
console.log(JSON.stringify(data));
//Gibt { "username": "bla", "password": "bla" } wieder
//Gibt { "my_data": 1, "more_data": "bla" } wieder
}
main();
+24 -2
View File
@@ -55,10 +55,21 @@ async function createTemp() {
"type": "emoji"
}
],
"result_history": [
{
"date": "2025-12-27",
"questions": [
["Gut, aber ...", 5],
["Schlecht", 1]
]
}
],
"result": [
["YES", "YES", 5, 2],
["YES", "YES", 1, 3]
]
],
"start_date": "2025-12-23",
"expire_date": "2025-12-27"
});
await couchDB.set("course:weiche_ware", {
"title": "Weiche Ware",
@@ -74,9 +85,20 @@ async function createTemp() {
"type": "scala"
}
],
"result_history": [
{
"date": "2025-12-27",
"questions": [
["Gut, aber ...", 5],
["Schlecht", 1]
]
}
],
"result": [
["Gut, aber ...", 5],
["Schlecht", 1]
]
],
"start_date": "2025-12-23",
"expire_date": "2025-12-27"
});
}
+7
View File
@@ -70,3 +70,10 @@ async function getUserData(couchDB) -> Map?;
//Setze den Nutzer, welcher unter der Variable userData verfügbar sein wird
async function setUserData(couchDB) -> bool;
```
##Nützliche CSS-Klassen
- .profile = Runde Profilbox
- overlay = Overlay
- .header_bar_1 = Headerbar
- .header_bar_1_placeholder = Platzhalter für Headerbar
- .add_button = Runder "Hinzufügen"-Knopf