width of all wiki content textareas set to 99.5%
git-svn-id: http://redmine.rubyforge.org/svn/trunk@329 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fc3ee67b1f
commit
dae2d4686e
|
@ -10,7 +10,7 @@
|
||||||
<%= text_field 'document', 'title', :size => 60 %></p>
|
<%= text_field 'document', 'title', :size => 60 %></p>
|
||||||
|
|
||||||
<p><label for="document_description"><%=l(:field_description)%></label>
|
<p><label for="document_description"><%=l(:field_description)%></label>
|
||||||
<%= text_area 'document', 'description', :cols => 60, :rows => 15 %></p>
|
<%= text_area 'document', 'description', :cols => 60, :rows => 15, :class => 'wiki-edit' %></p>
|
||||||
<!--[eoform:document]-->
|
<!--[eoform:document]-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
</select></p>
|
</select></p>
|
||||||
|
|
||||||
<p><label for="notes"><%= l(:field_notes) %></label>
|
<p><label for="notes"><%= l(:field_notes) %></label>
|
||||||
<%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10 %></p>
|
<%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %></p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
<div class="clear">
|
<div class="clear">
|
||||||
<p><%= f.text_field :subject, :size => 80, :required => true %></p>
|
<p><%= f.text_field :subject, :size => 80, :required => true %></p>
|
||||||
<p><%= f.text_area :description, :cols => 60, :rows => [[10, @issue.description.length / 50].max, 100].min, :required => true %></p>
|
<p><%= f.text_area :description, :required => true, :cols => 60, :rows => [[10, @issue.description.length / 50].max, 100].min, :class => 'wiki-edit' %></p>
|
||||||
|
|
||||||
<% for @custom_value in @custom_values %>
|
<% for @custom_value in @custom_values %>
|
||||||
<p><%= custom_field_tag_with_label @custom_value %></p>
|
<p><%= custom_field_tag_with_label @custom_value %></p>
|
||||||
|
|
|
@ -104,7 +104,7 @@ end %>
|
||||||
<h3><%= l(:label_add_note) %></h3>
|
<h3><%= l(:label_add_note) %></h3>
|
||||||
<% form_tag ({:controller => 'issues', :action => 'add_note', :id => @issue}, :class => "tabular" ) do %>
|
<% form_tag ({:controller => 'issues', :action => 'add_note', :id => @issue}, :class => "tabular" ) do %>
|
||||||
<p><label for="notes"><%=l(:field_notes)%></label>
|
<p><label for="notes"><%=l(:field_notes)%></label>
|
||||||
<%= text_area_tag 'notes', '', :cols => 60, :rows => 10 %></p>
|
<%= text_area_tag 'notes', '', :cols => 60, :rows => 10, :class => 'wiki-edit' %></p>
|
||||||
<%= submit_tag l(:button_add) %>
|
<%= submit_tag l(:button_add) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<p><%= f.text_field :title, :required => true, :size => 60 %></p>
|
<p><%= f.text_field :title, :required => true, :size => 60 %></p>
|
||||||
<p><%= f.text_area :summary, :cols => 60, :rows => 2 %></p>
|
<p><%= f.text_area :summary, :cols => 60, :rows => 2 %></p>
|
||||||
<p><%= f.text_area :description, :required => true, :cols => 60, :rows => 15 %></p>
|
<p><%= f.text_area :description, :required => true, :cols => 60, :rows => 15, :class => 'wiki-edit' %></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% if Setting.text_formatting == 'textile' %>
|
<% if Setting.text_formatting == 'textile' %>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
<div class="clear">
|
<div class="clear">
|
||||||
<p><%= f.text_field :subject, :size => 80, :required => true %></p>
|
<p><%= f.text_field :subject, :size => 80, :required => true %></p>
|
||||||
<p><%= f.text_area :description, :cols => 60, :rows => 10, :required => true %></p>
|
<p><%= f.text_area :description, :cols => 60, :rows => 10, :required => true, :class => 'wiki-edit' %></p>
|
||||||
|
|
||||||
<% for @custom_value in @custom_values %>
|
<% for @custom_value in @custom_values %>
|
||||||
<p><%= custom_field_tag_with_label @custom_value %></p>
|
<p><%= custom_field_tag_with_label @custom_value %></p>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<%= link_to l(:label_help), {:controller => 'help', :ctrl => 'wiki', :page => 'syntax' },
|
<%= link_to l(:label_help), {:controller => 'help', :ctrl => 'wiki', :page => 'syntax' },
|
||||||
:onclick => "window.open('#{ url_for :controller => 'help', :ctrl => 'wiki', :page => 'syntax' }', '', 'resizable=yes, location=no, width=300, height=500, menubar=no, status=no, scrollbars=yes'); return false;" %>
|
:onclick => "window.open('#{ url_for :controller => 'help', :ctrl => 'wiki', :page => 'syntax' }', '', 'resizable=yes, location=no, width=300, height=500, menubar=no, status=no, scrollbars=yes'); return false;" %>
|
||||||
</div>
|
</div>
|
||||||
<p><%= f.text_area :text, :cols => 100, :rows => 25, :style => "width:99.5%;" %></p>
|
<p><%= f.text_area :text, :cols => 100, :rows => 25, :class => 'wiki-edit' %></p>
|
||||||
<p><label><%= l(:field_comment) %></label><br /><%= f.text_field :comment, :size => 120 %></p>
|
<p><label><%= l(:field_comment) %></label><br /><%= f.text_field :comment, :size => 120 %></p>
|
||||||
<p><%= submit_tag l(:button_save) %>
|
<p><%= submit_tag l(:button_save) %>
|
||||||
<%= link_to_remote l(:label_preview),
|
<%= link_to_remote l(:label_preview),
|
||||||
|
|
|
@ -237,6 +237,7 @@ blockquote {padding-left: 6px; border-left: 2px solid #ccc;}
|
||||||
input, select {vertical-align: middle; margin-bottom: 4px;}
|
input, select {vertical-align: middle; margin-bottom: 4px;}
|
||||||
|
|
||||||
input.button-small {font-size: 0.8em;}
|
input.button-small {font-size: 0.8em;}
|
||||||
|
textarea.wiki-edit { width: 99.5%; }
|
||||||
.select-small {font-size: 0.8em;}
|
.select-small {font-size: 0.8em;}
|
||||||
label {font-weight: bold; font-size: 1em; color: #505050;}
|
label {font-weight: bold; font-size: 1em; color: #505050;}
|
||||||
fieldset {border:1px solid #c0c0c0; padding: 6px;}
|
fieldset {border:1px solid #c0c0c0; padding: 6px;}
|
||||||
|
|
Loading…
Reference in New Issue