summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-11 14:22:53 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-11 14:22:53 +0000
commitdae2d4686e721e494c17e2cc8066e07a2291562c (patch)
tree759ac80ea6e6a21b495fdaa8d9895b166eff5d13 /app/views
parentfc3ee67b1f3eee644df0de10c44c36251cd3adea (diff)
downloadredmine-dae2d4686e721e494c17e2cc8066e07a2291562c.tar.gz
redmine-dae2d4686e721e494c17e2cc8066e07a2291562c.zip
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
Diffstat (limited to 'app/views')
-rw-r--r--app/views/documents/_form.rhtml2
-rw-r--r--app/views/issues/change_status.rhtml2
-rw-r--r--app/views/issues/edit.rhtml2
-rw-r--r--app/views/issues/show.rhtml2
-rw-r--r--app/views/news/_form.rhtml2
-rw-r--r--app/views/projects/add_issue.rhtml2
-rw-r--r--app/views/wiki/edit.rhtml2
7 files changed, 7 insertions, 7 deletions
diff --git a/app/views/documents/_form.rhtml b/app/views/documents/_form.rhtml
index b075b4657..40bbdc66a 100644
--- a/app/views/documents/_form.rhtml
+++ b/app/views/documents/_form.rhtml
@@ -10,7 +10,7 @@
<%= text_field 'document', 'title', :size => 60 %></p>
<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]-->
</div>
diff --git a/app/views/issues/change_status.rhtml b/app/views/issues/change_status.rhtml
index 967225694..377e0da2e 100644
--- a/app/views/issues/change_status.rhtml
+++ b/app/views/issues/change_status.rhtml
@@ -28,7 +28,7 @@
</select></p>
<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>
diff --git a/app/views/issues/edit.rhtml b/app/views/issues/edit.rhtml
index 78fc4a7a8..bd3e6ad4f 100644
--- a/app/views/issues/edit.rhtml
+++ b/app/views/issues/edit.rhtml
@@ -19,7 +19,7 @@
<div class="clear">
<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 %>
<p><%= custom_field_tag_with_label @custom_value %></p>
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml
index 5acc02bcb..442c30abe 100644
--- a/app/views/issues/show.rhtml
+++ b/app/views/issues/show.rhtml
@@ -104,7 +104,7 @@ end %>
<h3><%= l(:label_add_note) %></h3>
<% form_tag ({:controller => 'issues', :action => 'add_note', :id => @issue}, :class => "tabular" ) do %>
<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) %>
<% end %>
</div>
diff --git a/app/views/news/_form.rhtml b/app/views/news/_form.rhtml
index 497c071c1..d5fec279a 100644
--- a/app/views/news/_form.rhtml
+++ b/app/views/news/_form.rhtml
@@ -2,7 +2,7 @@
<div class="box">
<p><%= f.text_field :title, :required => true, :size => 60 %></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>
<% if Setting.text_formatting == 'textile' %>
diff --git a/app/views/projects/add_issue.rhtml b/app/views/projects/add_issue.rhtml
index fc075384c..f35bb4159 100644
--- a/app/views/projects/add_issue.rhtml
+++ b/app/views/projects/add_issue.rhtml
@@ -19,7 +19,7 @@
<div class="clear">
<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 %>
<p><%= custom_field_tag_with_label @custom_value %></p>
diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml
index 9caf96509..1fc79bdc4 100644
--- a/app/views/wiki/edit.rhtml
+++ b/app/views/wiki/edit.rhtml
@@ -11,7 +11,7 @@
<%= 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;" %>
</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><%= submit_tag l(:button_save) %>
<%= link_to_remote l(:label_preview),