Skip to content

Commit d75436c

Browse files
Chris McLeanChris McLean
authored andcommitted
styled search data set containers
1 parent de22c1c commit d75436c

File tree

2 files changed

+27
-25
lines changed

2 files changed

+27
-25
lines changed

app/styles/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ body {
105105
border-bottom: 1px solid #60beff;
106106
width: 100%;
107107
background-color: rgba(70, 84, 93, 0.5);
108+
color: #ffffff;
108109
}
109110

110111
.data-set-container ::-webkit-scrollbar {

app/views/list-select.tpl.html

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
1-
<h3 class="pull-left">{{title}}</h3>
2-
<div class="select-list textlist clear-both">
3-
<div class="form-group">
4-
<div class="controls">
5-
<div class="input-group">
6-
<span class="input-group-addon"><i class="glyphicon glyphicon-bullhorn"></i></span>
7-
<input type="text" class="form-control"
8-
ng-model="selectedItem"
9-
typeahead-min-length="2"
10-
typeahead-wait-ms="200"
11-
typeahead-on-select="selectItem()"
12-
typeahead="item as item.name for item in items | filter:{name: $viewValue} | limitTo: 3"
13-
/>
1+
<div class="data-set-container">
2+
<h3 class="pull-left">{{title}}</h3>
3+
<div class="select-list textlist clear-both">
4+
<div class="form-group">
5+
<div class="controls">
6+
<div class="input-group data">
7+
<input type="text" placeholder="search" class="form-control"
8+
ng-model="selectedItem"
9+
typeahead-min-length="2"
10+
typeahead-wait-ms="200"
11+
typeahead-on-select="selectItem()"
12+
typeahead="item as item.name for item in items | filter:{name: $viewValue} | limitTo: 3"
13+
/>
14+
</div>
1415
</div>
1516
</div>
16-
</div>
17-
<div class="dataset">
18-
<table class="table">
19-
<tbody>
20-
<tr ng-repeat="item in selectedItems">
21-
<td>{{item.name}}</td>
22-
<td class="remove-selected">
23-
<span class="glyphicon glyphicon-remove-circle remove-selected" ng-click="removeItem(item)"></span>
24-
</td>
25-
</tr>
26-
</tbody>
27-
</table>
17+
<div class="dataset">
18+
<table class="table">
19+
<tbody>
20+
<tr ng-repeat="item in selectedItems">
21+
<td>{{item.name}}</td>
22+
<td class="remove-selected">
23+
<span class="glyphicon glyphicon-remove-circle remove-selected" ng-click="removeItem(item)"></span>
24+
</td>
25+
</tr>
26+
</tbody>
27+
</table>
28+
</div>
2829
</div>
2930
</div>

0 commit comments

Comments
 (0)