Search.html 3.35 KB
Newer Older
1
2
3
4
5
6
<div class="db_list-searchbox-form db_list-searchbox-toolbar module-docheader-bar module-docheader-bar-search t3js-module-docheader-bar t3js-module-docheader-bar-search" id="db_list-searchbox-toolbar" style="display: {f:if(condition: searchString, then: 'block;', else: 'none;')}">
    <form action="{formUrl}" method="post">
        <div id="typo3-dblist-search">
            <div class="panel panel-default">
                <div class="panel-body">
                    <div class="row">
7
                        <div class="col-sm-6 col-12">
8
9
10
11
12
                            <label for="search_field">
                                <f:translate id="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.label.searchString"/>
                            </label>
                            <input class="form-control" type="search" placeholder="{f:translate(id:'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.enterSearchString')}" title="{f:translate(id: 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.title.searchString')}" name="search_field" id="search_field" value="{searchString}" />
                        </div>
13
                        <div class="col-12 col-sm-3">
14
                            <label for="search_levels"><f:translate id="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.label.search_levels" /></label>
15
                            <select class="form-select" name="search_levels" title="{f:translate(id: 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.title.search_levels')}" id="search_levels">
16
17
18
19
20
21
22
                                <f:for each="{searchLevelsFromTSconfig}" as="searchLevelFromTsConfig" key="level">
                                    <option {f:if(condition: '{level} == {selectedSearchLevel}', then: ' selected="selected"')} value="{level}">
                                        <f:translate id="LLL:{searchLevelFromTsConfig}">{searchLevelFromTsConfig}</f:translate>
                                    </option>
                                </f:for>
                            </select>
                        </div>
23
                        <div class="col-12 col-sm-3">
24
25
26
                            <label for="showLimit"><f:translate id="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.label.limit" /></label>
                            <input class="form-control" type="number" min="0" max="10000" placeholder="10" title="{f:translate(id:'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.title.limit')}" name="showLimit" id="showLimit" value="{f:if(condition: showLimit, then: '{showLimit}', else: '')}" />
                        </div>
27
                        <div class="col-12">
28
29
30
31
32
33
34
35
36
37
38
39
40
                            <div class="form-control-wrap">
                                <button type="submit" class="btn btn-default" name="search" title="{f:translate(id:'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.title.search')}">
                                    <core:icon identifier="actions-search" />
                                    <f:translate id="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.search"/>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>