##// END OF EJS Templates
width of all wiki content textareas set to 99.5%...
Jean-Philippe Lang -
r326:dae2d4686e72
parent child
Show More
@@ -10,7 +10,7
10 <%= text_field 'document', 'title', :size => 60 %></p>
10 <%= text_field 'document', 'title', :size => 60 %></p>
11
11
12 <p><label for="document_description"><%=l(:field_description)%></label>
12 <p><label for="document_description"><%=l(:field_description)%></label>
13 <%= text_area 'document', 'description', :cols => 60, :rows => 15 %></p>
13 <%= text_area 'document', 'description', :cols => 60, :rows => 15, :class => 'wiki-edit' %></p>
14 <!--[eoform:document]-->
14 <!--[eoform:document]-->
15 </div>
15 </div>
16
16
@@ -28,7 +28,7
28 </select></p>
28 </select></p>
29
29
30 <p><label for="notes"><%= l(:field_notes) %></label>
30 <p><label for="notes"><%= l(:field_notes) %></label>
31 <%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10 %></p>
31 <%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %></p>
32
32
33 </div>
33 </div>
34
34
@@ -19,7 +19,7
19
19
20 <div class="clear">
20 <div class="clear">
21 <p><%= f.text_field :subject, :size => 80, :required => true %></p>
21 <p><%= f.text_field :subject, :size => 80, :required => true %></p>
22 <p><%= f.text_area :description, :cols => 60, :rows => [[10, @issue.description.length / 50].max, 100].min, :required => true %></p>
22 <p><%= f.text_area :description, :required => true, :cols => 60, :rows => [[10, @issue.description.length / 50].max, 100].min, :class => 'wiki-edit' %></p>
23
23
24 <% for @custom_value in @custom_values %>
24 <% for @custom_value in @custom_values %>
25 <p><%= custom_field_tag_with_label @custom_value %></p>
25 <p><%= custom_field_tag_with_label @custom_value %></p>
@@ -104,7 +104,7 end %>
104 <h3><%= l(:label_add_note) %></h3>
104 <h3><%= l(:label_add_note) %></h3>
105 <% form_tag ({:controller => 'issues', :action => 'add_note', :id => @issue}, :class => "tabular" ) do %>
105 <% form_tag ({:controller => 'issues', :action => 'add_note', :id => @issue}, :class => "tabular" ) do %>
106 <p><label for="notes"><%=l(:field_notes)%></label>
106 <p><label for="notes"><%=l(:field_notes)%></label>
107 <%= text_area_tag 'notes', '', :cols => 60, :rows => 10 %></p>
107 <%= text_area_tag 'notes', '', :cols => 60, :rows => 10, :class => 'wiki-edit' %></p>
108 <%= submit_tag l(:button_add) %>
108 <%= submit_tag l(:button_add) %>
109 <% end %>
109 <% end %>
110 </div>
110 </div>
@@ -2,7 +2,7
2 <div class="box">
2 <div class="box">
3 <p><%= f.text_field :title, :required => true, :size => 60 %></p>
3 <p><%= f.text_field :title, :required => true, :size => 60 %></p>
4 <p><%= f.text_area :summary, :cols => 60, :rows => 2 %></p>
4 <p><%= f.text_area :summary, :cols => 60, :rows => 2 %></p>
5 <p><%= f.text_area :description, :required => true, :cols => 60, :rows => 15 %></p>
5 <p><%= f.text_area :description, :required => true, :cols => 60, :rows => 15, :class => 'wiki-edit' %></p>
6 </div>
6 </div>
7
7
8 <% if Setting.text_formatting == 'textile' %>
8 <% if Setting.text_formatting == 'textile' %>
@@ -19,7 +19,7
19
19
20 <div class="clear">
20 <div class="clear">
21 <p><%= f.text_field :subject, :size => 80, :required => true %></p>
21 <p><%= f.text_field :subject, :size => 80, :required => true %></p>
22 <p><%= f.text_area :description, :cols => 60, :rows => 10, :required => true %></p>
22 <p><%= f.text_area :description, :cols => 60, :rows => 10, :required => true, :class => 'wiki-edit' %></p>
23
23
24 <% for @custom_value in @custom_values %>
24 <% for @custom_value in @custom_values %>
25 <p><%= custom_field_tag_with_label @custom_value %></p>
25 <p><%= custom_field_tag_with_label @custom_value %></p>
@@ -11,7 +11,7
11 <%= link_to l(:label_help), {:controller => 'help', :ctrl => 'wiki', :page => 'syntax' },
11 <%= link_to l(:label_help), {:controller => 'help', :ctrl => 'wiki', :page => 'syntax' },
12 :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;" %>
12 :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;" %>
13 </div>
13 </div>
14 <p><%= f.text_area :text, :cols => 100, :rows => 25, :style => "width:99.5%;" %></p>
14 <p><%= f.text_area :text, :cols => 100, :rows => 25, :class => 'wiki-edit' %></p>
15 <p><label><%= l(:field_comment) %></label><br /><%= f.text_field :comment, :size => 120 %></p>
15 <p><label><%= l(:field_comment) %></label><br /><%= f.text_field :comment, :size => 120 %></p>
16 <p><%= submit_tag l(:button_save) %>
16 <p><%= submit_tag l(:button_save) %>
17 <%= link_to_remote l(:label_preview),
17 <%= link_to_remote l(:label_preview),
@@ -237,6 +237,7 blockquote {padding-left: 6px; border-left: 2px solid #ccc;}
237 input, select {vertical-align: middle; margin-bottom: 4px;}
237 input, select {vertical-align: middle; margin-bottom: 4px;}
238
238
239 input.button-small {font-size: 0.8em;}
239 input.button-small {font-size: 0.8em;}
240 textarea.wiki-edit { width: 99.5%; }
240 .select-small {font-size: 0.8em;}
241 .select-small {font-size: 0.8em;}
241 label {font-weight: bold; font-size: 1em; color: #505050;}
242 label {font-weight: bold; font-size: 1em; color: #505050;}
242 fieldset {border:1px solid #c0c0c0; padding: 6px;}
243 fieldset {border:1px solid #c0c0c0; padding: 6px;}
General Comments 0
You need to be logged in to leave comments. Login now