Commit 16d51805 authored by janis.streib's avatar janis.streib 🦉
Browse files

UPD: implemeted devel version and killswitches

parent a6c49e0c
......@@ -65,19 +65,43 @@ export default {
return {
links: {
systems: [
{ has_sub_pages: true, label: 'DNSVS', address: '/dnsvs/bcds', icon: 'map-signs' },
{ has_sub_pages: true, label: 'MACauth', address: '/macauth', icon: 'blender-phone' },
{ has_sub_pages: true, label: 'DHCP-Leases', address: '/dhcp-leases', icon: 'list-ol' },
{
has_sub_pages: true,
label: 'DNSVS',
address: '/dnsvs/bcds',
icon: 'map-signs',
visible() {
return self.$sysinfo_js_mods.includes('dnsvs')
}
},
{
has_sub_pages: true,
label: 'MACauth',
address: '/macauth',
icon: 'blender-phone',
visible() {
return self.$sysinfo_js_mods.includes('macauth')
}
},
{
has_sub_pages: true,
label: 'DHCP-Leases',
address: '/dhcp-leases',
icon: 'list-ol',
visible() {
return 'dhcp_leases' in self.$sysinfo_mods_by_name
}
},
{
has_sub_pages: true,
label: 'NATVS+',
address: 'https://www-net-devel.scc.kit.edu/~netadmin/natvs/user/wrapper.cgi/',
address: self.$sysinfo.host_oper_mode.is_prod ? 'https://www-net.scc.kit.edu/~netadmin/natvs/user/wrapper.cgi/' : `https://www-net-${self.$sysinfo.host_oper_mode.mode}.scc.kit.edu/~netadmin/natvs/user/wrapper.cgi/`,
icon: 'fire'
},
{
has_sub_pages: true,
label: 'Netdoc',
address: 'https://www-net-devel.scc.kit.edu/~netadmin/netdoc/user/wrapper.cgi/',
address: self.$sysinfo.host_oper_mode.is_prod ? 'https://www-net.scc.kit.edu/~netadmin/netdoc/user/wrapper.cgi/' : `https://www-net-${self.$sysinfo.host_oper_mode.mode}.scc.kit.edu/~netadmin/netdoc/user/wrapper.cgi/`,
icon: 'ethernet'
}
],
......@@ -95,9 +119,33 @@ export default {
{ has_sub_pages: true, label: 'Gruppen', address: '/cntl/groups', icon: 'users' }
],
tools: [
{ has_sub_pages: false, label: 'MACfinder', address: '/tools/macfinder', icon: 'search-location' },
{ has_sub_pages: false, label: 'MAC-Vendor-Suche', address: '/tools/oui_lookup', icon: 'question' },
{ has_sub_pages: false, label: 'AP-Liste', address: '/tools/ap_list', icon: 'broadcast-tower' }
{
has_sub_pages: false,
label: 'MACfinder',
address: '/tools/macfinder',
icon: 'search-location',
visible() {
return self.$sysinfo_js_mods.includes('macfinder')
}
},
{
has_sub_pages: false,
label: 'MAC-Vendor-Suche',
address: '/tools/oui_lookup',
icon: 'question',
visible() {
return self.$sysinfo_js_mods.includes('macfinder')
}
},
{
has_sub_pages: false,
label: 'AP-Liste',
address: '/tools/ap_list',
icon: 'broadcast-tower',
visible() {
return self.$sysinfo_js_mods.includes('ap_list')
}
}
],
requests: [
{
......
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