mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* teams: add db migration for email column in teams table * teams: /teams should render index page with a 200 OK * teams: additional backend functionality for team and team members Possibility to save/update email for teams. Possibility to retrive avatar url when searching for teams. Possibility to retrive avatar url when searching for team members. * teams: display team avatar and team member avatars Possibility to save and update email for a team * teams: create team on separate page instead of modal dialog
27 lines
950 B
HTML
27 lines
950 B
HTML
<page-header model="ctrl.navModel"></page-header>
|
|
|
|
<div class="page-container page-body" ng-cloak>
|
|
<h3 class="page-sub-heading">New Team</h3>
|
|
|
|
<form name="ctrl.saveForm" class="gf-form-group" ng-submit="ctrl.create()">
|
|
<div class="gf-form max-width-30">
|
|
<span class="gf-form-label width-10">Name</span>
|
|
<input type="text" required ng-model="ctrl.name" class="gf-form-input max-width-22" give-focus="true">
|
|
</div>
|
|
<div class="gf-form max-width-30">
|
|
<span class="gf-form-label width-10">
|
|
Email
|
|
<info-popover mode="right-normal">
|
|
This is optional and is primarily used for allowing custom team avatars.
|
|
</info-popover>
|
|
</span>
|
|
<input class="gf-form-input max-width-22" type="email" ng-model="ctrl.email" placeholder="email@test.com">
|
|
</div>
|
|
<div class="gf-form-button-row">
|
|
<button type="submit" class="btn btn-success width-12">
|
|
<i class="fa fa-save"></i> Create
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|