REST Service for POPCORN - ILIAS
alex
2025-09-18 d87115324de76811165e7a5071cf6340a00ca00e
vue/src/pages/Kurse.vue
@@ -5,9 +5,12 @@
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)
@@ -32,7 +35,7 @@
      <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>
@@ -46,6 +49,7 @@
                  <th>title</th>
                  <th>description</th>
                  <th>type</th>
                  <th>offline</th>
               </tr>
            </thead>
            <tbody>
@@ -59,6 +63,7 @@
                  <td>{{ kurs.title }}</td>
                  <td>{{ kurs.description }}</td>
                  <td>{{ kurs.type }}</td>
                  <td>{{ kurs.offline }}</td>
               </tr>
            </tbody>
         </table>