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
26b8483f
Commit
26b8483f
authored
Dec 13, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
teams: Fixes to edit team page
parent
529fcc46
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
+10
-5
public/app/features/org/partials/create_team.html
+1
-0
public/app/features/org/partials/team_details.html
+2
-2
public/app/features/org/team_details_ctrl.ts
+2
-3
public/sass/components/_modals.scss
+5
-0
No files found.
public/app/features/org/partials/create_team.html
View file @
26b8483f
<div
class=
"modal-body"
>
<div
class=
"modal-header"
>
<h2
class=
"modal-header-title"
>
<i
class=
"gicon gicon-team"
></i>
<span
class=
"p-l-1"
>
Create Team
</span>
</h2>
...
...
public/app/features/org/partials/team_details.html
View file @
26b8483f
<page-header
model=
"ctrl.navModel"
></page-header>
<div
class=
"page-container page-body"
>
<h3
class=
"page-sub-heading"
>
Edit Team
</h3>
<h3
class=
"page-sub-heading"
>
Team Details
</h3>
<form
name=
"teamDetailsForm"
class=
"gf-form-group gf-form-inline"
>
<div
class=
"gf-form"
>
...
...
@@ -24,7 +24,7 @@
</div>
</form>
<table
class=
"
grafana-options
-table"
ng-show=
"ctrl.teamMembers.length > 0"
>
<table
class=
"
filter
-table"
ng-show=
"ctrl.teamMembers.length > 0"
>
<tr>
<th>
Username
</th>
<th>
Email
</th>
...
...
public/app/features/org/team_details_ctrl.ts
View file @
26b8483f
///<reference path="../../headers/common.d.ts" />
import
coreModule
from
'app/core/core_module'
;
export
default
class
TeamDetailsCtrl
{
...
...
@@ -28,7 +26,7 @@ export default class TeamDetailsCtrl {
removeTeamMember
(
teamMember
:
TeamMember
)
{
this
.
$scope
.
appEvent
(
'confirm-modal'
,
{
title
:
'Remove Member'
,
text
:
'Are you sure you want to remove '
+
teamMember
.
name
+
' from this group?'
,
text
:
'Are you sure you want to remove '
+
teamMember
.
login
+
' from this group?'
,
yesText
:
"Remove"
,
icon
:
"fa-warning"
,
onConfirm
:
()
=>
{
...
...
@@ -71,6 +69,7 @@ export interface User {
export
interface
TeamMember
{
userId
:
number
;
name
:
string
;
login
:
string
;
}
coreModule
.
controller
(
'TeamDetailsCtrl'
,
TeamDetailsCtrl
);
...
...
public/sass/components/_modals.scss
View file @
26b8483f
...
...
@@ -48,6 +48,11 @@
float
:
left
;
padding-top
:
$spacer
*
0
.75
;
margin
:
0
$spacer
*
3
0
$spacer
*
1
.5
;
.gicon
{
position
:
relative
;
top
:
-2px
;
}
}
.modal-header-close
{
...
...
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