FIX: Shrink tag input and use date type for Post Time

This commit is contained in:
cpradio 2016-10-13 12:48:36 -04:00
parent 2eb48ee1ce
commit 9fd4cf3278
2 changed files with 3 additions and 2 deletions

View File

@ -56,6 +56,7 @@ export default Ember.TextField.extend({
placeholder: this.get('placeholder') === "" ? "" : I18n.t(this.get('placeholderKey') || 'tagging.choose_for_topic'),
maximumInputLength: this.siteSettings.max_tag_length,
maximumSelectionSize: limit,
width: this.get('width') || 'resolve',
initSelection(element, callback) {
const data = [];

View File

@ -40,7 +40,7 @@
<div class="control-group">
<label class="control-label" for="search-with-tags">{{i18n "search.advanced.with_tags.label"}}</label>
<div class="controls">
{{tag-chooser tags=searchedTerms.tags blacklist=searchedTerms.tags allowCreate=false placeholder="" everyTag="true" unlimitedTagCount="true"}}
{{tag-chooser tags=searchedTerms.tags blacklist=searchedTerms.tags allowCreate=false placeholder="" everyTag="true" unlimitedTagCount="true" width="70%"}}
</div>
</div>
</div>
@ -66,7 +66,7 @@
<label class="control-label" for="search-post-date">{{i18n "search.advanced.post.time.label"}}</label>
<div class="controls">
{{combo-box id="postTime" valueAttribute="value" content=postTimeOptions value=searchedTerms.time.when}}
{{input type="text" value=searchedTerms.time.days class="input-small" id='search-post-date'}}
{{input type="date" value=searchedTerms.time.days class="input-small" id='search-post-date'}}
</div>
</div>
<div class="control-group pull-left">