mirror of
https://github.com/sismics/docs.git
synced 2025-12-20 13:11:41 +00:00
Search on tags (client/server)
This commit is contained in:
@@ -2,8 +2,5 @@
|
||||
<ul class="inline">
|
||||
<li ng-repeat="tag in tags"><span class="label label-info">{{ tag.name }} <span class="icon-remove icon-white" ng-click="deleteTag(tag)"></span></span></li>
|
||||
</ul>
|
||||
<p class="input-append">
|
||||
<input type="text" id="{{ ref }}" placeholder="Type a tag" ng-model="input" typeahead="tag.name for tag in allTags | filter: $viewValue" typeahead-on-select="addTag()" />
|
||||
<button type="submit" class="btn" ng-click="addTag()">Add</button>
|
||||
</p>
|
||||
<input type="text" id="{{ ref }}" placeholder="Type a tag" ng-model="input" typeahead="tag.name for tag in allTags | filter: $viewValue" typeahead-on-select="addTag()" />
|
||||
</div>
|
||||
@@ -20,6 +20,12 @@
|
||||
<input class="span4" ng-readonly="true" ng-change="loadDocuments()" type="text" id="inputCreateDateMax" datepicker-popup="yyyy-MM-dd" ng-model="search.createDateMax" starting-day="1" show-weeks="false" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputTags">Tags</label>
|
||||
<div class="controls">
|
||||
<select-tag tags="search.tags" class="input-block-level" ref="inputTags" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
<button ng-click="initSearch()" class="btn btn-warning" type="submit">Reset search</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user