Fix date range filter js behaviour and css fix for IE.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1339 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5d34548539
commit
f025b16be7
|
@ -1,4 +1,4 @@
|
||||||
<fieldset><legend><%= l(:label_date_range) %></legend>
|
<fieldset id="filters"><legend><%= l(:label_date_range) %></legend>
|
||||||
<p>
|
<p>
|
||||||
<%= radio_button_tag 'period_type', '1', !@free_period %>
|
<%= radio_button_tag 'period_type', '1', !@free_period %>
|
||||||
<%= select_tag 'period', options_for_period_select(params[:period]),
|
<%= select_tag 'period', options_for_period_select(params[:period]),
|
||||||
|
@ -7,11 +7,13 @@
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<%= radio_button_tag 'period_type', '2', @free_period %>
|
<%= radio_button_tag 'period_type', '2', @free_period %>
|
||||||
|
<span onclick="$('period_type_2').checked = true;">
|
||||||
<%= l(:label_date_from) %>
|
<%= l(:label_date_from) %>
|
||||||
<%= text_field_tag 'from', @from, :size => 10, :onfocus => '$("period_type_2").checked = true;' %> <%= calendar_for('from') %>
|
<%= text_field_tag 'from', @from, :size => 10 %> <%= calendar_for('from') %>
|
||||||
<%= l(:label_date_to) %>
|
<%= l(:label_date_to) %>
|
||||||
<%= text_field_tag 'to', @to, :size => 10, :onfocus => '$("period_type_2").checked = true;' %> <%= calendar_for('to') %>
|
<%= text_field_tag 'to', @to, :size => 10 %> <%= calendar_for('to') %>
|
||||||
<%= submit_tag l(:button_apply), :name => nil, :onclick => '$("period_type_2").checked = true;' %>
|
</span>
|
||||||
|
<%= submit_tag l(:button_apply), :name => nil %>
|
||||||
</p>
|
</p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
|
|
@ -159,7 +159,9 @@ div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid
|
||||||
p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
|
p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
|
||||||
p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
|
p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
|
||||||
|
|
||||||
fieldset#filters .buttons { text-align: right; font-size: 0.9em; margin: 0 4px 0px 0; }
|
fieldset#filters { padding: 0.7em; }
|
||||||
|
fieldset#filters p { margin: 0.8em 0 0.8em 0; }
|
||||||
|
fieldset#filters .buttons { text-align: right; font-size: 0.9em; }
|
||||||
|
|
||||||
div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
|
div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
|
||||||
div#issue-changesets .changeset { padding: 4px;}
|
div#issue-changesets .changeset { padding: 4px;}
|
||||||
|
|
Loading…
Reference in New Issue