Difference between revisions of "Template:SearchEvents"
(7 intermediate revisions by 3 users not shown) | |||
Line 17: | Line 17: | ||
}} | }} | ||
}}} | }}} | ||
− | |||
{{#eval:html| | {{#eval:html| | ||
<form action="/en/Search_Events" method="get"> | <form action="/en/Search_Events" method="get"> | ||
− | < | + | <div class="subnav filter-form"> |
− | < | + | <div class="filter-search"> |
− | < | + | <label>Search</label> |
− | + | <input type="text" name="query" placeholder="Search events..." value="{{{query}}}" style="width:100%"> | |
− | <input type="text" name="query" placeholder="Search events" value="{{{query}}}" style="width:100%"> | + | </div> |
− | </ | + | <div class="filter-country"> |
− | < | + | <label>Country</label> |
− | |||
− | < | ||
− | |||
{{DataDropDown | {{DataDropDown | ||
|name=country | |name=country | ||
Line 44: | Line 40: | ||
}); | }); | ||
}} | }} | ||
− | </ | + | </div> |
− | < | + | <div class="filter-city"> |
− | + | <label>City</label> | |
− | < | ||
− | |||
{{CityDropDown|city={{{city|}}}|country={{{country|}}}}} | {{CityDropDown|city={{{city|}}}|country={{{country|}}}}} | ||
− | </ | + | </div> |
− | < | + | <div class="filter-year"> |
− | + | <label>Year</label> | |
− | < | ||
− | |||
{{DataDropDown | {{DataDropDown | ||
|name=year | |name=year | ||
Line 61: | Line 53: | ||
|options={{#data:selectcolumn|Item=Event.Years.Year|#limit=300|#orderby=Event.Years.Year}} | |options={{#data:selectcolumn|Item=Event.Years.Year|#limit=300|#orderby=Event.Years.Year}} | ||
}} | }} | ||
− | </ | + | </div> |
− | < | + | <div class="filter-category"> |
− | + | <label>Category</label> | |
− | < | ||
− | |||
{{DataDropDown | {{DataDropDown | ||
|name=category | |name=category | ||
Line 82: | Line 72: | ||
}); | }); | ||
}} | }} | ||
− | </ | + | </div> |
− | < | + | <div class="filter-festival"> |
− | + | <label>Festival</label> | |
− | < | ||
− | |||
{{FestivalDropDown|category={{{category|}}}}} | {{FestivalDropDown|category={{{category|}}}}} | ||
− | </ | + | </div> |
− | + | <input id="submit" type="submit" name="search-events" value="Search events" style="width:100%"> | |
− | + | </div> | |
− | |||
− | |||
− | <input type="submit" name="search-events" value="Search events" style="width:100%"> | ||
− | </ | ||
− | |||
− | |||
</form> | </form> | ||
}} | }} | ||
+ | {{:SimpleEventsMap}} | ||
{{#if:{{{where}}}| | {{#if:{{{where}}}| | ||
− | <ul class="events"> | + | <ul class="events" id="events"> |
{{Worldwide | {{Worldwide | ||
|where = TRUE {{{where}}} | |where = TRUE {{{where}}} |