g2.6
This commit is contained in:
1 parent
753ff9b4d9
commit
a595b33006
8 files changed
+100
-13
No files matched your search
+2
-2
@@ -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
@@ -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"
|
||||
});
|
||||
}
|
||||
@@ -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
|
||||
Reference in new issue
Block a user