Skip to content
Snippets Groups Projects
Commit 61e349dc authored by Jaden Diefenbaugh's avatar Jaden Diefenbaugh
Browse files

pared down add group input

parent 9cd10e66
No related branches found
No related tags found
1 merge request!223Reports overhaul
...@@ -37,12 +37,13 @@ angular.module('reportApp') ...@@ -37,12 +37,13 @@ angular.module('reportApp')
template: ` template: `
<form> <form>
<div class='form-group'> <div class='form-group'>
<label for='createNewGroupInput'><strong>Create a new Group</strong></label>
<div class="input-group"> <div class="input-group">
<span class="input-group-btn"> <span class="input-group-btn">
<button ng-click='createGroup(newGroupName.val)' class="btn btn-default" type="button">Create</button> <button ng-click='createGroup(newGroupName.val)' class="btn btn-default" type="button">
<i class="fa fa-plus" aria-hidden="true"></i>
</button>
</span> </span>
<input id='createNewGroupInput' ng-model='newGroupName.val' type="text" class="form-control" placeholder="Group name..."> <input id='createNewGroupInput' ng-model='newGroupName.val' type="text" class="form-control" placeholder="New group name...">
</div> </div>
</div> </div>
</form> </form>
......
...@@ -39,7 +39,7 @@ angular.module('reportApp').directive("groupsLayout", ['GroupsService', function ...@@ -39,7 +39,7 @@ angular.module('reportApp').directive("groupsLayout", ['GroupsService', function
}; };
}, },
template: ` template: `
<div ng-if='GroupsService.isEditable' group-add-group-menu class='alert alert-success'></div> <div ng-if='GroupsService.isEditable' group-add-group-menu class='panel'></div>
<div ui-sortable='sortableOptions' ng-model='GroupsService.groups' id='groupsLayout' class='panel-group'> <div ui-sortable='sortableOptions' ng-model='GroupsService.groups' id='groupsLayout' class='panel-group'>
<div <div
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment