| | |
| | | import Pagination from "../components/Pagination.vue" |
| | | import {getKurse, routerBase} from "@/lib/api" |
| | | |
| | | document.title = 'Kurse | globus-ilias-rest' |
| | | |
| | | const route = useRoute() |
| | | const kurse = ref([]) |
| | | const error = ref(null) |
| | | |
| | | |
| | | onMounted(init) |
| | | |
| | |
| | | |
| | | <h1> |
| | | ILIAS Kurse |
| | | <!-- <small>{{users.offset}} - {{users.offset+users.data.length}} von {{users.total}}</small>--> |
| | | <small>({{kurse?.length}})</small> |
| | | </h1> |
| | | <p v-if="error">{{ error }}</p> |
| | | |
| | |
| | | <th>title</th> |
| | | <th>description</th> |
| | | <th>type</th> |
| | | <th>offline</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | |
| | | <td>{{ kurs.title }}</td> |
| | | <td>{{ kurs.description }}</td> |
| | | <td>{{ kurs.type }}</td> |
| | | <td>{{ kurs.offline }}</td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |