aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar/room-search-criteria-templates.php
blob: 09e980b1bbb9c5aa88ed2f742b4f669769672c37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<li class="template invisible" data-template-type="bool">
    <?= Icon::create('trash')->asInput(
        [
            'title' => _('Kriterium entfernen'),
            'aria-label' => _('Kriterium entfernen'),
            'class' => 'text-bottom remove-icon'
        ]
    ) ?>
    <input type="hidden" value="1">
    <label class="undecorated">
        <input type="checkbox"
               value="1"
               checked
               class="room-search-widget_criteria-list_input">
        <span></span>
    </label>
</li>
<li class="template invisible" data-template-type="range">
    <?= Icon::create('trash')->asSvg(
        [
            'class' => 'text-bottom remove-icon',
            'aria-label' => _('Kriterium entfernen'),
            'title' => _('Kriterium entfernen'),
        ]
    ) ?>
    <label class="range-search-label undecorated"><span></span></label>
        <input type="hidden">
        <div class="range-input-container hgroup">
            <label>
                <?= _('von') ?>
                <input type="number" value="10" class="room-search-widget_criteria-list_input">
            </label>
            <label>
                <?= _('bis') ?>
                <input type="number" value="100" class="room-search-widget_criteria-list_input">
            </label>
        </div>
    </label>
</li>
<li class="template invisible" data-template-type="num">
    <?= Icon::create('trash')->asSvg(
        [
            'class' => 'text-bottom remove-icon',
            'aria-label' => _('Kriterium entfernen'),
            'title' => _('Kriterium entfernen'),
        ]
    ) ?>
    <label class="undecorated">
        <span></span>
        <input type="number" class="room-search-widget_criteria-list_input">
    </label>
</li>
<li class="template invisible" data-template-type="select">
    <?= Icon::create('trash')->asSvg(['class' => 'text-bottom remove-icon']) ?>
    <label class="undecorated">
        <span></span>
        <select class="room-search-widget_criteria-list_input">
        </select>
    </label>
</li>
<li class="template invisible"
    data-template-type="other">
    <?= Icon::create('trash')->asSvg(
        [
            'class' => 'text-bottom remove-icon',
            'aria-label' => _('Kriterium entfernen'),
            'title' => _('Kriterium entfernen'),
        ]
    ) ?>
    <label class="undecorated">
        <span></span>
        <input type="text" class="room-search-widget_criteria-list_input">
    </label>
</li>