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
2f354ed9
Commit
2f354ed9
authored
Nov 24, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(getting started panel): some more work on this, #6466
parent
2233938b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
27 deletions
+42
-27
public/app/plugins/panel/gettingstarted/module.ts
+28
-0
public/sass/components/_panel_gettingstarted.scss
+14
-27
No files found.
public/app/plugins/panel/gettingstarted/module.ts
View file @
2f354ed9
...
...
@@ -24,6 +24,34 @@ class GettingStartedPanelCtrl extends PanelCtrl {
this
.
stepIndex
=
0
;
this
.
steps
=
[];
if
(
!
contextSrv
.
hasRole
(
'Admin'
))
{
this
.
steps
.
push
({
cta
:
'Basic Concepts Guide'
,
icon
:
'fa fa-file-text-o'
,
href
:
'http://docs.grafana.org/guides/basic_concepts/'
,
check
:
()
=>
$q
.
when
(
false
),
cssClass
:
'active'
,
});
this
.
steps
.
push
({
cta
:
'Getting Started Guide'
,
icon
:
'fa fa-file-text-o'
,
href
:
'http://docs.grafana.org/guides/getting_started/'
,
check
:
()
=>
$q
.
when
(
false
),
cssClass
:
'active'
,
});
this
.
steps
.
push
({
cta
:
'Building a dashboard'
,
icon
:
'fa fa-film'
,
href
:
'http://docs.grafana.org/tutorials/screencasts/'
,
check
:
()
=>
$q
.
when
(
false
),
cssClass
:
'active'
,
});
return
;
}
this
.
steps
.
push
({
title
:
'Install Grafana'
,
icon
:
'icon-gf icon-gf-check'
,
...
...
public/sass/components/_panel_gettingstarted.scss
View file @
2f354ed9
...
...
@@ -14,32 +14,6 @@ $path-height: 4px !default;
$path-position
:
$marker-size-half
-
(
$path-height
/
2
);
.gettingstarted-blurb-copy
{
margin-bottom
:
$spacer
/
2
;
text-align
:
center
;
}
.gettingstarted-blurb
{
@extend
.gettingstarted-blurb-copy
;
color
:
$text-color
;
display
:
block
;
&
:hover
{
text-decoration
:
underline
;
}
}
.gettingstarted-blurb-success
{
@extend
.gettingstarted-blurb-copy
;
color
:
$text-color-weak
;
}
.gettingstarted-blurb-upcoming
{
@extend
.gettingstarted-blurb-copy
;
color
:
$text-color-weak
;
}
.dashlist-cta-close-btn
{
color
:
$text-color-weak
;
float
:
right
;
...
...
@@ -105,6 +79,19 @@ $path-position: $marker-size-half - ($path-height / 2);
.progress-title
{
font-weight
:
400
;
}
.progress-text
{
display
:
none
;
}
.progress-marker
{
.icon-gf
{
color
:
$brand-primary
;
-webkit-text-fill-color
:
transparent
;
background
:
$brand-gradient
;
-webkit-background-clip
:
text
;
text-decoration
:none
;
}
}
}
&
.completed
{
...
...
@@ -145,6 +132,7 @@ $path-position: $marker-size-half - ($path-height / 2);
background-color
:
$panel-bg
;
margin-left
:
auto
;
margin-right
:
auto
;
margin-bottom
:
$spacer
;
color
:
$text-color-weak
;
font-size
:
35px
;
vertical-align
:
sub
;
...
...
@@ -153,7 +141,6 @@ $path-position: $marker-size-half - ($path-height / 2);
// Progress text
.progress-text
{
display
:
block
;
padding
:
$spacer
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
...
...
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