Commit 496b76b2 authored by gj4210's avatar gj4210 👁 Committed by janis.streib
Browse files

ADD: Requests page

parent b79ea8a2
......@@ -150,14 +150,8 @@ export default {
requests: [
{
has_sub_pages: false,
label: 'Patch-Request (CS)',
address: 'https://www-net.scc.kit.edu/~netadmin/patch_request/',
icon: 'scroll'
},
{
has_sub_pages: false,
label: 'KIT-IoT-Musterticket',
address: 'https://www-net.scc.kit.edu/~netadmin/patch_request/',
label: 'Anträge',
address: '/requests',
icon: 'scroll'
}
]
......
......@@ -197,6 +197,16 @@ export default new Router({
}
}
},
{
path: '/requests',
name: 'requests',
component: () => import('./views/requests/Requests'),
meta: {
resolveName: function () {
return 'Anträge'
}
}
},
{
path: '/dnsvs',
component: () => import('./views/dnsvs/Main.vue'),
......
<template>
<b-row>
<b-col v-for="option in options" :key="option.address" xl="6" lg="12">
<b-card class="mb-3 shadow-sm">
<p>{{ option.text }}</p>
<b-button variant="outline-primary" block :href="option.address">{{ option.label }}</b-button>
</b-card>
</b-col>
</b-row>
</template>
<script>
export default {
name: 'Requests',
data() {
return {
options: [
{
address: 'https://www-net.scc.kit.edu/~netadmin/patch_request/',
label: 'Patch-Request (CS)',
text: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.'
},
{
address: 'https://itsupport.scc.kit.edu/otrs/customer.pl?Action=CustomerTicketMessage&TemplateID=21',
label: 'KIT-IoT-Musterticket',
text: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.'
}
]
}
}
}
</script>
<style scoped>
.request-iframe {
width: 100%;
height: 500px;
border: 0;
}
</style>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment