diff options
Diffstat (limited to 'plugins/CoreHome/templates/_periodSelect.twig')
-rw-r--r-- | plugins/CoreHome/templates/_periodSelect.twig | 61 |
1 files changed, 35 insertions, 26 deletions
diff --git a/plugins/CoreHome/templates/_periodSelect.twig b/plugins/CoreHome/templates/_periodSelect.twig index 4528109f5f..c02f14d1a6 100644 --- a/plugins/CoreHome/templates/_periodSelect.twig +++ b/plugins/CoreHome/templates/_periodSelect.twig @@ -4,34 +4,43 @@ {{ prettyDate }} </a> <div id="periodMore" class="dropdown"> - <div class="period-date"> - <div id="datepicker"></div> - </div> - <div class="period-range" style="display:none;"> - <div id="calendarRangeFrom"> - <h6>{{ 'General_DateRangeFrom'|translate }}<input tabindex="4" type="text" id="inputCalendarFrom" name="inputCalendarFrom"/></h6> + <table> + <tr> + <td> + <div class="period-range" style="display:none;"> + <div id="calendarRangeFrom"> + <h6>{{ 'General_DateRangeFrom'|translate }}<input tabindex="4" type="text" id="inputCalendarFrom" name="inputCalendarFrom" class="browser-default"/></h6> - <div id="calendarFrom"></div> - </div> - <div id="calendarRangeTo"> - <h6>{{ 'General_DateRangeTo'|translate }}<input tabindex="4" type="text" id="inputCalendarTo" name="inputCalendarTo"/></h6> + <div id="calendarFrom"></div> + </div> + <div id="calendarRangeTo"> + <h6>{{ 'General_DateRangeTo'|translate }}<input tabindex="4" type="text" id="inputCalendarTo" name="inputCalendarTo" class="browser-default"/></h6> - <div id="calendarTo"></div> - </div> - </div> - <div class="period-type"> - <h6>{{ 'General_Period'|translate }}</h6> - <span id="otherPeriods"> - {% for label,thisPeriod in periodsNames %} - <input type="radio" name="period" id="period_id_{{ label }}" value="{{ linkTo( { 'period': label} ) }}"{% if label==period %} checked="checked"{% endif %} /> - <label for="period_id_{{ label }}">{{ thisPeriod.singular }}</label> - <br/> - {% endfor %} - </span> - <input tabindex="4" type="submit" value="{{ 'General_Apply'|translate }}" id="calendarApply" class="btn"/> - {% import 'ajaxMacros.twig' as ajax %} - {{ ajax.loadingDiv('ajaxLoadingCalendar') }} - </div> + <div id="calendarTo"></div> + </div> + </div> + <div class="period-date"> + <div id="datepicker"></div> + </div> + </td> + <td> + <div class="period-type"> + <h6>{{ 'General_Period'|translate }}</h6> + <span id="otherPeriods"> + {% for label,thisPeriod in periodsNames %} + <p> + <input type="radio" name="period" id="period_id_{{ label }}" value="{{ linkTo( { 'period': label} ) }}"{% if label==period %} checked="checked"{% endif %} /> + <label for="period_id_{{ label }}">{{ thisPeriod.singular }}</label> + </p> + {% endfor %} + </span> + <input tabindex="4" type="submit" value="{{ 'General_Apply'|translate }}" id="calendarApply" class="btn"/> + {% import 'ajaxMacros.twig' as ajax %} + {{ ajax.loadingDiv('ajaxLoadingCalendar') }} + </div> + </td> + </tr> + </table> </div> <div class="period-click-tooltip" style="display:none;">{{ 'General_ClickToChangePeriod'|translate }}</div> </div> |