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
529fcc46
Commit
529fcc46
authored
Dec 13, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/10172_team_edit' into develop
parents
62543046
29d1ec56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
19 deletions
+17
-19
public/app/features/org/partials/team_details.html
+16
-18
public/app/features/org/team_details_ctrl.ts
+1
-1
No files found.
public/app/features/org/partials/team_details.html
View file @
529fcc46
<
navbar
model=
"ctrl.navModel"
></navba
r>
<
page-header
model=
"ctrl.navModel"
></page-heade
r>
<div
class=
"page-container"
>
<div
class=
"page-container page-body"
>
<div
class=
"page-header"
>
<h3
class=
"page-sub-heading"
>
Edit Team
</h3>
<h1>
Edit Team
</h1>
</div>
<form
name=
"teamDetailsForm"
class=
"gf-form-group gf-form-inline"
>
<form
name=
"teamDetailsForm"
class=
"gf-form-group gf-form-inline"
>
<div
class=
"gf-form"
>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label width-10"
>
Name
</span>
<span
class=
"gf-form-label width-10"
>
Name
</span>
<input
type=
"text"
required
ng-model=
"ctrl.team.name"
class=
"gf-form-input max-width-14"
>
<input
type=
"text"
required
ng-model=
"ctrl.team.name"
class=
"gf-form-input max-width-14"
>
</div>
</div>
<div
class=
"gf-form"
>
<div
class=
"gf-form"
>
<button
type=
"submit"
class=
"btn btn-success"
ng-click=
"ctrl.update()"
>
Update
</button>
<button
type=
"submit"
class=
"btn btn-success"
ng-click=
"ctrl.update()"
>
Update
</button>
</div>
</div>
</form>
</form>
<div
class=
"gf-form-group"
>
<div
class=
"gf-form-group"
>
<h3
class=
"page-heading"
>
Team Members
</h3>
<h3
class=
"page-heading"
>
Team Members
</h3>
...
@@ -43,7 +41,7 @@
...
@@ -43,7 +41,7 @@
</tr>
</tr>
</table>
</table>
<div>
<div>
<em
class=
"muted"
ng-hide=
"ctrl.teamMembers.length > 0"
>
<em
class=
"muted"
ng-hide=
"ctrl.teamMembers.length > 0"
>
This team has no members yet.
This team has no members yet.
</em>
</em>
</div>
</div>
public/app/features/org/team_details_ctrl.ts
View file @
529fcc46
...
@@ -8,7 +8,7 @@ export default class TeamDetailsCtrl {
...
@@ -8,7 +8,7 @@ export default class TeamDetailsCtrl {
navModel
:
any
;
navModel
:
any
;
constructor
(
private
$scope
,
private
backendSrv
,
private
$routeParams
,
navModelSrv
)
{
constructor
(
private
$scope
,
private
backendSrv
,
private
$routeParams
,
navModelSrv
)
{
this
.
navModel
=
navModelSrv
.
getNav
(
'cfg'
,
'
users'
);
this
.
navModel
=
navModelSrv
.
getNav
(
'cfg'
,
'
teams'
,
0
);
this
.
get
();
this
.
get
();
}
}
...
...
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