{{includefile 'bootstrap/css/page_common.css'}} Search {{includefile 'header.html'}} {{includefile 'navbar.html'}} {{#make sure our devices cache is loaded, this is normally only loaded from the devices page but the search can be started from any page}} {{devices_local=devices false true}}
Search Results for: {{queries['search_data']}}
{{if (array.size search_results) == 0}} No Results {{else}}
Devices
{{if location1_display_first}}{{location_name}}{{else}}{{location2_name}}{{end}}
{{if location1_display_first}}{{location2_name}}{{else}}{{location_name}}{{end}}
{{for se in search_results}} {{if se.result_type=='device_name' || se.result_type=='device_location' || se.result_type=='device_location2' || se.result_type=='device_category'}}
{{se.display_name}}
{{if location1_display_first}}{{se.location}}{{else}}{{se.location2}}{{end}}
{{if location1_display_first}}{{se.location2}}{{else}}{{se.location}}{{end}}
{{end}} {{end}}
Events
Type
{{for se in search_results}} {{if se.result_type=='event_group'}}
Group
{{end}} {{if se.result_type=='event_group_global_conditions'}}
Group Global Conditions
{{end}} {{if se.result_type=='event_group_global_actions'}}
Group Global Actions
{{end}} {{if se.result_type=='events'}}
{{if se.result_sub_type=='event_reference_trigger'}} Trigger {{else if se.result_sub_type=='event_reference_action'}} Action {{else}} Name {{end}}
{{end}} {{end}}
Counters/Timers
{{for se in search_results}}
{{if se.result_type=='counter' || se.result_type=='timer'}}
{{end}}
{{end}} {{end}}
{{includefile 'bootstrap/js/page_common.js'}}