userDateRangeSearchForm.handlebars 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <style type="text/css">
  2. #userIdSearchField { width: 8em; }
  3. </style>
  4. <div class="control-group">
  5. <input
  6. type="text"
  7. name="search_term"
  8. data-view="inputFilter"
  9. placeholder='{{#t "search_people"}}Search people{{/t}}'
  10. aria-label='{{#t "search"}}Search for people by ID or name{{/t}}'
  11. maxlength="255"
  12. >
  13. <input
  14. type="hidden"
  15. class="userIdField"
  16. name="user_id"
  17. maxlength="255"
  18. >
  19. <input
  20. type="hidden"
  21. class="hiddenDateStart"
  22. name="start_time"
  23. />
  24. <input
  25. type="hidden"
  26. class="hiddenDateEnd"
  27. name="end_time"
  28. />
  29. <input type="submit" class="btn btn-primary span2" value="{{#t}}Find{{/t}}">
  30. </div>
  31. <div class="v-gutter">
  32. <h2 class="screenreader-only">{{#t}}Users{{/t}}</h2>
  33. <div data-view="users" class="users-container"></div>
  34. </div>
  35. <div class="pad-box border border-trbl search-controls">
  36. <div class="control-group">
  37. <label class="control-label" for="{{formName}}-dateStartSearchField">
  38. {{#t "message_date_from"}}From Date{{/t}}
  39. </label>
  40. <label class="screenreader-only" id="search_start_date_label">
  41. {{#t}}Limit search to activity after{{/t}}
  42. {{datepickerScreenreaderPrompt}}
  43. </label>
  44. <div class="controls">
  45. <input type="text"
  46. id="{{formName}}-dateStartSearchField"
  47. class="dateStartSearchField"
  48. name="start_time"
  49. placeholder="{{#t "message_date_from"}}From Date{{/t}}"
  50. maxlength="50"
  51. aria-labelledby="search_start_date_label"
  52. data-tooltip='{"position":"top","force_position":"true"}'
  53. title="{{accessibleDateFormat}}"/>
  54. </div>
  55. </div>
  56. <div class="control-group">
  57. <label class="control-label" for="{{formName}}-dateEndSearchField">
  58. {{#t "message_date_to"}}To Date{{/t}}
  59. </label>
  60. <label class="screenreader-only" id="search_end_date_label">
  61. {{#t}}Limit search to activity before{{/t}}
  62. {{datepickerScreenreaderPrompt}}
  63. </label>
  64. <div class="controls">
  65. <input type="text"
  66. id="{{formName}}-dateEndSearchField"
  67. class="dateEndSearchField"
  68. name="end_time"
  69. placeholder="{{#t "message_date_to"}}To Date{{/t}}"
  70. maxlength="50"
  71. aria-labelledby="search_end_date_label"
  72. data-tooltip='{"position":"top","force_position":"true"}'
  73. title="{{accessibleDateFormat}}" />
  74. </div>
  75. </div>
  76. </div>