|
|
@@ -1,27 +1,26 @@
|
|
|
-<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>
|
|
|
+<page-header model="ctrl.navModel"></page-header>
|
|
|
|
|
|
- <a class="modal-header-close" ng-click="ctrl.dismiss();">
|
|
|
- <i class="fa fa-remove"></i>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
+<div class="page-container page-body" ng-cloak>
|
|
|
+ <h3 class="page-sub-heading">New Team</h3>
|
|
|
|
|
|
- <div class="modal-content">
|
|
|
- <form name="ctrl.createTeamForm" class="gf-form-group" novalidate>
|
|
|
- <div class="p-t-2">
|
|
|
- <div class="gf-form-inline">
|
|
|
- <div class="gf-form max-width-21">
|
|
|
- <input type="text" class="gf-form-input" ng-model='ctrl.teamName' required give-focus="true" placeholder="Enter Team Name"></input>
|
|
|
- </div>
|
|
|
- <div class="gf-form">
|
|
|
- <button class="btn gf-form-btn btn-success" ng-click="ctrl.createTeam();ctrl.dismiss();">Create</button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
+ <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>
|