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
41662b85
Commit
41662b85
authored
Jun 14, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard_folders: updated
parent
222a938c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
19 deletions
+16
-19
public/app/core/components/user_group_picker.ts
+1
-1
public/app/core/components/user_picker.ts
+1
-1
public/app/features/dashboard/acl/acl.html
+1
-1
public/app/features/org/partials/create_user_group.html
+12
-15
public/app/features/org/user_groups_ctrl.ts
+1
-1
No files found.
public/app/core/components/user_group_picker.ts
View file @
41662b85
...
...
@@ -24,7 +24,7 @@ export class UserGroupPickerCtrl {
this
.
userGroupId
=
null
;
const
userGroupSegment
=
this
.
uiSegmentSrv
.
newSegment
({
value
:
'Choose
User Group
'
,
value
:
'Choose'
,
selectMode
:
true
,
fake
:
true
,
cssClass
:
'gf-size-auto'
...
...
public/app/core/components/user_picker.ts
View file @
41662b85
...
...
@@ -24,7 +24,7 @@ export class UserPickerCtrl {
resetUserSegment
()
{
this
.
userId
=
null
;
const
userSegment
=
this
.
uiSegmentSrv
.
newSegment
({
value
:
'Choose
User
'
,
value
:
'Choose'
,
selectMode
:
true
,
fake
:
true
,
cssClass
:
'gf-size-auto'
...
...
public/app/features/dashboard/acl/acl.html
View file @
41662b85
...
...
@@ -15,7 +15,7 @@
<user-group-picker
user-group-id=
"ctrl.userGroupId"
></user-group-picker>
</div>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label"
>
Role
</span>
<span
class=
"gf-form-label"
>
Permission
</span>
<select
class=
"gf-form-input gf-size-auto"
ng-model=
"ctrl.permission"
ng-options=
"p.value as p.text for p in ctrl.permissionTypeOptions"
></select>
</div>
<div
class=
"gf-form"
>
...
...
public/app/features/org/partials/create_user_group.html
View file @
41662b85
...
...
@@ -6,21 +6,18 @@
<a
class=
"modal-header-close"
ng-click=
"dismiss();"
>
<i
class=
"fa fa-remove"
></i>
</a>
</div>
<div
class=
"modal-content"
>
<div
class=
"modal-tagline p-b-2"
>
Create User Group
</div>
<form
name=
"createUserGroupForm"
class=
"gf-form-group"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form max-width-21"
>
<input
type=
"text"
class=
"gf-form-input"
ng-model=
'ctrl.userGroupName'
placeholder=
"Name"
></input>
</div>
<div
class=
"gf-form"
>
<button
class=
"btn gf-form-btn btn-success"
ng-click=
"ctrl.createUserGroup();dismiss();"
>
Create
</button>
</div>
</div>
</form>
</div>
<div
class=
"modal-content"
>
<form
name=
"createUserGroupForm"
class=
"gf-form-group"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form max-width-21"
>
<input
type=
"text"
class=
"gf-form-input"
ng-model=
'ctrl.userGroupName'
placeholder=
"Name"
></input>
</div>
<div
class=
"gf-form"
>
<button
class=
"btn gf-form-btn btn-success"
ng-click=
"ctrl.createUserGroup();dismiss();"
>
Create
</button>
</div>
</div>
</form>
</div>
</div>
public/app/features/org/user_groups_ctrl.ts
View file @
41662b85
...
...
@@ -71,7 +71,7 @@ export class UserGroupsCtrl {
this
.
$scope
.
appEvent
(
'show-modal'
,
{
src
:
'public/app/features/org/partials/create_user_group.html'
,
modalClass
:
'
user-group-modal
'
,
modalClass
:
'
modal--narrow
'
,
scope
:
modalScope
});
}
...
...
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