1 <div id=
"bootstrap-theme" class=
"crm-search">
2 <h1 crm-page-title
>{{:: ts('Search for %
1', {
1: $ctrl.entityTitle}) }}
</h1>
3 <div crm-ui-debug=
"$ctrl.savedSearch"></div>
5 <!--This warning will show if bootstrap is unavailable. Normally it will be hidden by the bootstrap .collapse class.-->
6 <div class=
"messages warning no-popup collapse">
8 <i class=
"crm-i fa-exclamation-triangle" aria-hidden=
"true"></i>
9 <strong>{{:: ts('Bootstrap theme not found.') }}
</strong>
11 <p>{{:: ts('This screen may not work correctly without a bootstrap-based theme such as Shoreditch installed.') }}
</p>
15 <div class=
"navbar-form clearfix">
16 <div class=
"form-group pull-right">
17 <button class=
"btn btn-default" ng-disabled=
"$ctrl.saved" ng-click=
"$ctrl.save()">
18 {{ $ctrl.saved ? ts('Saved') : ts('Save') }}
22 <div class=
"crm-flex-box">
23 <ul class=
"nav nav-pills nav-stacked" ng-include=
"'~/searchAdmin/tabs.html'"></ul>
24 <div class=
"crm-flex-4" ng-switch=
"controls.tab">
25 <div ng-switch-when=
"compose">
26 <div ng-include=
"'~/searchAdmin/compose/criteria.html'"></div>
27 <div ng-include=
"'~/searchAdmin/compose/controls.html'"></div>
28 <div ng-include=
"'~/searchAdmin/compose/debug.html'" ng-if=
"$ctrl.debug"></div>
29 <div ng-include=
"'~/searchAdmin/compose/results.html'" class=
"crm-search-results"></div>
30 <div ng-include=
"'~/searchAdmin/compose/pager.html'"></div>
32 <div ng-switch-when=
"group">
33 <fieldset ng-include=
"'~/searchAdmin/group.html'"></fieldset>
35 <div ng-switch-default
>