Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
netvs-core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
72
Issues
72
List
Boards
Labels
Service Desk
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
scc-net
netvs
netvs-core
Commits
04828843
Commit
04828843
authored
Nov 19, 2020
by
Janis Streib
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX: position natvs badge to fqdn
parent
87a5a2ac
Pipeline
#118776
passed with stages
in 12 minutes and 18 seconds
Changes
3
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
frontend/src/components/FQDNRecordTable.vue
frontend/src/components/FQDNRecordTable.vue
+5
-5
frontend/src/components/FQDNTable.vue
frontend/src/components/FQDNTable.vue
+1
-1
frontend/src/views/dnsvs/BCDRecords.vue
frontend/src/views/dnsvs/BCDRecords.vue
+5
-5
No files found.
frontend/src/components/FQDNRecordTable.vue
View file @
04828843
...
...
@@ -14,17 +14,17 @@
</template>
<
template
v-slot:cell(fqdn)=
"data"
>
{{
data
.
item
.
fqdn
}}
<b-badge
variant=
"primary"
v-if=
"data.item.fqdn_type === 'domain'"
>
Domain
</b-badge>
</
template
>
<
template
v-slot:cell(data)=
"data"
>
<code>
{{
data
.
value
}}
</code>
<b-badge
v-if=
"!data.item.target_is_singleton"
variant=
"warning"
>
RR-Set
</b-badge>
<b-badge
variant=
"secondary"
v-if=
"data.item.fqdn_type === 'domain'"
>
Domain
</b-badge>
<b-badge
v-if=
"data.item.host_is_nws"
variant=
"primary"
:href=
"$sysinfo.host_oper_mode.is_prod?`https://www-net.scc.kit.edu/~netadmin/natvs/user/wrapper.cgi/`:`https://www-net-$
{$sysinfo.host_oper_mode.mode}.scc.kit.edu/~netadmin/natvs/user/wrapper.cgi/`"
title="Host besitzt einen NATVS-Eintrag"
target="_blank">NATVS
</b-badge>
</
template
>
<
template
v-slot:cell(data)=
"data"
>
<code>
{{
data
.
value
}}
</code>
<b-badge
v-if=
"!data.item.target_is_singleton"
variant=
"warning"
>
RR-Set
</b-badge>
</
template
>
<
template
v-slot:cell(actions)=
"data"
>
<b-button-group>
<b-dropdown
@
click=
"editItem(data.item)"
split
variant=
"outline-primary"
>
...
...
frontend/src/components/FQDNTable.vue
View file @
04828843
...
...
@@ -12,7 +12,7 @@
<b-badge
variant=
"primary"
:title=
"data.item.sub_fqdn_count + ' FQDNs unter diesem FQDN'"
>
{{
data
.
item
.
sub_fqdn_count
}}
</b-badge>
<b-badge
variant=
"
prim
ary"
v-if=
"data.item.type == 'domain'"
>
Domain
</b-badge>
<b-badge
variant=
"
second
ary"
v-if=
"data.item.type == 'domain'"
>
Domain
</b-badge>
</router-link>
<template
v-else
>
{{
data
.
value
}}
</
template
>
<b-badge
variant=
"danger"
:to=
"'/dnsvs/fqdns/' + data.item.value + '/records'"
v-if=
"data.item.has_rr"
...
...
frontend/src/views/dnsvs/BCDRecords.vue
View file @
04828843
...
...
@@ -225,7 +225,11 @@
:fields=
"record_list_fields"
>
<
template
v-slot:cell(fqdn)=
"data"
>
{{
data
.
item
.
fqdn
}}
<b-badge
variant=
"primary"
v-if=
"data.item.fqdn_type === 'domain'"
>
Domain
</b-badge>
<b-badge
variant=
"secondary"
v-if=
"data.item.fqdn_type === 'domain'"
>
Domain
</b-badge>
<b-badge
v-if=
"data.item.host_is_nws"
variant=
"primary"
:href=
"$sysinfo.host_oper_mode.is_prod?`https://www-net.scc.kit.edu/~netadmin/natvs/user/wrapper.cgi/$
{range.name}/0/${range.name}/0/nat_index.html`:`https://www-net-${$sysinfo.host_oper_mode.mode}.scc.kit.edu/~netadmin/natvs/user/wrapper.cgi/${range.name}/0/${range.name}/0/nat_index.html`"
title="Host besitzt einen NATVS-Eintrag">NATVS
</b-badge>
</
template
>
<
template
v-slot:cell(info)=
"data"
>
<b-dropdown>
...
...
@@ -241,10 +245,6 @@
<
template
v-slot:cell(data)=
"data"
>
<code>
{{
data
.
value
}}
</code>
<b-badge
v-if=
"!data.item.target_is_singleton"
variant=
"warning"
>
RR-Set
</b-badge>
<b-badge
v-if=
"data.item.host_is_nws"
variant=
"primary"
:href=
"$sysinfo.host_oper_mode.is_prod?`https://www-net.scc.kit.edu/~netadmin/natvs/user/wrapper.cgi/$
{range.name}/0/${range.name}/0/nat_index.html`:`https://www-net-${$sysinfo.host_oper_mode.mode}.scc.kit.edu/~netadmin/natvs/user/wrapper.cgi/${range.name}/0/${range.name}/0/nat_index.html`"
title="Host besitzt einen NATVS-Eintrag">NATVS
</b-badge>
<b-badge
v-if=
"data.item.target_is_reverse_unique"
title=
"Rückwärts-eindeutig"
>
PTR
</b-badge>
</
template
>
<
template
v-slot:cell(actions)=
"data"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment