time-range.html 847 B

123456789101112131415161718
  1. <select name="time_range" id="time_range" class="time_range" tabindex="3">{{- '' -}}
  2. <option id="time-range-anytime" value="" {{ "selected" if time_range=="" or not time_range else ""}}>
  3. {{- _('Anytime') -}}
  4. </option>{{- '' -}}
  5. <option id="time-range-day" value="day" {{ "selected" if time_range=="day" else ""}}>
  6. {{- _('Last day') -}}
  7. </option>{{- '' -}}
  8. <option id="time-range-week" value="week" {{ "selected" if time_range=="week" else ""}}>
  9. {{- _('Last week') -}}
  10. </option>{{- '' -}}
  11. <option id="time-range-month" value="month" {{ "selected" if time_range=="month" else ""}}>
  12. {{- _('Last month') -}}
  13. </option>{{- '' -}}
  14. <option id="time-range-year" value="year" {{ "selected" if time_range=="year" else ""}}>
  15. {{- _('Last year') -}}
  16. </option>{{- '' -}}
  17. </select>