add public design files
This commit is contained in:
29
design/carheart/html/search.tpl
Normal file
29
design/carheart/html/search.tpl
Normal file
@@ -0,0 +1,29 @@
|
||||
<h1>Поиск по сайту</h1>
|
||||
|
||||
<form action="/search/" style="padding:10px 0px;" class="hidden-xs" method="get">
|
||||
<div class="input-group top-serch">
|
||||
<input type="text" class="form-control input-sm input_search" name="keyword" value="{$smarty.get.keyword}" placeholder="" autocomplete="off">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-danger btn-sm" type="submit"><span class="glyphicon glyphicon-search"></span></button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{$no_results}
|
||||
|
||||
|
||||
{foreach $items as $item}
|
||||
|
||||
{if $item->_header}
|
||||
<div class="h2">{$item->_header}</div>
|
||||
{continue}
|
||||
{/if}
|
||||
<div>
|
||||
<div>
|
||||
<a href="{$item->url}">{$item->name}</a>
|
||||
</div>
|
||||
<div>
|
||||
{$item->annotation}
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
Reference in New Issue
Block a user