clone of github.com/decent-newsroom/newsroom
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
952 B

<div {{ attributes }}>
{% if interactive %}
<label class="search">
<input type="search"
placeholder="{{ 'text.search'|trans }}"
data-model="norender|query"
/>
<button type="submit" data-action="live#$render"><twig:ux:icon name="iconoir:search" class="icon" /></button>
</label>
<!--
<div style="text-align: right">
<small class="help-text"><em>Powered by Silk</em></small>
</div> -->
<!-- Loading Indicator -->
<div style="text-align: center">
<span data-loading>{{ 'text.searching'|trans }}</span>
</div>
{% endif %}
<!-- Results -->
{% if this.results is not empty %}
<twig:Organisms:CardList :list="this.results" class="article-list" />
{% elseif this.query is not empty %}
<p><small>{{ 'text.noResults'|trans }}</small></p>
{% endif %}
</div>