Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
62d703fd
Commit
62d703fd
authored
Feb 28, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(snapshots): fixed share nav link in snapshots, fixes #4172
parent
f29899e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
public/app/features/dashboard/dashnav/dashnav.html
+2
-2
public/app/features/dashboard/partials/shareModal.html
+9
-10
No files found.
public/app/features/dashboard/dashnav/dashnav.html
View file @
62d703fd
...
...
@@ -23,12 +23,12 @@
<li
ng-show=
"dashboardMeta.canShare"
class=
"dropdown"
>
<a
class=
"pointer"
ng-click=
"hideTooltip($event)"
bs-tooltip=
"'Share dashboard'"
data-placement=
"bottom"
data-toggle=
"dropdown"
><i
class=
"fa fa-share-square-o"
></i></a>
<ul
class=
"dropdown-menu"
>
<li
ng-if=
"dashboardMeta.canEdit"
>
<li>
<a
class=
"pointer"
ng-click=
"shareDashboard(0)"
>
<i
class=
"fa fa-link"
></i>
Link to Dashboard
</a>
</li>
<li
ng-if=
"dashboardMeta.canEdit"
>
<li>
<a
class=
"pointer"
ng-click=
"shareDashboard(1)"
>
<i
class=
"icon-gf icon-gf-snapshot"
></i>
Snapshot sharing
</a>
...
...
public/app/features/dashboard/partials/shareModal.html
View file @
62d703fd
...
...
@@ -119,22 +119,21 @@
<
span
class
=
"gf-form-label width-12"
>
Snapshot
name
<
/span
>
<
input
type
=
"text"
ng
-
model
=
"snapshot.name"
class
=
"gf-form-input max-width-15"
>
<
/div
>
<
div
class
=
"gf-form"
>
<
div
class
=
"gf-form"
ng
-
if
=
"step === 1"
>
<
span
class
=
"gf-form-label width-12"
>
Expire
<
/span
>
<
div
class
=
"gf-form-select-wrapper max-width-15"
>
<
select
class
=
"gf-form-input"
ng
-
model
=
"snapshot.expires"
ng
-
options
=
"f.value as f.text for f in expireOptions"
><
/select
>
<
/div
>
<
/div
>
<
div
class
=
"gf-form"
ng
-
if
=
"step === 2"
style
=
"margin-top: 40px"
>
<
div
class
=
"gf-form-row"
>
<
a
href
=
"{{snapshotUrl}}"
class
=
"large share-snapshot-link"
target
=
"_blank"
>
<
i
class
=
"fa fa-external-link-square"
><
/i
>
{{
snapshotUrl
}}
<
/a
>
<
br
>
<
button
class
=
"btn btn-inverse btn-large"
data
-
clipboard
-
text
=
"{{snapshotUrl}}"
clipboard
-
button
><
i
class
=
"fa fa-clipboard"
><
/i> Copy Link</
button
>
<
/div
>
<
div
class
=
"gf-form"
ng
-
if
=
"step === 2"
style
=
"margin-top: 40px"
>
<
div
class
=
"gf-form-row"
>
<
a
href
=
"{{snapshotUrl}}"
class
=
"large share-snapshot-link"
target
=
"_blank"
>
<
i
class
=
"fa fa-external-link-square"
><
/i
>
{{
snapshotUrl
}}
<
/a
>
<
br
>
<
button
class
=
"btn btn-inverse btn-large"
data
-
clipboard
-
text
=
"{{snapshotUrl}}"
clipboard
-
button
><
i
class
=
"fa fa-clipboard"
><
/i> Copy Link</
button
>
<
/div
>
<
/div
>
...
...
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