/ %button.btn-refresh
/   %i.icon-repeat
%h1 {{ pageTitle() }}
%small.search-infos{'ng-show' => 'results'}
  %span{'ng-show' => 'settings.page > 0'} Page {{ settings.page + 1 }} of
  %ng-pluralize{count: 'results.nbHits', when: '{"0": "No results", "one": "1 result", "other": "{{ results.nbHits | number }} results"}'}
  ({{ results.processingTimeMS / 1000.0 | number }} seconds)
.date-range-filter
  %ul.list-inline
    %li
      %input#range-1.radio{"ng-model"=>"settings.dateRange", name:"date-range", type:"radio", value:"last24h"}
      %label{for:"range-1"} Last 24h
    %li
      %input#range-2.radio{"ng-model"=>"settings.dateRange", name:"date-range", type:"radio", value:"pastWeek"}
      %label{for:"range-2"} Past week
    %li
      %input#range-3.radio{"ng-model"=>"settings.dateRange", name:"date-range", type:"radio", value:"pastMonth"}
      %label{for:"range-3"} Past month
    %li
      %input#range-4.radio{"ng-model"=>"settings.dateRange", name:"date-range", type:"radio", value:"all"}
      %label{for:"range-4"} Forever

/ %button.btn-refresh
/   %i.icon-repeat
%h1 {{ pageTitle() }}
%small.search-infos{'ng-show' => 'results'}
  %span{'ng-show' => 'settings.page > 0'} Page {{ settings.page + 1 }} of
  %ng-pluralize{count: 'results.nbHits', when: '{"0": "No results", "one": "1 result", "other": "{{ results.nbHits | number }} results"}'}
  ({{ results.processingTimeMS / 1000.0 | number }} seconds)
.date-range-filter
  %ul.list-inline
    %li
      %input#range-1.radio{"ng-model"=>"settings.dateRange", name:"date-range", type:"radio", value:"last24h"}
      %label{for:"range-1"} Last 24h
    %li
      %input#range-2.radio{"ng-model"=>"settings.dateRange", name:"date-range", type:"radio", value:"pastWeek"}
      %label{for:"range-2"} Past week
    %li{'ng-show' => 'state !== "hot"'}
      %input#range-3.radio{"ng-model"=>"settings.dateRange", name:"date-range", type:"radio", value:"pastMonth"}
      %label{for:"range-3"} Past month
    %li{'ng-show' => 'state !== "hot"'}
      %input#range-4.radio{"ng-model"=>"settings.dateRange", name:"date-range", type:"radio", value:"all"}
      %label{for:"range-4"} Forever

Hide some date range if hot
Hide some date range if hot
