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
408c3717
Commit
408c3717
authored
Jun 20, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactoring: dashboard folders
parent
3edd2097
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
5 deletions
+34
-5
public/app/features/dashboard/acl/acl.html
+15
-4
public/sass/components/_dropdown.scss
+19
-0
public/sass/components/_navbar.scss
+0
-1
No files found.
public/app/features/dashboard/acl/acl.html
View file @
408c3717
...
@@ -51,11 +51,22 @@
...
@@ -51,11 +51,22 @@
<i
class=
"fa fa-remove"
></i>
<i
class=
"fa fa-remove"
></i>
</button>
</button>
</div>
</div>
<div
class=
"gf-form"
>
<div
class=
"gf-form dropdown"
>
<button
class=
"btn btn-inverse gf-form-btn"
ng-click=
"ctrl.addQuery()"
ng-hide=
"ctrl.current.meta.mixed"
>
<button
class=
"btn btn-inverse gf-form-btn"
data-toggle=
"dropdown"
>
<i
class=
"fa fa-fw fa-plus"
></i>
<i
class=
"fa fa-fw fa-plus"
></i>
Add Permission
Add Permission
</button>
</button>
<ul
class=
"dropdown-menu dropdown-menu--new"
>
<li>
<a
class=
"pointer"
ng-click=
"ctrl.addUserGroup()"
>
<i
class=
"fa fa-fw fa-users"
></i>
User Group
</a>
</li>
<li>
<a
class=
"pointer"
ng-click=
"ctrl.addUserAcl()"
>
<i
class=
"fa fa-fw fa-user"
></i>
User
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div
class=
"section pull-right"
>
<div
class=
"section pull-right"
>
...
...
public/sass/components/_dropdown.scss
View file @
408c3717
...
@@ -275,3 +275,22 @@
...
@@ -275,3 +275,22 @@
content
:
"\f11c"
;
content
:
"\f11c"
;
}
}
}
}
.dropdown-menu.dropdown-menu--new
{
li
a
{
padding
:
$spacer
/
2
$spacer
;
border-left
:
2px
solid
$side-menu-bg
;
background
:
$side-menu-bg
;
i
{
display
:
inline-block
;
padding-right
:
21px
;
}
&
:hover
{
@include
left-brand-border-gradient
();
color
:
$link-hover-color
;
background
:
$input-label-bg
;
}
}
}
public/sass/components/_navbar.scss
View file @
408c3717
...
@@ -149,7 +149,6 @@
...
@@ -149,7 +149,6 @@
}
}
.dropdown-menu.dropdown-menu--navbar
{
.dropdown-menu.dropdown-menu--navbar
{
top
:
100%
;
min-width
:
100%
;
min-width
:
100%
;
margin-top
:
0px
;
margin-top
:
0px
;
...
...
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