Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
scc-net
netvs
netvs-core
Commits
0c87f9e3
Commit
0c87f9e3
authored
Nov 23, 2020
by
Janis Streib
🦉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ADD: FQDNRecordTable: Show bcd list and allow record creation (closes
#174
)
parent
ba3cc747
Pipeline
#119117
passed with stages
in 7 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
frontend/src/components/FQDNRecordTable.vue
frontend/src/components/FQDNRecordTable.vue
+20
-0
No files found.
frontend/src/components/FQDNRecordTable.vue
View file @
0c87f9e3
...
...
@@ -51,6 +51,21 @@
<span
v-else
title=
"Geerbt von Zone"
class=
"text-muted"
>
{{ data.item.ttl_zone_default }}s
</span>
<span
v-if=
"data.item.ttl_reset_days"
class=
"text-danger"
><br/>
Reset in {{ data.item.ttl_reset_days }} Tagen
</span>
</template>
<
template
v-slot:cell(bcds)=
"data"
>
<ul>
<li
v-for=
"b in data.item.target_bcd_list"
:key=
"b"
><b-link
:to=
"'/dnsvs/bcds/' + b"
>
{{
b
}}
</b-link></li>
</ul>
</
template
>
<
template
v-slot:head
(
actions
)
>
<b-button
block
variant=
"outline-success"
:id=
"'button-create-record'"
@
click=
"createItem(record_type)"
>
<font-awesome-icon
:icon=
"['fas', 'plus']"
/>
</b-button>
<b-tooltip
:target=
"'button-create-record'"
triggers=
"hover"
variant=
"success"
placement=
"left"
>
Neuen Record anlegen
</b-tooltip>
</
template
>
</b-table>
</div>
...
...
@@ -128,6 +143,11 @@ export default {
key
:
'
ttl
'
,
sortable
:
true
},
{
label
:
'
BCDs
'
,
key
:
'
bcds
'
,
sortable
:
false
},
{
label
:
'
Aktionen
'
,
key
:
'
actions
'
,
...
...
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