| | |
| | | import {onMounted, reactive, ref} from "vue" |
| | | import {getKurs, getKursItems, getKursTn, iliasBase, routerBase} from "../lib/api.js" |
| | | import LinkExtern from "../components/LinkExtern.vue" |
| | | import dayjs from "dayjs" |
| | | |
| | | const route = useRoute() |
| | | const kursId = route.params.kursId |
| | |
| | | KursTn |
| | | <small>({{ kursTn?.length }})</small> |
| | | </h2> |
| | | <div :style="{columns: kursTn?.length > 16 ? 2 : 1}"> |
| | | <div :style="{columns: kursTn?.length > 16 ? 1 : 1}"> |
| | | <table> |
| | | <thead> |
| | | <tr> |
| | |
| | | <th>lastname</th> |
| | | <th>passed</th> |
| | | <th>status</th> |
| | | <th>status_changed</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | |
| | | <td>{{ tn.lastname }}</td> |
| | | <td>{{ tn.passed }}</td> |
| | | <td>{{ tn.status }}</td> |
| | | <td>{{ dayjs(tn.status_changed).format("DD.MM.YYYY HH:mm:ss") }}</td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |