##// END OF EJS Templates
Sligth changes on my page issue tables and wiki history, changesets tables....
Jean-Philippe Lang -
r797:57d3dd3b80ed
parent child
Show More
@@ -1,20 +1,20
1 <table class="list">
1 <table class="list">
2 <thead><tr>
2 <thead><tr>
3 <th></th>
3 <th></th>
4 <%= sort_header_tag("#{Issue.table_name}.id", :caption => '#') %>
4 <%= sort_header_tag("#{Issue.table_name}.id", :caption => '#') %>
5 <% query.columns.each do |column| %>
5 <% query.columns.each do |column| %>
6 <%= column_header(column) %>
6 <%= column_header(column) %>
7 <% end %>
7 <% end %>
8 </tr></thead>
8 </tr></thead>
9 <tbody>
9 <tbody>
10 <% issues.each do |issue| %>
10 <% issues.each do |issue| %>
11 <tr class="issue <%= cycle('odd', 'even') %>">
11 <tr class="issue <%= cycle('odd', 'even') %>">
12 <th class="checkbox"><%= check_box_tag "issue_ids[]", issue.id, false, :id => "issue_#{issue.id}" %></th>
12 <td class="checkbox"><%= check_box_tag "issue_ids[]", issue.id, false, :id => "issue_#{issue.id}" %></td>
13 <td><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td>
13 <td><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td>
14 <% query.columns.each do |column| %>
14 <% query.columns.each do |column| %>
15 <%= content_tag 'td', column_content(column, issue), :class => column.name %>
15 <%= content_tag 'td', column_content(column, issue), :class => column.name %>
16 <% end %>
16 <% end %>
17 </tr>
17 </tr>
18 <% end %>
18 <% end %>
19 </tbody>
19 </tbody>
20 </table>
20 </table>
@@ -1,25 +1,25
1 <% if issues.length > 0 %>
1 <% if issues.length > 0 %>
2 <table class="list">
2 <table class="list">
3 <thead><tr>
3 <thead><tr>
4 <th>#</th>
4 <th>#</th>
5 <th><%=l(:field_tracker)%></th>
5 <th><%=l(:field_tracker)%></th>
6 <th><%=l(:field_subject)%></th>
6 <th><%=l(:field_subject)%></th>
7 </tr></thead>
7 </tr></thead>
8 <tbody>
8 <tbody>
9 <% for issue in issues %>
9 <% for issue in issues %>
10 <tr class="<%= cycle("odd", "even") %>">
10 <tr class="<%= cycle("odd", "even") %>">
11 <th align="center">
11 <td class="id">
12 <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %>
12 <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %>
13 </th>
13 </td>
14 <td><p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br />
14 <td><p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br />
15 <%= issue.status.name %> - <%= format_time(issue.updated_on) %></p></td>
15 <%= issue.status.name %> - <%= format_time(issue.updated_on) %></p></td>
16 <td>
16 <td>
17 <p class="small"><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></p>
17 <p class="small"><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></p>
18 </td>
18 </td>
19 </tr>
19 </tr>
20 <% end %>
20 <% end %>
21 </tbody>
21 </tbody>
22 </table>
22 </table>
23 <% else %>
23 <% else %>
24 <i><%=l(:label_no_data)%></i>
24 <i><%=l(:label_no_data)%></i>
25 <% end %> No newline at end of file
25 <% end %>
@@ -1,30 +1,30
1 <% form_tag({:controller => 'repositories', :action => 'diff', :id => @project}, :method => :get) do %>
1 <% form_tag({:controller => 'repositories', :action => 'diff', :id => @project}, :method => :get) do %>
2 <table class="list">
2 <table class="list">
3 <thead><tr>
3 <thead><tr>
4 <th>#</th>
4 <th>#</th>
5 <th></th>
5 <th></th>
6 <th></th>
6 <th></th>
7 <th><%= l(:label_date) %></th>
7 <th><%= l(:label_date) %></th>
8 <th><%= l(:field_author) %></th>
8 <th><%= l(:field_author) %></th>
9 <th><%= l(:field_comments) %></th>
9 <th><%= l(:field_comments) %></th>
10 </tr></thead>
10 </tr></thead>
11 <tbody>
11 <tbody>
12 <% show_diff = entry && entry.is_file? && revisions.size > 1 %>
12 <% show_diff = entry && entry.is_file? && revisions.size > 1 %>
13 <% line_num = 1 %>
13 <% line_num = 1 %>
14 <% revisions.each do |revision| %>
14 <% revisions.each do |revision| %>
15 <% changeset = revision.is_a?(Change) ? revision.changeset : revision %>
15 <% changeset = revision.is_a?(Change) ? revision.changeset : revision %>
16 <tr class="<%= cycle 'odd', 'even' %>">
16 <tr class="<%= cycle 'odd', 'even' %>">
17 <th align="center" style="width:3em;"><%= link_to (revision.revision || changeset.revision), :action => 'revision', :id => project, :rev => changeset.revision %></th>
17 <td class="id"><%= link_to (revision.revision || changeset.revision), :action => 'revision', :id => project, :rev => changeset.revision %></th>
18 <td align="center" style="width:1em;"><%= radio_button_tag('rev', changeset.revision, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < revisions.size) %></td>
18 <td class="checkbox"><%= radio_button_tag('rev', changeset.revision, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < revisions.size) %></td>
19 <td align="center" style="width:1em;"><%= radio_button_tag('rev_to', changeset.revision, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %></td>
19 <td class="checkbox"><%= radio_button_tag('rev_to', changeset.revision, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %></td>
20 <td align="center" style="width:15%"><%= format_time(changeset.committed_on) %></td>
20 <td align="center" style="width:15%"><%= format_time(changeset.committed_on) %></td>
21 <td align="center" style="width:15%"><em><%=h changeset.committer %></em></td>
21 <td align="center" style="width:15%"><em><%=h changeset.committer %></em></td>
22 <td align="left"><%= textilizable(changeset.comments) %></td>
22 <td align="left"><%= textilizable(changeset.comments) %></td>
23 </tr>
23 </tr>
24 <% line_num += 1 %>
24 <% line_num += 1 %>
25 <% end %>
25 <% end %>
26 </tbody>
26 </tbody>
27 </table>
27 </table>
28 <%= hidden_field_tag 'path', path %>
28 <%= hidden_field_tag 'path', path %>
29 <%= submit_tag(l(:label_view_diff), :class => 'small', :name => nil) if show_diff %>
29 <%= submit_tag(l(:label_view_diff), :class => 'small', :name => nil) if show_diff %>
30 <% end %>
30 <% end %>
@@ -1,34 +1,34
1 <h2><%= @page.pretty_title %></h2>
1 <h2><%= @page.pretty_title %></h2>
2
2
3 <h3><%= l(:label_history) %></h3>
3 <h3><%= l(:label_history) %></h3>
4
4
5 <% form_tag({:action => "diff"}, :method => :get) do %>
5 <% form_tag({:action => "diff"}, :method => :get) do %>
6 <table class="list">
6 <table class="list">
7 <thead><tr>
7 <thead><tr>
8 <th>#</th>
8 <th>#</th>
9 <th></th>
9 <th></th>
10 <th></th>
10 <th></th>
11 <th><%= l(:field_updated_on) %></th>
11 <th><%= l(:field_updated_on) %></th>
12 <th><%= l(:field_author) %></th>
12 <th><%= l(:field_author) %></th>
13 <th><%= l(:field_comments) %></th>
13 <th><%= l(:field_comments) %></th>
14 </tr></thead>
14 </tr></thead>
15 <tbody>
15 <tbody>
16 <% show_diff = @versions.size > 1 %>
16 <% show_diff = @versions.size > 1 %>
17 <% line_num = 1 %>
17 <% line_num = 1 %>
18 <% @versions.each do |ver| %>
18 <% @versions.each do |ver| %>
19 <tr class="<%= cycle("odd", "even") %>">
19 <tr class="<%= cycle("odd", "even") %>">
20 <th align="center"><%= link_to ver.version, :action => 'index', :page => @page.title, :version => ver.version %></th>
20 <td class="id"><%= link_to ver.version, :action => 'index', :page => @page.title, :version => ver.version %></th>
21 <td align="center" width="1%"><%= radio_button_tag('version', ver.version, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < @versions.size) %></td>
21 <td class="checkbox"><%= radio_button_tag('version', ver.version, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < @versions.size) %></td>
22 <td align="center" width="1%"><%= radio_button_tag('version_from', ver.version, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true || $('version_from').value > #{ver.version}) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %></td>
22 <td class="checkbox"><%= radio_button_tag('version_from', ver.version, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true || $('version_from').value > #{ver.version}) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %></td>
23 <td align="center"><%= format_time(ver.updated_on) %></td>
23 <td align="center"><%= format_time(ver.updated_on) %></td>
24 <td><em><%= ver.author ? ver.author.name : "anonyme" %></em></td>
24 <td><em><%= ver.author ? ver.author.name : "anonyme" %></em></td>
25 <td><%=h ver.comments %></td>
25 <td><%=h ver.comments %></td>
26 </tr>
26 </tr>
27 <% line_num += 1 %>
27 <% line_num += 1 %>
28 <% end %>
28 <% end %>
29 </tbody>
29 </tbody>
30 </table>
30 </table>
31 <%= submit_tag l(:label_view_diff), :class => 'small' %>
31 <%= submit_tag l(:label_view_diff), :class => 'small' %>
32 <%= pagination_links_full @version_pages, :page_param => :p %>
32 <%= pagination_links_full @version_pages, :page_param => :p %>
33 [ <%= @version_pages.current.first_item %> - <%= @version_pages.current.last_item %> / <%= @version_count %> ]
33 [ <%= @version_pages.current.first_item %> - <%= @version_pages.current.last_item %> / <%= @version_count %> ]
34 <% end %>
34 <% end %>
@@ -1,464 +1,465
1 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
1 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
2
2
3 h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
3 h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
4 h1 {margin:0; padding:0; font-size: 24px;}
4 h1 {margin:0; padding:0; font-size: 24px;}
5 h2, .wiki h1 {font-size: 20px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
5 h2, .wiki h1 {font-size: 20px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
6 h3, .wiki h2 {font-size: 16px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
6 h3, .wiki h2 {font-size: 16px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
7 h4, .wiki h3 {font-size: 12px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
7 h4, .wiki h3 {font-size: 12px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
8
8
9 /***** Layout *****/
9 /***** Layout *****/
10 #top-menu {background: #2C4056;color: #fff;height:1.5em; padding: 2px 6px 0px 6px;}
10 #top-menu {background: #2C4056;color: #fff;height:1.5em; padding: 2px 6px 0px 6px;}
11 #top-menu a {color: #fff; padding-right: 4px;}
11 #top-menu a {color: #fff; padding-right: 4px;}
12 #account {float:right;}
12 #account {float:right;}
13
13
14 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px;}
14 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px;}
15 #header a {color:#f8f8f8;}
15 #header a {color:#f8f8f8;}
16 #quick-search {float:right;}
16 #quick-search {float:right;}
17
17
18 #main-menu {position: absolute; top: 5.5em; left:6px;}
18 #main-menu {position: absolute; top: 5.5em; left:6px;}
19 #main-menu ul {margin: 0; padding: 0;}
19 #main-menu ul {margin: 0; padding: 0;}
20 #main-menu li {
20 #main-menu li {
21 float:left;
21 float:left;
22 list-style-type:none;
22 list-style-type:none;
23 margin: 0px 10px 0px 0px;
23 margin: 0px 10px 0px 0px;
24 padding: 0px 0px 0px 0px;
24 padding: 0px 0px 0px 0px;
25 white-space:nowrap;
25 white-space:nowrap;
26 }
26 }
27 #main-menu li a {
27 #main-menu li a {
28 display: block;
28 display: block;
29 color: #fff;
29 color: #fff;
30 text-decoration: none;
30 text-decoration: none;
31 margin: 0;
31 margin: 0;
32 padding: 4px 4px 4px 4px;
32 padding: 4px 4px 4px 4px;
33 background: #2C4056;
33 background: #2C4056;
34 }
34 }
35 #main-menu li a:hover {background:#759FCF;}
35 #main-menu li a:hover {background:#759FCF;}
36
36
37 #main {background: url(../images/mainbg.png) repeat-x; background-color:#EEEEEE;}
37 #main {background: url(../images/mainbg.png) repeat-x; background-color:#EEEEEE;}
38
38
39 #sidebar{ float: right; width: 17%; position: relative; z-index: 9; min-height: 600px; padding: 0; margin: 0;}
39 #sidebar{ float: right; width: 17%; position: relative; z-index: 9; min-height: 600px; padding: 0; margin: 0;}
40 * html #sidebar{ width: 17%; }
40 * html #sidebar{ width: 17%; }
41 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
41 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
42 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
42 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
43 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
43 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
44
44
45 #content { width: 80%; background: url(../images/contentbg.png) repeat-x; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; position: relative; z-index: 10; height:600px; min-height: 600px;}
45 #content { width: 80%; background: url(../images/contentbg.png) repeat-x; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; position: relative; z-index: 10; height:600px; min-height: 600px;}
46 * html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
46 * html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
47 html>body #content {
47 html>body #content {
48 height: auto;
48 height: auto;
49 min-height: 600px;
49 min-height: 600px;
50 }
50 }
51
51
52 #main.nosidebar #sidebar{ display: none; }
52 #main.nosidebar #sidebar{ display: none; }
53 #main.nosidebar #content{ width: auto; border-right: 0; }
53 #main.nosidebar #content{ width: auto; border-right: 0; }
54
54
55 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
55 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
56
56
57 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
57 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
58 #login-form table td {padding: 6px;}
58 #login-form table td {padding: 6px;}
59 #login-form label {font-weight: bold;}
59 #login-form label {font-weight: bold;}
60
60
61 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
61 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
62
62
63 /***** Links *****/
63 /***** Links *****/
64 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
64 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
65 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
65 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
66 a img{ border: 0; }
66 a img{ border: 0; }
67
67
68 /***** Tables *****/
68 /***** Tables *****/
69 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
69 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
70 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
70 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
71 table.list tbody th { padding: 0px; }
72 table.list td { overflow: hidden; text-overflow: ellipsis; vertical-align: top;}
71 table.list td { overflow: hidden; text-overflow: ellipsis; vertical-align: top;}
72 table.list td.id { width: 2%; text-align: center;}
73 table.list td.checkbox { width: 15px; padding: 0px;}
74
75 tr.issue { text-align: center; white-space: nowrap; }
76 tr.issue td.subject, tr.issue td.category { white-space: normal; }
77 tr.issue td.subject { text-align: left; }
78
73 table.list tbody tr:hover { background-color:#ffffdd; }
79 table.list tbody tr:hover { background-color:#ffffdd; }
74 table td {padding:2px;}
80 table td {padding:2px;}
75 table p {margin:0;}
81 table p {margin:0;}
76 .odd {background-color:#f6f7f8;}
82 .odd {background-color:#f6f7f8;}
77 .even {background-color: #fff;}
83 .even {background-color: #fff;}
78
84
79 .highlight { background-color: #FCFD8D;}
85 .highlight { background-color: #FCFD8D;}
80
86
81 .box{
87 .box{
82 padding:6px;
88 padding:6px;
83 margin-bottom: 10px;
89 margin-bottom: 10px;
84 background-color:#f6f6f6;
90 background-color:#f6f6f6;
85 color:#505050;
91 color:#505050;
86 line-height:1.5em;
92 line-height:1.5em;
87 border: 1px solid #e4e4e4;
93 border: 1px solid #e4e4e4;
88 }
94 }
89
95
90 div.square {
96 div.square {
91 border: 1px solid #999;
97 border: 1px solid #999;
92 float: left;
98 float: left;
93 margin: .3em .4em 0 .4em;
99 margin: .3em .4em 0 .4em;
94 overflow: hidden;
100 overflow: hidden;
95 width: .6em; height: .6em;
101 width: .6em; height: .6em;
96 }
102 }
97
103
98 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px;font-size:0.9em;}
104 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px;font-size:0.9em;}
99 .splitcontentleft{float:left; width:49%;}
105 .splitcontentleft{float:left; width:49%;}
100 .splitcontentright{float:right; width:49%;}
106 .splitcontentright{float:right; width:49%;}
101 form {display: inline;}
107 form {display: inline;}
102 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
108 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
103 fieldset {border: 1px solid #e4e4e4; margin:0;}
109 fieldset {border: 1px solid #e4e4e4; margin:0;}
110 legend {color: #484848;}
104 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
111 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
105 textarea.wiki-edit { width: 99%; }
112 textarea.wiki-edit { width: 99%; }
106 li p {margin-top: 0;}
113 li p {margin-top: 0;}
107 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
114 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
108 .autoscroll {overflow-x: auto; padding:1px; width:100%;}
115 .autoscroll {overflow-x: auto; padding:1px; width:100%;}
109
116
110 /***** Tabular forms ******/
117 /***** Tabular forms ******/
111 .tabular p{
118 .tabular p{
112 margin: 0;
119 margin: 0;
113 padding: 5px 0 8px 0;
120 padding: 5px 0 8px 0;
114 padding-left: 180px; /*width of left column containing the label elements*/
121 padding-left: 180px; /*width of left column containing the label elements*/
115 height: 1%;
122 height: 1%;
116 clear:left;
123 clear:left;
117 }
124 }
118
125
119 .tabular label{
126 .tabular label{
120 font-weight: bold;
127 font-weight: bold;
121 float: left;
128 float: left;
122 text-align: right;
129 text-align: right;
123 margin-left: -180px; /*width of left column*/
130 margin-left: -180px; /*width of left column*/
124 width: 175px; /*width of labels. Should be smaller than left column to create some right
131 width: 175px; /*width of labels. Should be smaller than left column to create some right
125 margin*/
132 margin*/
126 }
133 }
127
134
128 .tabular label.floating{
135 .tabular label.floating{
129 font-weight: normal;
136 font-weight: normal;
130 margin-left: 0px;
137 margin-left: 0px;
131 text-align: left;
138 text-align: left;
132 width: 200px;
139 width: 200px;
133 }
140 }
134
141
135 #settings .tabular p{ padding-left: 300px; }
142 #settings .tabular p{ padding-left: 300px; }
136 #settings .tabular label{ margin-left: -300px; width: 295px; }
143 #settings .tabular label{ margin-left: -300px; width: 295px; }
137
144
138 .required {color: #bb0000;}
145 .required {color: #bb0000;}
139 .summary {font-style: italic;}
146 .summary {font-style: italic;}
140
147
141 div.attachments p { margin:4px 0 2px 0; }
148 div.attachments p { margin:4px 0 2px 0; }
142
149
143 /***** Issue list ****/
144 tr.issue { text-align: center; white-space: nowrap; }
145 tr.issue th.checkbox { width: 15px; }
146 tr.issue td.subject, tr.issue td.category { white-space: normal; }
147 tr.issue td.subject { text-align: left; }
148
149 /***** Flash & error messages ****/
150 /***** Flash & error messages ****/
150 #flash div, #errorExplanation, .nodata {
151 #flash div, #errorExplanation, .nodata {
151 padding: 4px 4px 4px 30px;
152 padding: 4px 4px 4px 30px;
152 margin-bottom: 12px;
153 margin-bottom: 12px;
153 font-size: 1.1em;
154 font-size: 1.1em;
154 border: 2px solid;
155 border: 2px solid;
155 }
156 }
156
157
157 #flash div {margin-top: 6px;}
158 #flash div {margin-top: 6px;}
158
159
159 #flash div.error, #errorExplanation {
160 #flash div.error, #errorExplanation {
160 background: url(../images/false.png) 8px 5px no-repeat;
161 background: url(../images/false.png) 8px 5px no-repeat;
161 background-color: #ffe3e3;
162 background-color: #ffe3e3;
162 border-color: #dd0000;
163 border-color: #dd0000;
163 color: #550000;
164 color: #550000;
164 }
165 }
165
166
166 #flash div.notice {
167 #flash div.notice {
167 background: url(../images/true.png) 8px 5px no-repeat;
168 background: url(../images/true.png) 8px 5px no-repeat;
168 background-color: #dfffdf;
169 background-color: #dfffdf;
169 border-color: #9fcf9f;
170 border-color: #9fcf9f;
170 color: #005f00;
171 color: #005f00;
171 }
172 }
172
173
173 .nodata {
174 .nodata {
174 text-align: center;
175 text-align: center;
175 background-color: #FFEBC1;
176 background-color: #FFEBC1;
176 border-color: #FDBF3B;
177 border-color: #FDBF3B;
177 color: #A6750C;
178 color: #A6750C;
178 }
179 }
179
180
180 #errorExplanation ul { font-size: 0.9em;}
181 #errorExplanation ul { font-size: 0.9em;}
181
182
182 /***** Ajax indicator ******/
183 /***** Ajax indicator ******/
183 #ajax-indicator {
184 #ajax-indicator {
184 position: absolute; /* fixed not supported by IE */
185 position: absolute; /* fixed not supported by IE */
185 background-color:#eee;
186 background-color:#eee;
186 border: 1px solid #bbb;
187 border: 1px solid #bbb;
187 top:35%;
188 top:35%;
188 left:40%;
189 left:40%;
189 width:20%;
190 width:20%;
190 font-weight:bold;
191 font-weight:bold;
191 text-align:center;
192 text-align:center;
192 padding:0.6em;
193 padding:0.6em;
193 z-index:100;
194 z-index:100;
194 filter:alpha(opacity=50);
195 filter:alpha(opacity=50);
195 -moz-opacity:0.5;
196 -moz-opacity:0.5;
196 opacity: 0.5;
197 opacity: 0.5;
197 -khtml-opacity: 0.5;
198 -khtml-opacity: 0.5;
198 }
199 }
199
200
200 html>body #ajax-indicator { position: fixed; }
201 html>body #ajax-indicator { position: fixed; }
201
202
202 #ajax-indicator span {
203 #ajax-indicator span {
203 background-position: 0% 40%;
204 background-position: 0% 40%;
204 background-repeat: no-repeat;
205 background-repeat: no-repeat;
205 background-image: url(../images/loading.gif);
206 background-image: url(../images/loading.gif);
206 padding-left: 26px;
207 padding-left: 26px;
207 vertical-align: bottom;
208 vertical-align: bottom;
208 }
209 }
209
210
210 /***** Calendar *****/
211 /***** Calendar *****/
211 table.cal {border-collapse: collapse; width: 100%; margin: 8px 0 6px 0;border: 1px solid #d7d7d7;}
212 table.cal {border-collapse: collapse; width: 100%; margin: 8px 0 6px 0;border: 1px solid #d7d7d7;}
212 table.cal th { background-color:#EEEEEE; padding: 4px; }
213 table.cal th { background-color:#EEEEEE; padding: 4px; }
213 table.cal td {border: 1px solid #d7d7d7;}
214 table.cal td {border: 1px solid #d7d7d7;}
214 table.cal td.today {background:#ffffdd;}
215 table.cal td.today {background:#ffffdd;}
215
216
216 /***** Tooltips ******/
217 /***** Tooltips ******/
217 .tooltip{position:relative;z-index:24;}
218 .tooltip{position:relative;z-index:24;}
218 .tooltip:hover{z-index:25;color:#000;}
219 .tooltip:hover{z-index:25;color:#000;}
219 .tooltip span.tip{display: none; text-align:left;}
220 .tooltip span.tip{display: none; text-align:left;}
220
221
221 div.tooltip:hover span.tip{
222 div.tooltip:hover span.tip{
222 display:block;
223 display:block;
223 position:absolute;
224 position:absolute;
224 top:12px; left:24px; width:270px;
225 top:12px; left:24px; width:270px;
225 border:1px solid #555;
226 border:1px solid #555;
226 background-color:#fff;
227 background-color:#fff;
227 padding: 4px;
228 padding: 4px;
228 font-size: 0.8em;
229 font-size: 0.8em;
229 color:#505050;
230 color:#505050;
230 }
231 }
231
232
232 /***** Progress bar *****/
233 /***** Progress bar *****/
233 .progress {
234 .progress {
234 border: 1px solid #D7D7D7;
235 border: 1px solid #D7D7D7;
235 border-collapse: collapse;
236 border-collapse: collapse;
236 border-spacing: 0pt;
237 border-spacing: 0pt;
237 empty-cells: show;
238 empty-cells: show;
238 padding: 3px;
239 padding: 3px;
239 width: 40em;
240 width: 40em;
240 text-align: center;
241 text-align: center;
241 }
242 }
242
243
243 .progress td { height: 1em; }
244 .progress td { height: 1em; }
244 .progress .closed { background: #BAE0BA none repeat scroll 0%; }
245 .progress .closed { background: #BAE0BA none repeat scroll 0%; }
245 .progress .open { background: #FFF none repeat scroll 0%; }
246 .progress .open { background: #FFF none repeat scroll 0%; }
246
247
247 /***** Tabs *****/
248 /***** Tabs *****/
248 #content .tabs{height: 2.6em;}
249 #content .tabs{height: 2.6em;}
249 #content .tabs ul{margin:0;}
250 #content .tabs ul{margin:0;}
250 #content .tabs ul li{
251 #content .tabs ul li{
251 float:left;
252 float:left;
252 list-style-type:none;
253 list-style-type:none;
253 white-space:nowrap;
254 white-space:nowrap;
254 margin-right:8px;
255 margin-right:8px;
255 background:#fff;
256 background:#fff;
256 }
257 }
257 #content .tabs ul li a{
258 #content .tabs ul li a{
258 display:block;
259 display:block;
259 font-size: 0.9em;
260 font-size: 0.9em;
260 text-decoration:none;
261 text-decoration:none;
261 line-height:1em;
262 line-height:1em;
262 padding:4px;
263 padding:4px;
263 border: 1px solid #c0c0c0;
264 border: 1px solid #c0c0c0;
264 }
265 }
265
266
266 #content .tabs ul li a.selected, #content .tabs ul li a:hover{
267 #content .tabs ul li a.selected, #content .tabs ul li a:hover{
267 background-color: #507AAA;
268 background-color: #507AAA;
268 border: 1px solid #507AAA;
269 border: 1px solid #507AAA;
269 color: #fff;
270 color: #fff;
270 text-decoration:none;
271 text-decoration:none;
271 }
272 }
272
273
273 /***** Diff *****/
274 /***** Diff *****/
274 .diff_out { background: #fcc; }
275 .diff_out { background: #fcc; }
275 .diff_in { background: #cfc; }
276 .diff_in { background: #cfc; }
276
277
277 /***** Wiki *****/
278 /***** Wiki *****/
278 div.wiki table {
279 div.wiki table {
279 border: 1px solid #505050;
280 border: 1px solid #505050;
280 border-collapse: collapse;
281 border-collapse: collapse;
281 }
282 }
282
283
283 div.wiki table, div.wiki td, div.wiki th {
284 div.wiki table, div.wiki td, div.wiki th {
284 border: 1px solid #bbb;
285 border: 1px solid #bbb;
285 padding: 4px;
286 padding: 4px;
286 }
287 }
287
288
288 div.wiki .external {
289 div.wiki .external {
289 background-position: 0% 60%;
290 background-position: 0% 60%;
290 background-repeat: no-repeat;
291 background-repeat: no-repeat;
291 padding-left: 12px;
292 padding-left: 12px;
292 background-image: url(../images/external.png);
293 background-image: url(../images/external.png);
293 }
294 }
294
295
295 div.wiki a.new {
296 div.wiki a.new {
296 color: #b73535;
297 color: #b73535;
297 }
298 }
298
299
299 div.wiki pre {
300 div.wiki pre {
300 margin: 1em 1em 1em 1.6em;
301 margin: 1em 1em 1em 1.6em;
301 padding: 2px;
302 padding: 2px;
302 background-color: #fafafa;
303 background-color: #fafafa;
303 border: 1px solid #dadada;
304 border: 1px solid #dadada;
304 width:95%;
305 width:95%;
305 overflow-x: auto;
306 overflow-x: auto;
306 }
307 }
307
308
308 div.wiki div.toc {
309 div.wiki div.toc {
309 background-color: #ffffdd;
310 background-color: #ffffdd;
310 border: 1px solid #e4e4e4;
311 border: 1px solid #e4e4e4;
311 padding: 4px;
312 padding: 4px;
312 line-height: 1.2em;
313 line-height: 1.2em;
313 margin-bottom: 12px;
314 margin-bottom: 12px;
314 margin-right: 12px;
315 margin-right: 12px;
315 display: table
316 display: table
316 }
317 }
317 * html div.wiki div.toc { width: 50%; } /* IE6 doesn't autosize div */
318 * html div.wiki div.toc { width: 50%; } /* IE6 doesn't autosize div */
318
319
319 div.wiki div.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
320 div.wiki div.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
320 div.wiki div.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
321 div.wiki div.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
321
322
322 div.wiki div.toc a {
323 div.wiki div.toc a {
323 display: block;
324 display: block;
324 font-size: 0.9em;
325 font-size: 0.9em;
325 font-weight: normal;
326 font-weight: normal;
326 text-decoration: none;
327 text-decoration: none;
327 color: #606060;
328 color: #606060;
328 }
329 }
329 div.wiki div.toc a:hover { color: #c61a1a; text-decoration: underline;}
330 div.wiki div.toc a:hover { color: #c61a1a; text-decoration: underline;}
330
331
331 div.wiki div.toc a.heading2 { margin-left: 6px; }
332 div.wiki div.toc a.heading2 { margin-left: 6px; }
332 div.wiki div.toc a.heading3 { margin-left: 12px; font-size: 0.8em; }
333 div.wiki div.toc a.heading3 { margin-left: 12px; font-size: 0.8em; }
333
334
334 /***** My page layout *****/
335 /***** My page layout *****/
335 .block-receiver {
336 .block-receiver {
336 border:1px dashed #c0c0c0;
337 border:1px dashed #c0c0c0;
337 margin-bottom: 20px;
338 margin-bottom: 20px;
338 padding: 15px 0 15px 0;
339 padding: 15px 0 15px 0;
339 }
340 }
340
341
341 .mypage-box {
342 .mypage-box {
342 margin:0 0 20px 0;
343 margin:0 0 20px 0;
343 color:#505050;
344 color:#505050;
344 line-height:1.5em;
345 line-height:1.5em;
345 }
346 }
346
347
347 .handle {
348 .handle {
348 cursor: move;
349 cursor: move;
349 }
350 }
350
351
351 a.close-icon {
352 a.close-icon {
352 display:block;
353 display:block;
353 margin-top:3px;
354 margin-top:3px;
354 overflow:hidden;
355 overflow:hidden;
355 width:12px;
356 width:12px;
356 height:12px;
357 height:12px;
357 background-repeat: no-repeat;
358 background-repeat: no-repeat;
358 cursor:pointer;
359 cursor:pointer;
359 background-image:url('../images/close.png');
360 background-image:url('../images/close.png');
360 }
361 }
361
362
362 a.close-icon:hover {
363 a.close-icon:hover {
363 background-image:url('../images/close_hl.png');
364 background-image:url('../images/close_hl.png');
364 }
365 }
365
366
366 /***** Gantt chart *****/
367 /***** Gantt chart *****/
367 .gantt_hdr {
368 .gantt_hdr {
368 position:absolute;
369 position:absolute;
369 top:0;
370 top:0;
370 height:16px;
371 height:16px;
371 border-top: 1px solid #c0c0c0;
372 border-top: 1px solid #c0c0c0;
372 border-bottom: 1px solid #c0c0c0;
373 border-bottom: 1px solid #c0c0c0;
373 border-right: 1px solid #c0c0c0;
374 border-right: 1px solid #c0c0c0;
374 text-align: center;
375 text-align: center;
375 overflow: hidden;
376 overflow: hidden;
376 }
377 }
377
378
378 .task {
379 .task {
379 position: absolute;
380 position: absolute;
380 height:8px;
381 height:8px;
381 font-size:0.8em;
382 font-size:0.8em;
382 color:#888;
383 color:#888;
383 padding:0;
384 padding:0;
384 margin:0;
385 margin:0;
385 line-height:0.8em;
386 line-height:0.8em;
386 }
387 }
387
388
388 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
389 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
389 .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; }
390 .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; }
390 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
391 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
391 .milestone { background-image:url(../images/milestone.png); background-repeat: no-repeat; border: 0; }
392 .milestone { background-image:url(../images/milestone.png); background-repeat: no-repeat; border: 0; }
392
393
393 /***** Icons *****/
394 /***** Icons *****/
394 .icon {
395 .icon {
395 background-position: 0% 40%;
396 background-position: 0% 40%;
396 background-repeat: no-repeat;
397 background-repeat: no-repeat;
397 padding-left: 20px;
398 padding-left: 20px;
398 padding-top: 2px;
399 padding-top: 2px;
399 padding-bottom: 3px;
400 padding-bottom: 3px;
400 }
401 }
401
402
402 .icon22 {
403 .icon22 {
403 background-position: 0% 40%;
404 background-position: 0% 40%;
404 background-repeat: no-repeat;
405 background-repeat: no-repeat;
405 padding-left: 26px;
406 padding-left: 26px;
406 line-height: 22px;
407 line-height: 22px;
407 vertical-align: middle;
408 vertical-align: middle;
408 }
409 }
409
410
410 .icon-add { background-image: url(../images/add.png); }
411 .icon-add { background-image: url(../images/add.png); }
411 .icon-edit { background-image: url(../images/edit.png); }
412 .icon-edit { background-image: url(../images/edit.png); }
412 .icon-del { background-image: url(../images/delete.png); }
413 .icon-del { background-image: url(../images/delete.png); }
413 .icon-move { background-image: url(../images/move.png); }
414 .icon-move { background-image: url(../images/move.png); }
414 .icon-save { background-image: url(../images/save.png); }
415 .icon-save { background-image: url(../images/save.png); }
415 .icon-cancel { background-image: url(../images/cancel.png); }
416 .icon-cancel { background-image: url(../images/cancel.png); }
416 .icon-pdf { background-image: url(../images/pdf.png); }
417 .icon-pdf { background-image: url(../images/pdf.png); }
417 .icon-csv { background-image: url(../images/csv.png); }
418 .icon-csv { background-image: url(../images/csv.png); }
418 .icon-html { background-image: url(../images/html.png); }
419 .icon-html { background-image: url(../images/html.png); }
419 .icon-image { background-image: url(../images/image.png); }
420 .icon-image { background-image: url(../images/image.png); }
420 .icon-txt { background-image: url(../images/txt.png); }
421 .icon-txt { background-image: url(../images/txt.png); }
421 .icon-file { background-image: url(../images/file.png); }
422 .icon-file { background-image: url(../images/file.png); }
422 .icon-folder { background-image: url(../images/folder.png); }
423 .icon-folder { background-image: url(../images/folder.png); }
423 .icon-package { background-image: url(../images/package.png); }
424 .icon-package { background-image: url(../images/package.png); }
424 .icon-home { background-image: url(../images/home.png); }
425 .icon-home { background-image: url(../images/home.png); }
425 .icon-user { background-image: url(../images/user.png); }
426 .icon-user { background-image: url(../images/user.png); }
426 .icon-mypage { background-image: url(../images/user_page.png); }
427 .icon-mypage { background-image: url(../images/user_page.png); }
427 .icon-admin { background-image: url(../images/admin.png); }
428 .icon-admin { background-image: url(../images/admin.png); }
428 .icon-projects { background-image: url(../images/projects.png); }
429 .icon-projects { background-image: url(../images/projects.png); }
429 .icon-logout { background-image: url(../images/logout.png); }
430 .icon-logout { background-image: url(../images/logout.png); }
430 .icon-help { background-image: url(../images/help.png); }
431 .icon-help { background-image: url(../images/help.png); }
431 .icon-attachment { background-image: url(../images/attachment.png); }
432 .icon-attachment { background-image: url(../images/attachment.png); }
432 .icon-index { background-image: url(../images/index.png); }
433 .icon-index { background-image: url(../images/index.png); }
433 .icon-history { background-image: url(../images/history.png); }
434 .icon-history { background-image: url(../images/history.png); }
434 .icon-feed { background-image: url(../images/feed.png); }
435 .icon-feed { background-image: url(../images/feed.png); }
435 .icon-time { background-image: url(../images/time.png); }
436 .icon-time { background-image: url(../images/time.png); }
436 .icon-stats { background-image: url(../images/stats.png); }
437 .icon-stats { background-image: url(../images/stats.png); }
437 .icon-warning { background-image: url(../images/warning.png); }
438 .icon-warning { background-image: url(../images/warning.png); }
438 .icon-fav { background-image: url(../images/fav.png); }
439 .icon-fav { background-image: url(../images/fav.png); }
439 .icon-fav-off { background-image: url(../images/fav_off.png); }
440 .icon-fav-off { background-image: url(../images/fav_off.png); }
440 .icon-reload { background-image: url(../images/reload.png); }
441 .icon-reload { background-image: url(../images/reload.png); }
441 .icon-lock { background-image: url(../images/locked.png); }
442 .icon-lock { background-image: url(../images/locked.png); }
442 .icon-unlock { background-image: url(../images/unlock.png); }
443 .icon-unlock { background-image: url(../images/unlock.png); }
443 .icon-note { background-image: url(../images/note.png); }
444 .icon-note { background-image: url(../images/note.png); }
444
445
445 .icon22-projects { background-image: url(../images/22x22/projects.png); }
446 .icon22-projects { background-image: url(../images/22x22/projects.png); }
446 .icon22-users { background-image: url(../images/22x22/users.png); }
447 .icon22-users { background-image: url(../images/22x22/users.png); }
447 .icon22-tracker { background-image: url(../images/22x22/tracker.png); }
448 .icon22-tracker { background-image: url(../images/22x22/tracker.png); }
448 .icon22-role { background-image: url(../images/22x22/role.png); }
449 .icon22-role { background-image: url(../images/22x22/role.png); }
449 .icon22-workflow { background-image: url(../images/22x22/workflow.png); }
450 .icon22-workflow { background-image: url(../images/22x22/workflow.png); }
450 .icon22-options { background-image: url(../images/22x22/options.png); }
451 .icon22-options { background-image: url(../images/22x22/options.png); }
451 .icon22-notifications { background-image: url(../images/22x22/notifications.png); }
452 .icon22-notifications { background-image: url(../images/22x22/notifications.png); }
452 .icon22-authent { background-image: url(../images/22x22/authent.png); }
453 .icon22-authent { background-image: url(../images/22x22/authent.png); }
453 .icon22-info { background-image: url(../images/22x22/info.png); }
454 .icon22-info { background-image: url(../images/22x22/info.png); }
454 .icon22-comment { background-image: url(../images/22x22/comment.png); }
455 .icon22-comment { background-image: url(../images/22x22/comment.png); }
455 .icon22-package { background-image: url(../images/22x22/package.png); }
456 .icon22-package { background-image: url(../images/22x22/package.png); }
456 .icon22-settings { background-image: url(../images/22x22/settings.png); }
457 .icon22-settings { background-image: url(../images/22x22/settings.png); }
457 .icon22-plugin { background-image: url(../images/22x22/plugin.png); }
458 .icon22-plugin { background-image: url(../images/22x22/plugin.png); }
458
459
459 /***** Media print specific styles *****/
460 /***** Media print specific styles *****/
460 @media print {
461 @media print {
461 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual { display:none; }
462 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual { display:none; }
462 #main { background: #fff; }
463 #main { background: #fff; }
463 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; }
464 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; }
464 }
465 }
General Comments 0
You need to be logged in to leave comments. Login now