@@ -1,29 +1,29 | |||
|
1 | 1 | <%= error_messages_for 'document' %> |
|
2 | 2 | <div class="box"> |
|
3 | 3 | <!--[form:document]--> |
|
4 | 4 | <p><label for="document_category_id"><%=l(:field_category)%></label> |
|
5 | 5 | <select name="document[category_id]"> |
|
6 | 6 | <%= options_from_collection_for_select @categories, "id", "name", @document.category_id %> |
|
7 | 7 | </select></p> |
|
8 | 8 | |
|
9 | 9 | <p><label for="document_title"><%=l(:field_title)%> <span class="required">*</span></label> |
|
10 | 10 | <%= text_field 'document', 'title', :size => 60 %></p> |
|
11 | 11 | |
|
12 | 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 | 14 | <!--[eoform:document]--> |
|
15 | 15 | </div> |
|
16 | 16 | |
|
17 | 17 | <% if Setting.text_formatting == 'textile' %> |
|
18 | 18 | <%= javascript_include_tag 'jstoolbar' %> |
|
19 | 19 | <script type="text/javascript"> |
|
20 | 20 | //<![CDATA[ |
|
21 | 21 | if (document.getElementById) { |
|
22 | 22 | if (document.getElementById('document_description')) { |
|
23 | 23 | var commentTb = new jsToolBar(document.getElementById('document_description')); |
|
24 | 24 | commentTb.draw(); |
|
25 | 25 | } |
|
26 | 26 | } |
|
27 | 27 | //]]> |
|
28 | 28 | </script> |
|
29 | 29 | <% end %> No newline at end of file |
@@ -1,37 +1,37 | |||
|
1 | 1 | <h2><%=l(:label_issue)%> #<%= @issue.id %>: <%=h @issue.subject %></h2> |
|
2 | 2 | |
|
3 | 3 | <%= error_messages_for 'issue' %> |
|
4 | 4 | <% form_tag({:action => 'change_status', :id => @issue}, :class => "tabular") do %> |
|
5 | 5 | |
|
6 | 6 | <%= hidden_field_tag 'confirm', 1 %> |
|
7 | 7 | <%= hidden_field_tag 'new_status_id', @new_status.id %> |
|
8 | 8 | |
|
9 | 9 | <div class="box"> |
|
10 | 10 | <p><label><%=l(:label_issue_status_new)%></label> <%= @new_status.name %></p> |
|
11 | 11 | |
|
12 | 12 | <p><label for="issue_assigned_to_id"><%=l(:field_assigned_to)%></label> |
|
13 | 13 | <select name="issue[assigned_to_id]"> |
|
14 | 14 | <option value=""></option> |
|
15 | 15 | <%= options_from_collection_for_select @assignable_to, "id", "display_name", @issue.assigned_to_id %></p> |
|
16 | 16 | </select></p> |
|
17 | 17 | |
|
18 | 18 | |
|
19 | 19 | <p><label for="issue_done_ratio"><%=l(:field_done_ratio)%></label> |
|
20 | 20 | <%= select("issue", "done_ratio", ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) ) %> |
|
21 | 21 | </select></p> |
|
22 | 22 | |
|
23 | 23 | |
|
24 | 24 | <p><label for="issue_fixed_version"><%=l(:field_fixed_version)%></label> |
|
25 | 25 | <select name="issue[fixed_version_id]"> |
|
26 | 26 | <option value="">--none--</option> |
|
27 | 27 | <%= options_from_collection_for_select @issue.project.versions, "id", "name", @issue.fixed_version_id %> |
|
28 | 28 | </select></p> |
|
29 | 29 | |
|
30 | 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 | 33 | </div> |
|
34 | 34 | |
|
35 | 35 | <%= hidden_field 'issue', 'lock_version' %> |
|
36 | 36 | <%= submit_tag l(:button_save) %> |
|
37 | 37 | <% end %> |
@@ -1,56 +1,56 | |||
|
1 | 1 | <h2><%= @issue.tracker.name %> #<%= @issue.id %> - <%=h @issue.subject %></h2> |
|
2 | 2 | |
|
3 | 3 | <% labelled_tabular_form_for :issue, @issue, :url => {:action => 'edit'} do |f| %> |
|
4 | 4 | <%= error_messages_for 'issue' %> |
|
5 | 5 | <div class="box"> |
|
6 | 6 | <!--[form:issue]--> |
|
7 | 7 | <div class="splitcontentleft"> |
|
8 | 8 | <p><label><%=l(:field_status)%></label> <%= @issue.status.name %></p> |
|
9 | 9 | <p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), :required => true %></p> |
|
10 | 10 | <p><%= f.select :assigned_to_id, (@issue.project.members.collect {|m| [m.name, m.user_id]}), :include_blank => true %></p> |
|
11 | 11 | <p><%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}) %></p> |
|
12 | 12 | </div> |
|
13 | 13 | |
|
14 | 14 | <div class="splitcontentright"> |
|
15 | 15 | <p><%= f.text_field :start_date, :size => 10 %><%= calendar_for('issue_start_date') %></p> |
|
16 | 16 | <p><%= f.text_field :due_date, :size => 10 %><%= calendar_for('issue_due_date') %></p> |
|
17 | 17 | <p><%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></p> |
|
18 | 18 | </div> |
|
19 | 19 | |
|
20 | 20 | <div class="clear"> |
|
21 | 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, : |
|
|
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 | 24 | <% for @custom_value in @custom_values %> |
|
25 | 25 | <p><%= custom_field_tag_with_label @custom_value %></p> |
|
26 | 26 | <% end %> |
|
27 | 27 | |
|
28 | 28 | <p><%= f.select :fixed_version_id, (@project.versions.collect {|v| [v.name, v.id]}), { :include_blank => true } %> |
|
29 | 29 | </select></p> |
|
30 | 30 | </div> |
|
31 | 31 | <!--[eoform:issue]--> |
|
32 | 32 | </div> |
|
33 | 33 | <%= f.hidden_field :lock_version %> |
|
34 | 34 | <%= submit_tag l(:button_save) %> |
|
35 | 35 | <% end %> |
|
36 | 36 | |
|
37 | 37 | <% if Setting.text_formatting == 'textile' %> |
|
38 | 38 | <%= javascript_include_tag 'jstoolbar' %> |
|
39 | 39 | <script type="text/javascript"> |
|
40 | 40 | //<![CDATA[ |
|
41 | 41 | if (document.getElementById) { |
|
42 | 42 | if (document.getElementById('issue_description')) { |
|
43 | 43 | var commentTb = new jsToolBar(document.getElementById('issue_description')); |
|
44 | 44 | commentTb.draw(); |
|
45 | 45 | } |
|
46 | 46 | } |
|
47 | 47 | //]]> |
|
48 | 48 | </script> |
|
49 | 49 | <% end %> |
|
50 | 50 | |
|
51 | 51 | <% content_for :header_tags do %> |
|
52 | 52 | <%= javascript_include_tag 'calendar/calendar' %> |
|
53 | 53 | <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %> |
|
54 | 54 | <%= javascript_include_tag 'calendar/calendar-setup' %> |
|
55 | 55 | <%= stylesheet_link_tag 'calendar' %> |
|
56 | 56 | <% end %> No newline at end of file |
@@ -1,111 +1,111 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= l(:label_export_to) %><%= link_to 'PDF', {:action => 'export_pdf', :id => @issue}, :class => 'icon icon-pdf' %> |
|
3 | 3 | </div> |
|
4 | 4 | |
|
5 | 5 | <h2><%= @issue.tracker.name %> #<%= @issue.id %> - <%=h @issue.subject %></h2> |
|
6 | 6 | |
|
7 | 7 | <div class="box"> |
|
8 | 8 | <table width="100%"> |
|
9 | 9 | <tr> |
|
10 | 10 | <td style="width:15%"><b><%=l(:field_status)%> :</b></td><td style="width:35%"><%= @issue.status.name %></td> |
|
11 | 11 | <td style="width:15%"><b><%=l(:field_priority)%> :</b></td><td style="width:35%"><%= @issue.priority.name %></td> |
|
12 | 12 | </tr> |
|
13 | 13 | <tr> |
|
14 | 14 | <td><b><%=l(:field_assigned_to)%> :</b></td><td><%= @issue.assigned_to ? @issue.assigned_to.name : "-" %></td> |
|
15 | 15 | <td><b><%=l(:field_category)%> :</b></td><td><%=h @issue.category ? @issue.category.name : "-" %></td> |
|
16 | 16 | </tr> |
|
17 | 17 | <tr> |
|
18 | 18 | <td><b><%=l(:field_author)%> :</b></td><td><%= link_to_user @issue.author %></td> |
|
19 | 19 | <td><b><%=l(:field_start_date)%> :</b></td><td><%= format_date(@issue.start_date) %></td> |
|
20 | 20 | </tr> |
|
21 | 21 | <tr> |
|
22 | 22 | <td><b><%=l(:field_created_on)%> :</b></td><td><%= format_date(@issue.created_on) %></td> |
|
23 | 23 | <td><b><%=l(:field_due_date)%> :</b></td><td><%= format_date(@issue.due_date) %></td> |
|
24 | 24 | </tr> |
|
25 | 25 | <tr> |
|
26 | 26 | <td><b><%=l(:field_updated_on)%> :</b></td><td><%= format_date(@issue.updated_on) %></td> |
|
27 | 27 | <td><b><%=l(:field_done_ratio)%> :</b></td><td><%= @issue.done_ratio %> %</td> |
|
28 | 28 | </tr> |
|
29 | 29 | <tr> |
|
30 | 30 | <td><b><%=l(:field_fixed_version)%> :</b></td><td><%= @issue.fixed_version ? @issue.fixed_version.name : "-" %></td> |
|
31 | 31 | <td></td><td></td> |
|
32 | 32 | </tr> |
|
33 | 33 | <tr> |
|
34 | 34 | <% n = 0 |
|
35 | 35 | for custom_value in @custom_values %> |
|
36 | 36 | <td><b><%= custom_value.custom_field.name %> :</b></td><td><%=h show_value custom_value %></td> |
|
37 | 37 | <% n = n + 1 |
|
38 | 38 | if (n > 1) |
|
39 | 39 | n = 0 %> |
|
40 | 40 | </tr><tr> |
|
41 | 41 | <%end |
|
42 | 42 | end %> |
|
43 | 43 | </tr> |
|
44 | 44 | </table> |
|
45 | 45 | <hr /> |
|
46 | 46 | <br /> |
|
47 | 47 | |
|
48 | 48 | <b><%=l(:field_description)%> :</b><br /><br /> |
|
49 | 49 | <%= textilizable @issue.description %> |
|
50 | 50 | <br /> |
|
51 | 51 | |
|
52 | 52 | <div class="contextual"> |
|
53 | 53 | <%= link_to_if_authorized l(:button_edit), {:controller => 'issues', :action => 'edit', :id => @issue}, :class => 'icon icon-edit' %> |
|
54 | 54 | <%= link_to_if_authorized l(:button_move), {:controller => 'projects', :action => 'move_issues', :id => @project, "issue_ids[]" => @issue.id }, :class => 'icon icon-move' %> |
|
55 | 55 | <%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %> |
|
56 | 56 | </div> |
|
57 | 57 | |
|
58 | 58 | <% if authorize_for('issues', 'change_status') and @status_options and !@status_options.empty? %> |
|
59 | 59 | <% form_tag ({:controller => 'issues', :action => 'change_status', :id => @issue}) do %> |
|
60 | 60 | <%=l(:label_change_status)%> : |
|
61 | 61 | <select name="new_status_id"> |
|
62 | 62 | <%= options_from_collection_for_select @status_options, "id", "name" %> |
|
63 | 63 | </select> |
|
64 | 64 | <%= submit_tag l(:button_change) %> |
|
65 | 65 | <% end %> |
|
66 | 66 | <% end %> |
|
67 | 67 | |
|
68 | 68 | </div> |
|
69 | 69 | |
|
70 | 70 | <div id="history" class="box"> |
|
71 | 71 | <h3><%=l(:label_history)%> |
|
72 | 72 | <% if @journals_count > @journals.length %>(<%= l(:label_last_changes, @journals.length) %>)<% end %></h3> |
|
73 | 73 | <%= render :partial => 'history', :locals => { :journals => @journals } %> |
|
74 | 74 | <% if @journals_count > @journals.length %> |
|
75 | 75 | <p><center><small><%= link_to l(:label_change_view_all), :action => 'history', :id => @issue %></small></center></p> |
|
76 | 76 | <% end %> |
|
77 | 77 | </div> |
|
78 | 78 | |
|
79 | 79 | <div class="box"> |
|
80 | 80 | <h3><%=l(:label_attachment_plural)%></h3> |
|
81 | 81 | <table width="100%"> |
|
82 | 82 | <% for attachment in @issue.attachments %> |
|
83 | 83 | <tr> |
|
84 | 84 | <td><%= link_to attachment.filename, { :action => 'download', :id => @issue, :attachment_id => attachment }, :class => 'icon icon-attachment' %> (<%= number_to_human_size(attachment.filesize) %>)</td> |
|
85 | 85 | <td><%= format_date(attachment.created_on) %></td> |
|
86 | 86 | <td><%= attachment.author.display_name %></td> |
|
87 | 87 | <td><div class="contextual"><%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy_attachment', :id => @issue, :attachment_id => attachment }, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %></div></td> |
|
88 | 88 | </tr> |
|
89 | 89 | <% end %> |
|
90 | 90 | </table> |
|
91 | 91 | <br /> |
|
92 | 92 | <% if authorize_for('issues', 'add_attachment') %> |
|
93 | 93 | <% form_tag ({ :controller => 'issues', :action => 'add_attachment', :id => @issue }, :multipart => true, :class => "tabular") do %> |
|
94 | 94 | <p id="attachments_p"><label><%=l(:label_attachment_new)%> |
|
95 | 95 | <%= image_to_function "add.png", "addFileField();return false" %></label> |
|
96 | 96 | <%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em></p> |
|
97 | 97 | <%= submit_tag l(:button_add) %> |
|
98 | 98 | <% end %> |
|
99 | 99 | <% end %> |
|
100 | 100 | </div> |
|
101 | 101 | |
|
102 | 102 | <% if authorize_for('issues', 'add_note') %> |
|
103 | 103 | <div class="box"> |
|
104 | 104 | <h3><%= l(:label_add_note) %></h3> |
|
105 | 105 | <% form_tag ({:controller => 'issues', :action => 'add_note', :id => @issue}, :class => "tabular" ) do %> |
|
106 | 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 | 108 | <%= submit_tag l(:button_add) %> |
|
109 | 109 | <% end %> |
|
110 | 110 | </div> |
|
111 | 111 | <% end %> |
@@ -1,20 +1,20 | |||
|
1 | 1 | <%= error_messages_for 'news' %> |
|
2 | 2 | <div class="box"> |
|
3 | 3 | <p><%= f.text_field :title, :required => true, :size => 60 %></p> |
|
4 | 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 | 6 | </div> |
|
7 | 7 | |
|
8 | 8 | <% if Setting.text_formatting == 'textile' %> |
|
9 | 9 | <%= javascript_include_tag 'jstoolbar' %> |
|
10 | 10 | <script type="text/javascript"> |
|
11 | 11 | //<![CDATA[ |
|
12 | 12 | if (document.getElementById) { |
|
13 | 13 | if (document.getElementById('news_description')) { |
|
14 | 14 | var commentTb = new jsToolBar(document.getElementById('news_description')); |
|
15 | 15 | commentTb.draw(); |
|
16 | 16 | } |
|
17 | 17 | } |
|
18 | 18 | //]]> |
|
19 | 19 | </script> |
|
20 | 20 | <% end %> No newline at end of file |
@@ -1,57 +1,57 | |||
|
1 | 1 | <h2><%=l(:label_issue_new)%>: <%= @tracker.name %></h2> |
|
2 | 2 | |
|
3 | 3 | <% labelled_tabular_form_for :issue, @issue, :url => {:action => 'add_issue'}, :html => {:multipart => true} do |f| %> |
|
4 | 4 | <%= error_messages_for 'issue' %> |
|
5 | 5 | <div class="box"> |
|
6 | 6 | <!--[form:issue]--> |
|
7 | 7 | <%= hidden_field_tag 'tracker_id', @tracker.id %> |
|
8 | 8 | |
|
9 | 9 | <div class="splitcontentleft"> |
|
10 | 10 | <p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), :required => true %></p> |
|
11 | 11 | <p><%= f.select :assigned_to_id, (@issue.project.members.collect {|m| [m.name, m.user_id]}), :include_blank => true %></p> |
|
12 | 12 | <p><%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}), :include_blank => true %></p> |
|
13 | 13 | </div> |
|
14 | 14 | <div class="splitcontentright"> |
|
15 | 15 | <p><%= f.text_field :start_date, :size => 10 %><%= calendar_for('issue_start_date') %></p> |
|
16 | 16 | <p><%= f.text_field :due_date, :size => 10 %><%= calendar_for('issue_due_date') %></p> |
|
17 | 17 | <p><%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></p> |
|
18 | 18 | </div> |
|
19 | 19 | |
|
20 | 20 | <div class="clear"> |
|
21 | 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 | 24 | <% for @custom_value in @custom_values %> |
|
25 | 25 | <p><%= custom_field_tag_with_label @custom_value %></p> |
|
26 | 26 | <% end %> |
|
27 | 27 | |
|
28 | 28 | <p id="attachments_p"><label for="attachment_file"><%=l(:label_attachment)%> |
|
29 | 29 | <%= image_to_function "add.png", "addFileField();return false" %></label> |
|
30 | 30 | <%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em></p> |
|
31 | 31 | |
|
32 | 32 | </div> |
|
33 | 33 | <!--[eoform:issue]--> |
|
34 | 34 | </div> |
|
35 | 35 | <%= submit_tag l(:button_create) %> |
|
36 | 36 | <% end %> |
|
37 | 37 | |
|
38 | 38 | <% if Setting.text_formatting == 'textile' %> |
|
39 | 39 | <%= javascript_include_tag 'jstoolbar' %> |
|
40 | 40 | <script type="text/javascript"> |
|
41 | 41 | //<![CDATA[ |
|
42 | 42 | if (document.getElementById) { |
|
43 | 43 | if (document.getElementById('issue_description')) { |
|
44 | 44 | var commentTb = new jsToolBar(document.getElementById('issue_description')); |
|
45 | 45 | commentTb.draw(); |
|
46 | 46 | } |
|
47 | 47 | } |
|
48 | 48 | //]]> |
|
49 | 49 | </script> |
|
50 | 50 | <% end %> |
|
51 | 51 | |
|
52 | 52 | <% content_for :header_tags do %> |
|
53 | 53 | <%= javascript_include_tag 'calendar/calendar' %> |
|
54 | 54 | <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %> |
|
55 | 55 | <%= javascript_include_tag 'calendar/calendar-setup' %> |
|
56 | 56 | <%= stylesheet_link_tag 'calendar' %> |
|
57 | 57 | <% end %> No newline at end of file |
@@ -1,44 +1,44 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to(l(:label_page_index), {:action => 'special', :page => 'Page_index'}, :class => 'icon icon-index') %> |
|
3 | 3 | </div> |
|
4 | 4 | |
|
5 | 5 | <h2><%= @page.pretty_title %></h2> |
|
6 | 6 | |
|
7 | 7 | <% form_for :content, @content, :url => {:action => 'edit', :page => @page.title}, :html => {:id => 'wiki_form'} do |f| %> |
|
8 | 8 | <%= error_messages_for 'content' %> |
|
9 | 9 | <div class="contextual"> |
|
10 | 10 | <%= l(:setting_text_formatting) %>: |
|
11 | 11 | <%= link_to l(:label_help), {:controller => 'help', :ctrl => 'wiki', :page => 'syntax' }, |
|
12 | 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 | 13 | </div> |
|
14 |
<p><%= f.text_area :text, :cols => 100, :rows => 25, : |
|
|
14 | <p><%= f.text_area :text, :cols => 100, :rows => 25, :class => 'wiki-edit' %></p> | |
|
15 | 15 | <p><label><%= l(:field_comment) %></label><br /><%= f.text_field :comment, :size => 120 %></p> |
|
16 | 16 | <p><%= submit_tag l(:button_save) %> |
|
17 | 17 | <%= link_to_remote l(:label_preview), |
|
18 | 18 | { :url => { :controller => 'wiki', :action => 'preview', :id => @project }, |
|
19 | 19 | :method => 'get', |
|
20 | 20 | :update => 'preview', |
|
21 | 21 | :with => "Form.serialize('wiki_form')", |
|
22 | 22 | :loading => "Element.show('indicator')", |
|
23 | 23 | :loaded => "Element.hide('indicator')" |
|
24 | 24 | } %> |
|
25 | 25 | <span id="indicator" style="display:none"><%= image_tag "loading.gif", :align => "absmiddle" %></span> |
|
26 | 26 | </p> |
|
27 | 27 | |
|
28 | 28 | <% end %> |
|
29 | 29 | |
|
30 | 30 | <% if Setting.text_formatting == 'textile' %> |
|
31 | 31 | <%= javascript_include_tag 'jstoolbar' %> |
|
32 | 32 | <script type="text/javascript"> |
|
33 | 33 | //<![CDATA[ |
|
34 | 34 | if (document.getElementById) { |
|
35 | 35 | if (document.getElementById('content_text')) { |
|
36 | 36 | var commentTb = new jsToolBar(document.getElementById('content_text')); |
|
37 | 37 | commentTb.draw(); |
|
38 | 38 | } |
|
39 | 39 | } |
|
40 | 40 | //]]> |
|
41 | 41 | </script> |
|
42 | 42 | <% end %> |
|
43 | 43 | |
|
44 | 44 | <div id="preview" class="wiki"></div> No newline at end of file |
@@ -1,606 +1,607 | |||
|
1 | 1 | /* andreas08 - an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com . Free to use in any way and for any purpose as long as the proper credits are given to the original designer. Version: 1.0, November 28, 2005 */ |
|
2 | 2 | /* Edited by Jean-Philippe Lang *> |
|
3 | 3 | /**************** Body and tag styles ****************/ |
|
4 | 4 | |
|
5 | 5 | #header * {margin:0; padding:0;} |
|
6 | 6 | p, ul, ol, li {margin:0; padding:0;} |
|
7 | 7 | |
|
8 | 8 | body{ |
|
9 | 9 | font:76% Verdana,Tahoma,Arial,sans-serif; |
|
10 | 10 | line-height:1.4em; |
|
11 | 11 | text-align:center; |
|
12 | 12 | color:#303030; |
|
13 | 13 | background:#e8eaec; |
|
14 | 14 | margin:0; |
|
15 | 15 | } |
|
16 | 16 | |
|
17 | 17 | a{color:#467aa7;font-weight:bold;text-decoration:none;background-color:inherit;} |
|
18 | 18 | a:hover{color:#2a5a8a; text-decoration:none; background-color:inherit;} |
|
19 | 19 | a img{border:none;} |
|
20 | 20 | |
|
21 | 21 | p{margin:0 0 1em 0;} |
|
22 | 22 | p form{margin-top:0; margin-bottom:20px;} |
|
23 | 23 | |
|
24 | 24 | img.left,img.center,img.right{padding:4px; border:1px solid #a0a0a0;} |
|
25 | 25 | img.left{float:left; margin:0 12px 5px 0;} |
|
26 | 26 | img.center{display:block; margin:0 auto 5px auto;} |
|
27 | 27 | img.right{float:right; margin:0 0 5px 12px;} |
|
28 | 28 | |
|
29 | 29 | /**************** Header and navigation styles ****************/ |
|
30 | 30 | |
|
31 | 31 | #container{ |
|
32 | 32 | width:100%; |
|
33 | 33 | min-width: 800px; |
|
34 | 34 | margin:0; |
|
35 | 35 | padding:0; |
|
36 | 36 | text-align:left; |
|
37 | 37 | background:#ffffff; |
|
38 | 38 | color:#303030; |
|
39 | 39 | } |
|
40 | 40 | |
|
41 | 41 | #header{ |
|
42 | 42 | height:4.5em; |
|
43 | 43 | margin:0; |
|
44 | 44 | background:#467aa7; |
|
45 | 45 | color:#ffffff; |
|
46 | 46 | margin-bottom:1px; |
|
47 | 47 | } |
|
48 | 48 | |
|
49 | 49 | #header h1{ |
|
50 | 50 | padding:10px 0 0 20px; |
|
51 | 51 | font-size:2em; |
|
52 | 52 | background-color:inherit; |
|
53 | 53 | color:#fff; |
|
54 | 54 | letter-spacing:-1px; |
|
55 | 55 | font-weight:bold; |
|
56 | 56 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
57 | 57 | } |
|
58 | 58 | |
|
59 | 59 | #header h2{ |
|
60 | 60 | margin:3px 0 0 40px; |
|
61 | 61 | font-size:1.5em; |
|
62 | 62 | background-color:inherit; |
|
63 | 63 | color:#f0f2f4; |
|
64 | 64 | letter-spacing:-1px; |
|
65 | 65 | font-weight:normal; |
|
66 | 66 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
67 | 67 | } |
|
68 | 68 | |
|
69 | 69 | #navigation{ |
|
70 | 70 | height:2.2em; |
|
71 | 71 | line-height:2.2em; |
|
72 | 72 | margin:0; |
|
73 | 73 | background:#578bb8; |
|
74 | 74 | color:#ffffff; |
|
75 | 75 | } |
|
76 | 76 | |
|
77 | 77 | #navigation li{ |
|
78 | 78 | float:left; |
|
79 | 79 | list-style-type:none; |
|
80 | 80 | border-right:1px solid #ffffff; |
|
81 | 81 | white-space:nowrap; |
|
82 | 82 | } |
|
83 | 83 | |
|
84 | 84 | #navigation li.right { |
|
85 | 85 | float:right; |
|
86 | 86 | list-style-type:none; |
|
87 | 87 | border-right:0; |
|
88 | 88 | border-left:1px solid #ffffff; |
|
89 | 89 | white-space:nowrap; |
|
90 | 90 | } |
|
91 | 91 | |
|
92 | 92 | #navigation li a{ |
|
93 | 93 | display:block; |
|
94 | 94 | padding:0px 10px 0px 22px; |
|
95 | 95 | font-size:0.8em; |
|
96 | 96 | font-weight:normal; |
|
97 | 97 | text-decoration:none; |
|
98 | 98 | background-color:inherit; |
|
99 | 99 | color: #ffffff; |
|
100 | 100 | } |
|
101 | 101 | |
|
102 | 102 | #navigation li.submenu {background:url(../images/arrow_down.png) 96% 80% no-repeat;} |
|
103 | 103 | #navigation li.submenu a {padding:0px 16px 0px 22px;} |
|
104 | 104 | * html #navigation a {width:1%;} |
|
105 | 105 | |
|
106 | 106 | #navigation .selected,#navigation a:hover{ |
|
107 | 107 | color:#ffffff; |
|
108 | 108 | text-decoration:none; |
|
109 | 109 | background-color: #80b0da; |
|
110 | 110 | } |
|
111 | 111 | |
|
112 | 112 | /**************** Icons *******************/ |
|
113 | 113 | .icon { |
|
114 | 114 | background-position: 0% 40%; |
|
115 | 115 | background-repeat: no-repeat; |
|
116 | 116 | padding-left: 20px; |
|
117 | 117 | padding-top: 2px; |
|
118 | 118 | padding-bottom: 3px; |
|
119 | 119 | vertical-align: middle; |
|
120 | 120 | } |
|
121 | 121 | |
|
122 | 122 | #navigation .icon { |
|
123 | 123 | background-position: 4px 50%; |
|
124 | 124 | } |
|
125 | 125 | |
|
126 | 126 | .icon22 { |
|
127 | 127 | background-position: 0% 40%; |
|
128 | 128 | background-repeat: no-repeat; |
|
129 | 129 | padding-left: 26px; |
|
130 | 130 | line-height: 22px; |
|
131 | 131 | vertical-align: middle; |
|
132 | 132 | } |
|
133 | 133 | |
|
134 | 134 | .icon-add { background-image: url(../images/add.png); } |
|
135 | 135 | .icon-edit { background-image: url(../images/edit.png); } |
|
136 | 136 | .icon-del { background-image: url(../images/delete.png); } |
|
137 | 137 | .icon-move { background-image: url(../images/move.png); } |
|
138 | 138 | .icon-save { background-image: url(../images/save.png); } |
|
139 | 139 | .icon-cancel { background-image: url(../images/cancel.png); } |
|
140 | 140 | .icon-pdf { background-image: url(../images/pdf.png); } |
|
141 | 141 | .icon-csv { background-image: url(../images/csv.png); } |
|
142 | 142 | .icon-html { background-image: url(../images/html.png); } |
|
143 | 143 | .icon-txt { background-image: url(../images/txt.png); } |
|
144 | 144 | .icon-file { background-image: url(../images/file.png); } |
|
145 | 145 | .icon-folder { background-image: url(../images/folder.png); } |
|
146 | 146 | .icon-package { background-image: url(../images/package.png); } |
|
147 | 147 | .icon-home { background-image: url(../images/home.png); } |
|
148 | 148 | .icon-user { background-image: url(../images/user.png); } |
|
149 | 149 | .icon-mypage { background-image: url(../images/user_page.png); } |
|
150 | 150 | .icon-admin { background-image: url(../images/admin.png); } |
|
151 | 151 | .icon-projects { background-image: url(../images/projects.png); } |
|
152 | 152 | .icon-logout { background-image: url(../images/logout.png); } |
|
153 | 153 | .icon-help { background-image: url(../images/help.png); } |
|
154 | 154 | .icon-attachment { background-image: url(../images/attachment.png); } |
|
155 | 155 | .icon-index { background-image: url(../images/index.png); } |
|
156 | 156 | .icon-history { background-image: url(../images/history.png); } |
|
157 | 157 | |
|
158 | 158 | .icon22-projects { background-image: url(../images/22x22/projects.png); } |
|
159 | 159 | .icon22-users { background-image: url(../images/22x22/users.png); } |
|
160 | 160 | .icon22-tracker { background-image: url(../images/22x22/tracker.png); } |
|
161 | 161 | .icon22-role { background-image: url(../images/22x22/role.png); } |
|
162 | 162 | .icon22-workflow { background-image: url(../images/22x22/workflow.png); } |
|
163 | 163 | .icon22-options { background-image: url(../images/22x22/options.png); } |
|
164 | 164 | .icon22-notifications { background-image: url(../images/22x22/notifications.png); } |
|
165 | 165 | .icon22-authent { background-image: url(../images/22x22/authent.png); } |
|
166 | 166 | .icon22-info { background-image: url(../images/22x22/info.png); } |
|
167 | 167 | .icon22-comment { background-image: url(../images/22x22/comment.png); } |
|
168 | 168 | .icon22-package { background-image: url(../images/22x22/package.png); } |
|
169 | 169 | .icon22-settings { background-image: url(../images/22x22/settings.png); } |
|
170 | 170 | |
|
171 | 171 | /**************** Content styles ****************/ |
|
172 | 172 | |
|
173 | 173 | html>body #content { |
|
174 | 174 | height: auto; |
|
175 | 175 | min-height: 500px; |
|
176 | 176 | } |
|
177 | 177 | |
|
178 | 178 | #content{ |
|
179 | 179 | width: auto; |
|
180 | 180 | height:500px; |
|
181 | 181 | font-size:0.9em; |
|
182 | 182 | padding:20px 10px 10px 20px; |
|
183 | 183 | margin-left: 120px; |
|
184 | 184 | border-left: 1px dashed #c0c0c0; |
|
185 | 185 | |
|
186 | 186 | } |
|
187 | 187 | |
|
188 | 188 | #content h2, #content div.wiki h1 { |
|
189 | 189 | display:block; |
|
190 | 190 | margin:0 0 16px 0; |
|
191 | 191 | font-size:1.7em; |
|
192 | 192 | font-weight:normal; |
|
193 | 193 | letter-spacing:-1px; |
|
194 | 194 | color:#606060; |
|
195 | 195 | background-color:inherit; |
|
196 | 196 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
197 | 197 | } |
|
198 | 198 | |
|
199 | 199 | #content h2 a{font-weight:normal;} |
|
200 | 200 | #content h3{margin:0 0 12px 0; font-size:1.4em;color:#707070;font-family: Trebuchet MS,Georgia,"Times New Roman",serif;} |
|
201 | 201 | #content h4{font-size: 1em; margin-bottom: 12px; margin-top: 20px; font-weight: normal; border-bottom: dotted 1px #c0c0c0;} |
|
202 | 202 | #content a:hover,#subcontent a:hover{text-decoration:underline;} |
|
203 | 203 | #content ul,#content ol{margin:0 5px 16px 35px;} |
|
204 | 204 | #content dl{margin:0 5px 10px 25px;} |
|
205 | 205 | #content dt{font-weight:bold; margin-bottom:5px;} |
|
206 | 206 | #content dd{margin:0 0 10px 15px;} |
|
207 | 207 | |
|
208 | 208 | #content .tabs{height: 2.6em;} |
|
209 | 209 | #content .tabs ul{margin:0;} |
|
210 | 210 | #content .tabs ul li{ |
|
211 | 211 | float:left; |
|
212 | 212 | list-style-type:none; |
|
213 | 213 | white-space:nowrap; |
|
214 | 214 | margin-right:8px; |
|
215 | 215 | background:#fff; |
|
216 | 216 | } |
|
217 | 217 | #content .tabs ul li a{ |
|
218 | 218 | display:block; |
|
219 | 219 | font-size: 0.9em; |
|
220 | 220 | text-decoration:none; |
|
221 | 221 | line-height:1em; |
|
222 | 222 | padding:4px; |
|
223 | 223 | border: 1px solid #c0c0c0; |
|
224 | 224 | } |
|
225 | 225 | |
|
226 | 226 | #content .tabs ul li a.selected, #content .tabs ul li a:hover{ |
|
227 | 227 | background-color: #80b0da; |
|
228 | 228 | border: 1px solid #80b0da; |
|
229 | 229 | color: #fff; |
|
230 | 230 | text-decoration:none; |
|
231 | 231 | } |
|
232 | 232 | |
|
233 | 233 | /***********************************************/ |
|
234 | 234 | |
|
235 | 235 | form {display: inline;} |
|
236 | 236 | blockquote {padding-left: 6px; border-left: 2px solid #ccc;} |
|
237 | 237 | input, select {vertical-align: middle; margin-bottom: 4px;} |
|
238 | 238 | |
|
239 | 239 | input.button-small {font-size: 0.8em;} |
|
240 | textarea.wiki-edit { width: 99.5%; } | |
|
240 | 241 | .select-small {font-size: 0.8em;} |
|
241 | 242 | label {font-weight: bold; font-size: 1em; color: #505050;} |
|
242 | 243 | fieldset {border:1px solid #c0c0c0; padding: 6px;} |
|
243 | 244 | legend {color: #505050;} |
|
244 | 245 | .required {color: #bb0000;} |
|
245 | 246 | .odd {background-color:#f6f7f8;} |
|
246 | 247 | .even {background-color: #fff;} |
|
247 | 248 | hr { border:0; border-top: dotted 1px #fff; border-bottom: dotted 1px #c0c0c0; } |
|
248 | 249 | table p {margin:0; padding:0;} |
|
249 | 250 | |
|
250 | 251 | .highlight { background-color: #FCFD8D;} |
|
251 | 252 | |
|
252 | 253 | div.square { |
|
253 | 254 | border: 1px solid #999; |
|
254 | 255 | float: left; |
|
255 | 256 | margin: .4em .5em 0 0; |
|
256 | 257 | overflow: hidden; |
|
257 | 258 | width: .6em; height: .6em; |
|
258 | 259 | } |
|
259 | 260 | |
|
260 | 261 | ul.documents { |
|
261 | 262 | list-style-type: none; |
|
262 | 263 | padding: 0; |
|
263 | 264 | margin: 0; |
|
264 | 265 | } |
|
265 | 266 | |
|
266 | 267 | ul.documents li { |
|
267 | 268 | background-image: url(../images/32x32/file.png); |
|
268 | 269 | background-repeat: no-repeat; |
|
269 | 270 | background-position: 0 1px; |
|
270 | 271 | padding-left: 36px; |
|
271 | 272 | margin-bottom: 10px; |
|
272 | 273 | margin-left: -37px; |
|
273 | 274 | } |
|
274 | 275 | |
|
275 | 276 | /********** Table used to display lists of things ***********/ |
|
276 | 277 | |
|
277 | 278 | table.list { |
|
278 | 279 | width:100%; |
|
279 | 280 | border-collapse: collapse; |
|
280 | 281 | border: 1px dotted #d0d0d0; |
|
281 | 282 | margin-bottom: 6px; |
|
282 | 283 | } |
|
283 | 284 | |
|
284 | 285 | table.with-cells td { |
|
285 | 286 | border: 1px solid #d7d7d7; |
|
286 | 287 | } |
|
287 | 288 | |
|
288 | 289 | table.list td { |
|
289 | 290 | padding:2px; |
|
290 | 291 | } |
|
291 | 292 | |
|
292 | 293 | table.list thead th { |
|
293 | 294 | text-align: center; |
|
294 | 295 | background: #eee; |
|
295 | 296 | border: 1px solid #d7d7d7; |
|
296 | 297 | color: #777; |
|
297 | 298 | } |
|
298 | 299 | |
|
299 | 300 | table.list tbody th { |
|
300 | 301 | font-weight: normal; |
|
301 | 302 | background: #eed; |
|
302 | 303 | border: 1px solid #d7d7d7; |
|
303 | 304 | } |
|
304 | 305 | |
|
305 | 306 | /********** Validation error messages *************/ |
|
306 | 307 | #errorExplanation { |
|
307 | 308 | width: 400px; |
|
308 | 309 | border: 0; |
|
309 | 310 | padding: 7px; |
|
310 | 311 | padding-bottom: 3px; |
|
311 | 312 | margin-bottom: 0px; |
|
312 | 313 | } |
|
313 | 314 | |
|
314 | 315 | #errorExplanation h2 { |
|
315 | 316 | text-align: left; |
|
316 | 317 | font-weight: bold; |
|
317 | 318 | padding: 5px 5px 10px 26px; |
|
318 | 319 | font-size: 1em; |
|
319 | 320 | margin: -7px; |
|
320 | 321 | background: url(../images/alert.png) no-repeat 6px 6px; |
|
321 | 322 | } |
|
322 | 323 | |
|
323 | 324 | #errorExplanation p { |
|
324 | 325 | color: #333; |
|
325 | 326 | margin-bottom: 0; |
|
326 | 327 | padding: 5px; |
|
327 | 328 | } |
|
328 | 329 | |
|
329 | 330 | #errorExplanation ul li { |
|
330 | 331 | font-size: 1em; |
|
331 | 332 | list-style: none; |
|
332 | 333 | margin-left: -16px; |
|
333 | 334 | } |
|
334 | 335 | |
|
335 | 336 | /*========== Drop down menu ==============*/ |
|
336 | 337 | div.menu { |
|
337 | 338 | background-color: #FFFFFF; |
|
338 | 339 | border-style: solid; |
|
339 | 340 | border-width: 1px; |
|
340 | 341 | border-color: #7F9DB9; |
|
341 | 342 | position: absolute; |
|
342 | 343 | top: 0px; |
|
343 | 344 | left: 0px; |
|
344 | 345 | padding: 0; |
|
345 | 346 | visibility: hidden; |
|
346 | 347 | z-index: 101; |
|
347 | 348 | } |
|
348 | 349 | |
|
349 | 350 | div.menu a.menuItem { |
|
350 | 351 | font-size: 10px; |
|
351 | 352 | font-weight: normal; |
|
352 | 353 | line-height: 2em; |
|
353 | 354 | color: #000000; |
|
354 | 355 | background-color: #FFFFFF; |
|
355 | 356 | cursor: default; |
|
356 | 357 | display: block; |
|
357 | 358 | padding: 0 1em; |
|
358 | 359 | margin: 0; |
|
359 | 360 | border: 0; |
|
360 | 361 | text-decoration: none; |
|
361 | 362 | white-space: nowrap; |
|
362 | 363 | } |
|
363 | 364 | |
|
364 | 365 | div.menu a.menuItem:hover, div.menu a.menuItemHighlight { |
|
365 | 366 | background-color: #80b0da; |
|
366 | 367 | color: #ffffff; |
|
367 | 368 | } |
|
368 | 369 | |
|
369 | 370 | div.menu a.menuItem span.menuItemText {} |
|
370 | 371 | |
|
371 | 372 | div.menu a.menuItem span.menuItemArrow { |
|
372 | 373 | margin-right: -.75em; |
|
373 | 374 | } |
|
374 | 375 | |
|
375 | 376 | /**************** Sidebar styles ****************/ |
|
376 | 377 | |
|
377 | 378 | #subcontent{ |
|
378 | 379 | position: absolute; |
|
379 | 380 | left: 0px; |
|
380 | 381 | width:110px; |
|
381 | 382 | padding:20px 20px 10px 5px; |
|
382 | 383 | } |
|
383 | 384 | |
|
384 | 385 | #subcontent h2{ |
|
385 | 386 | display:block; |
|
386 | 387 | margin:0 0 5px 0; |
|
387 | 388 | font-size:1.0em; |
|
388 | 389 | font-weight:bold; |
|
389 | 390 | text-align:left; |
|
390 | 391 | color:#606060; |
|
391 | 392 | background-color:inherit; |
|
392 | 393 | font-family: Trebuchet MS,Georgia,"Times New Roman",serif; |
|
393 | 394 | } |
|
394 | 395 | |
|
395 | 396 | #subcontent p{margin:0 0 16px 0; font-size:0.9em;} |
|
396 | 397 | |
|
397 | 398 | /**************** Menublock styles ****************/ |
|
398 | 399 | |
|
399 | 400 | .menublock{margin:0 0 20px 8px; font-size:0.8em;} |
|
400 | 401 | .menublock li{list-style:none; display:block; padding:1px; margin-bottom:0px;} |
|
401 | 402 | .menublock li a{font-weight:bold; text-decoration:none;} |
|
402 | 403 | .menublock li a:hover{text-decoration:none;} |
|
403 | 404 | .menublock li ul{margin:0; font-size:1em; font-weight:normal;} |
|
404 | 405 | .menublock li ul li{margin-bottom:0;} |
|
405 | 406 | .menublock li ul a{font-weight:normal;} |
|
406 | 407 | |
|
407 | 408 | /**************** Footer styles ****************/ |
|
408 | 409 | |
|
409 | 410 | #footer{ |
|
410 | 411 | clear:both; |
|
411 | 412 | padding:5px 0; |
|
412 | 413 | margin:0; |
|
413 | 414 | font-size:0.9em; |
|
414 | 415 | color:#f0f0f0; |
|
415 | 416 | background:#467aa7; |
|
416 | 417 | } |
|
417 | 418 | |
|
418 | 419 | #footer p{padding:0; margin:0; text-align:center;} |
|
419 | 420 | #footer a{color:#f0f0f0; background-color:inherit; font-weight:bold;} |
|
420 | 421 | #footer a:hover{color:#ffffff; background-color:inherit; text-decoration: underline;} |
|
421 | 422 | |
|
422 | 423 | /**************** Misc classes and styles ****************/ |
|
423 | 424 | |
|
424 | 425 | .splitcontentleft{float:left; width:49%;} |
|
425 | 426 | .splitcontentright{float:right; width:49%;} |
|
426 | 427 | .clear{clear:both;} |
|
427 | 428 | .small{font-size:0.8em;line-height:1.4em;padding:0 0 0 0;} |
|
428 | 429 | .hide{display:none;} |
|
429 | 430 | .textcenter{text-align:center;} |
|
430 | 431 | .textright{text-align:right;} |
|
431 | 432 | .important{color:#f02025; background-color:inherit; font-weight:bold;} |
|
432 | 433 | |
|
433 | 434 | .box{ |
|
434 | 435 | margin:0 0 20px 0; |
|
435 | 436 | padding:10px; |
|
436 | 437 | border:1px solid #c0c0c0; |
|
437 | 438 | background-color:#fafbfc; |
|
438 | 439 | color:#505050; |
|
439 | 440 | line-height:1.5em; |
|
440 | 441 | } |
|
441 | 442 | |
|
442 | 443 | a.close-icon { |
|
443 | 444 | display:block; |
|
444 | 445 | margin-top:3px; |
|
445 | 446 | overflow:hidden; |
|
446 | 447 | width:12px; |
|
447 | 448 | height:12px; |
|
448 | 449 | background-repeat: no-repeat; |
|
449 | 450 | cursor:pointer; |
|
450 | 451 | background-image:url('../images/close.png'); |
|
451 | 452 | } |
|
452 | 453 | |
|
453 | 454 | a.close-icon:hover { |
|
454 | 455 | background-image:url('../images/close_hl.png'); |
|
455 | 456 | } |
|
456 | 457 | |
|
457 | 458 | .rightbox{ |
|
458 | 459 | background: #fafbfc; |
|
459 | 460 | border: 1px solid #c0c0c0; |
|
460 | 461 | float: right; |
|
461 | 462 | padding: 8px; |
|
462 | 463 | position: relative; |
|
463 | 464 | margin: 0 5px 5px; |
|
464 | 465 | } |
|
465 | 466 | |
|
466 | 467 | .layout-active { |
|
467 | 468 | background: #ECF3E1; |
|
468 | 469 | } |
|
469 | 470 | |
|
470 | 471 | .block-receiver { |
|
471 | 472 | border:1px dashed #c0c0c0; |
|
472 | 473 | margin-bottom: 20px; |
|
473 | 474 | padding: 15px 0 15px 0; |
|
474 | 475 | } |
|
475 | 476 | |
|
476 | 477 | .mypage-box { |
|
477 | 478 | margin:0 0 20px 0; |
|
478 | 479 | color:#505050; |
|
479 | 480 | line-height:1.5em; |
|
480 | 481 | } |
|
481 | 482 | |
|
482 | 483 | .handle { |
|
483 | 484 | cursor: move; |
|
484 | 485 | } |
|
485 | 486 | |
|
486 | 487 | .login { |
|
487 | 488 | width: 50%; |
|
488 | 489 | text-align: left; |
|
489 | 490 | } |
|
490 | 491 | |
|
491 | 492 | img.calendar-trigger { |
|
492 | 493 | cursor: pointer; |
|
493 | 494 | vertical-align: middle; |
|
494 | 495 | margin-left: 4px; |
|
495 | 496 | } |
|
496 | 497 | |
|
497 | 498 | #history p { |
|
498 | 499 | margin-left: 34px; |
|
499 | 500 | } |
|
500 | 501 | |
|
501 | 502 | /***** Contextual links div *****/ |
|
502 | 503 | .contextual { |
|
503 | 504 | float: right; |
|
504 | 505 | font-size: 0.8em; |
|
505 | 506 | line-height: 16px; |
|
506 | 507 | padding: 2px; |
|
507 | 508 | } |
|
508 | 509 | |
|
509 | 510 | .contextual select, .contextual input { |
|
510 | 511 | font-size: 1em; |
|
511 | 512 | } |
|
512 | 513 | |
|
513 | 514 | /***** Gantt chart *****/ |
|
514 | 515 | .gantt_hdr { |
|
515 | 516 | position:absolute; |
|
516 | 517 | top:0; |
|
517 | 518 | height:16px; |
|
518 | 519 | border-top: 1px solid #c0c0c0; |
|
519 | 520 | border-bottom: 1px solid #c0c0c0; |
|
520 | 521 | border-right: 1px solid #c0c0c0; |
|
521 | 522 | text-align: center; |
|
522 | 523 | overflow: hidden; |
|
523 | 524 | } |
|
524 | 525 | |
|
525 | 526 | .task { |
|
526 | 527 | position: absolute; |
|
527 | 528 | height:8px; |
|
528 | 529 | font-size:0.8em; |
|
529 | 530 | color:#888; |
|
530 | 531 | padding:0; |
|
531 | 532 | margin:0; |
|
532 | 533 | line-height:0.8em; |
|
533 | 534 | } |
|
534 | 535 | |
|
535 | 536 | .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; } |
|
536 | 537 | .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; } |
|
537 | 538 | .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; } |
|
538 | 539 | |
|
539 | 540 | /***** Tooltips ******/ |
|
540 | 541 | .tooltip{position:relative;z-index:24;} |
|
541 | 542 | .tooltip:hover{z-index:25;color:#000;} |
|
542 | 543 | .tooltip span.tip{display: none} |
|
543 | 544 | |
|
544 | 545 | div.tooltip:hover span.tip{ |
|
545 | 546 | display:block; |
|
546 | 547 | position:absolute; |
|
547 | 548 | top:12px; left:24px; width:270px; |
|
548 | 549 | border:1px solid #555; |
|
549 | 550 | background-color:#fff; |
|
550 | 551 | padding: 4px; |
|
551 | 552 | font-size: 0.8em; |
|
552 | 553 | color:#505050; |
|
553 | 554 | } |
|
554 | 555 | |
|
555 | 556 | /***** CSS FORM ******/ |
|
556 | 557 | .tabular p{ |
|
557 | 558 | margin: 0; |
|
558 | 559 | padding: 5px 0 8px 0; |
|
559 | 560 | padding-left: 180px; /*width of left column containing the label elements*/ |
|
560 | 561 | height: 1%; |
|
561 | 562 | } |
|
562 | 563 | |
|
563 | 564 | .tabular label{ |
|
564 | 565 | font-weight: bold; |
|
565 | 566 | float: left; |
|
566 | 567 | margin-left: -180px; /*width of left column*/ |
|
567 | 568 | width: 175px; /*width of labels. Should be smaller than left column to create some right |
|
568 | 569 | margin*/ |
|
569 | 570 | } |
|
570 | 571 | |
|
571 | 572 | .error { |
|
572 | 573 | color: #cc0000; |
|
573 | 574 | } |
|
574 | 575 | |
|
575 | 576 | |
|
576 | 577 | /*.threepxfix class below: |
|
577 | 578 | Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents. |
|
578 | 579 | to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html |
|
579 | 580 | */ |
|
580 | 581 | |
|
581 | 582 | * html .threepxfix{ |
|
582 | 583 | margin-left: 3px; |
|
583 | 584 | } |
|
584 | 585 | |
|
585 | 586 | /***** Wiki sections ****/ |
|
586 | 587 | #content div.wiki { font-size: 110%} |
|
587 | 588 | |
|
588 | 589 | #content div.wiki h2, div.wiki h3 { font-family: Trebuchet MS,Georgia,"Times New Roman",serif; color:#606060; } |
|
589 | 590 | #content div.wiki h2 { font-size: 1.4em;} |
|
590 | 591 | #content div.wiki h3 { font-size: 1.2em;} |
|
591 | 592 | |
|
592 | 593 | div.wiki table { |
|
593 | 594 | border: 1px solid #505050; |
|
594 | 595 | border-collapse: collapse; |
|
595 | 596 | } |
|
596 | 597 | |
|
597 | 598 | div.wiki table, div.wiki td { |
|
598 | 599 | border: 1px solid #bbb; |
|
599 | 600 | padding: 4px; |
|
600 | 601 | } |
|
601 | 602 | |
|
602 | 603 | div.wiki code { |
|
603 | 604 | font-size: 1.2em; |
|
604 | 605 | } |
|
605 | 606 | |
|
606 | 607 | #preview .preview { background: #fafbfc url(../images/draft.png); } |
General Comments 0
You need to be logged in to leave comments.
Login now