Commit 41662b85 by Torkel Ödegaard

dashboard_folders: updated

parent 222a938c
......@@ -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'
......
......@@ -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'
......
......@@ -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">
......
......@@ -6,11 +6,9 @@
<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">
......@@ -22,5 +20,4 @@
</div>
</form>
</div>
</div>
</div>
......@@ -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
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment