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
71
Issues
71
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
ccf4ac68
Commit
ccf4ac68
authored
Nov 20, 2020
by
Janis Streib
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX: missing popover for edit record (closes
#211
)
parent
5f59f084
Pipeline
#118895
passed with stages
in 9 minutes and 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
frontend/src/components/FQDNRecordTable.vue
frontend/src/components/FQDNRecordTable.vue
+5
-1
frontend/src/views/dnsvs/BCDRecords.vue
frontend/src/views/dnsvs/BCDRecords.vue
+6
-2
No files found.
frontend/src/components/FQDNRecordTable.vue
View file @
ccf4ac68
...
...
@@ -27,7 +27,7 @@
</
template
>
<
template
v-slot:cell(actions)=
"data"
>
<b-button-group>
<b-dropdown
@
click=
"editItem(data.item)"
split
variant=
"outline-primary"
>
<b-dropdown
:id=
"'button-edit-record-' + data.item.fqdn + '_' + record_type + '_' + data.item.data"
@
click=
"editItem(data.item)"
split
variant=
"outline-primary"
>
<template
#button-content
>
<font-awesome-icon
:icon=
"['far', 'edit']"
></font-awesome-icon>
</
template
>
...
...
@@ -40,6 +40,10 @@
<b-dropdown-item
@
click=
"deleteItem(data.item, true)"
>
FQDN und alle referenzierende Records mitlöschen
</b-dropdown-item>
</b-dropdown>
<b-tooltip
:target=
"'button-edit-record-' + data.item.fqdn + '_' + record_type + '_' + data.item.data"
triggers=
"hover"
variant=
"primary"
placement=
"left"
>
Record bearbeiten
</b-tooltip>
</b-button-group>
</template>
<
template
v-slot:cell(ttl)=
"data"
>
...
...
frontend/src/views/dnsvs/BCDRecords.vue
View file @
ccf4ac68
...
...
@@ -249,7 +249,7 @@
</
template
>
<
template
v-slot:cell(actions)=
"data"
>
<b-button-group>
<b-dropdown
@
click=
"editItem(data.item)"
split
variant=
"outline-primary"
>
<b-dropdown
:id=
"'button-edit-record-' + data.item.fqdn + '_' + record_type + '_' + data.item.data"
@
click=
"editItem(data.item)"
split
variant=
"outline-primary"
>
<template
#button-content
>
<font-awesome-icon
:icon=
"['far', 'edit']"
></font-awesome-icon>
</
template
>
...
...
@@ -265,11 +265,15 @@
</b-dropdown-item>
</b-dropdown>
</b-button-group>
<b-tooltip
:target=
"'button-edit-record-' + data.item.fqdn + '_' + record_type + '_' + data.item.data"
triggers=
"hover"
variant=
"primary"
placement=
"left"
>
Record bearbeiten
</b-tooltip>
</template>
<
template
v-slot:cell(ttl)=
"data"
>
<template
v-if=
"data.item.ttl != null"
>
{{
data
.
item
.
ttl
}}
s
</
template
>
<span
v-else
title=
"Geerbt von Zone"
class=
"text-
black-50
"
>
{{ data.item.ttl_zone_default }}s
</span>
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>
...
...
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