g6.5
This commit is contained in:
1 parent
8b8edda534
commit
a85123eaee
1 file changed
+3
-5
@@ -8,10 +8,6 @@
|
|||||||
<script src="../lib/basic.js"></script>
|
<script src="../lib/basic.js"></script>
|
||||||
<script src="../other/skills.js"></script>
|
<script src="../other/skills.js"></script>
|
||||||
<script src="../other/skilltree.js"></script>
|
<script src="../other/skilltree.js"></script>
|
||||||
<script>
|
|
||||||
const couchDB = new CouchDB();
|
|
||||||
setUserData(couchDB);
|
|
||||||
</script>
|
|
||||||
<title>Übersicht</title>
|
<title>Übersicht</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -277,6 +273,8 @@ button.auswertung:hover {
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
const couchDB = new CouchDB();
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
await setUserData(couchDB);
|
await setUserData(couchDB);
|
||||||
await setCourseView();
|
await setCourseView();
|
||||||
@@ -285,7 +283,7 @@ button.auswertung:hover {
|
|||||||
async function setCourseView() {
|
async function setCourseView() {
|
||||||
const courseList = document.getElementById("course-list");
|
const courseList = document.getElementById("course-list");
|
||||||
courseList.innerHTML = "";
|
courseList.innerHTML = "";
|
||||||
|
|
||||||
for(const courseId of userData.courses) {
|
for(const courseId of userData.courses) {
|
||||||
const course = await couchDB.get("course:" + courseId);
|
const course = await couchDB.get("course:" + courseId);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user