Changesets can be listed by changeset number.
The Git repository is here.
Changeset 327
View, layout and stylesheet changes to make Collaboa fit in with
the March 2011 site update.
- Comitted by: rool
- Date: Friday March 18 14:46:32 2011 (over 13 years ago)
Affected files:
- rool/rails/collaboa/trunk/app/views/layouts/application.rhtml (diff)
- rool/rails/collaboa/trunk/app/views/shared/_powered.rhtml (diff)
- rool/rails/collaboa/trunk/app/views/tickets/show.rhtml (diff)
- rool/rails/collaboa/trunk/public/stylesheets/screen.css (diff)
rool/rails/collaboa/trunk/app/views/layouts/application.rhtml:
prev. | current | |
<%= stylesheet_link_tag '/stylesheets/syntaxes/xml' %> | ||
<%= stylesheet_link_tag '/stylesheets/syntaxes/yaml' %> | ||
<% end %> | ||
18 | | |
19 | | |
18 | <% if @params["controller"] == 'repository' -%> | |
19 | <%= auto_discovery_link_tag(:rss, {:controller => 'rss', :action => 'changesets'}) %> | |
<% elsif @params["controller"] == 'tickets' -%> | ||
21 | | |
21 | <%= auto_discovery_link_tag(:rss, {:controller => 'rss', :action => 'tickets'}) %> | |
<% else -%> | ||
23 | | |
23 | <%= auto_discovery_link_tag(:rss, {:controller => 'rss', :action => 'all'}) %> | |
<% end -%> | ||
<%= javascript_include_tag "prototype" %> | ||
</head> | ||
27 | | |
27 | <body> | |
<%= render 'shared/fixed_header' %> | ||
30 | | |
30 | <div id="template_main"> | |
32 | | |
32 | <!-- Main body content --> | |
34 | | |
35 | | |
36 | | |
37 | | |
34 | <div id="template_body"> | |
35 | <div id="template_body_content"> | |
<%= hubssolib_flash_tags -%> | ||
37 | ||
<%= @content_for_layout %> | ||
40 | | |
39 | </div> | |
40 | </div> | |
42 | | |
43 | | |
44 | | |
42 | <!-- Sidebar --> | |
46 | | |
47 | | |
48 | | |
49 | | |
44 | <div id="template_sidebar"> | |
45 | <div id="template_sidebar_content"> | |
46 | <div class="template_sidebar_node"> | |
47 | <h3>Search tickets</h3> | |
51 | | |
52 | | |
53 | | |
54 | | |
55 | | |
56 | | |
57 | | |
49 | <p /> | |
50 | <div class="template_sidebar_static"> | |
51 | <%= form_tag({:controller => 'search', :action => 'index'}, :method => 'get') %> | |
52 | <input name="q" type="text" value="<%= params[:q] -%>" size="15" /> | |
53 | <input type="submit" value="Go" /> | |
54 | <%= end_form_tag %> | |
</div> | ||
56 | </div> | |
<%= render 'shared/fixed_sidebar' %> | ||
<% if hubssolib_privileged? -%> | ||
61 | <p /> | |
62 | <div class="template_sidebar_node"> | |
63 | <% if current_user.login == 'Public' %> | |
64 | <h3>Collaboa admin</h3> | |
65 | ||
<p /> | ||
64 | | |
65 | | |
66 | | |
67 | <ul><li><%= link_to 'Log in', :controller => '/login', :action => 'login' -%></li></ul> | |
68 | <% else %> | |
69 | <h3>Collaboa admin</h3> | |
68 | | |
69 | | |
70 | | |
71 | | |
72 | ||
73 | | |
74 | | |
75 | | |
76 | | |
71 | <p /> | |
72 | <ul><li>Logged in as <%= current_user.login %> <%= link_to '(Log out)', :controller => '/login', :action => 'logout' -%></li></ul> | |
73 | <% end %> | |
74 | </div> | |
<% end -%> | ||
77 | <p /> | |
78 | <div class="template_sidebar_node"> | |
79 | <h3>Options</h3> | |
80 | ||
<p /> | ||
80 | | |
81 | | |
82 | <ul> | |
83 | <% if current_user.view_tickets? -%> | |
84 | <li><%= link_to 'Tickets', :controller => '/tickets' -%></li> | |
85 | <% end -%> | |
86 | <% if current_user.create_tickets? -%> | |
87 | <li><%= link_to 'New ticket', :controller => '/tickets', :action => 'new' -%></li> | |
88 | <% end -%> | |
89 | <% if current_user.view_milestones? -%> | |
90 | <li><%= link_to 'Milestones', :controller => '/milestones' -%></li> | |
91 | <% end -%> | |
92 | <% if current_user.view_changesets? -%> | |
93 | <li>Subversion: <%= link_to 'Changesets', :controller => '/repository', :action => 'changesets' -%></li> | |
94 | <% end -%> | |
95 | <% if current_user.view_code? -%> | |
96 | <li>Subversion: <%= link_to 'Browse', :controller => '/repository', :action => 'browse', :path => nil -%></li> | |
97 | <% end -%> | |
98 | <% if current_user.view_changesets? -%> | |
99 | <li>CVS: <a href="/viewer/revisions">Revisions</a></li> | |
100 | <% end -%> | |
101 | <% if current_user.view_code? -%> | |
102 | <li>CVS: <a href="/viewer/view">Browse</a></li> | |
103 | <% end -%> | |
104 | <% if current_user.view_tickets? -%> | |
105 | <li><%= link_to 'Search', :controller => '/search' -%></li> | |
106 | <% end -%> | |
107 | <% if current_user.admin? -%> | |
108 | <li><%= link_to 'Admin', :controller => '/admin' -%></li> | |
109 | <% end -%> | |
110 | </ul> | |
111 | </div> | |
83 | | |
84 | | |
85 | | |
86 | | |
87 | | |
88 | | |
89 | | |
90 | | |
91 | | |
92 | | |
93 | | |
94 | | |
95 | | |
96 | | |
97 | | |
98 | | |
99 | | |
100 | | |
101 | | |
102 | | |
103 | | |
104 | | |
105 | | |
106 | | |
107 | | |
108 | | |
109 | | |
110 | | |
111 | | |
112 | | |
113 | | |
113 | <p /> | |
114 | <div class="template_sidebar_node"> | |
115 | <h3>RSS feeds <%= image_tag("rss.gif") %></h3> | |
<p /> | ||
116 | | |
117 | | |
118 | ||
119 | | |
120 | | |
121 | | |
122 | | |
123 | | |
124 | | |
125 | | |
126 | | |
127 | | |
128 | | |
129 | | |
118 | <ul> | |
119 | <% if @params["controller"] == 'repository' -%> | |
120 | <li><%= link_to 'Changesets', :controller => 'rss', :action => 'changesets' %></li> | |
121 | <% elsif @params["controller"] == 'tickets' -%> | |
122 | <li><%= link_to 'Tickets', :controller => 'rss', :action => 'tickets' %></li> | |
123 | <% end -%> | |
124 | <li><%= link_to 'Everything!', :controller => 'rss', :action => 'all' %></li> | |
125 | <li><%= link_to 'More feeds...', :controller => 'rss', :action => 'index' -%></li> | |
126 | </ul> | |
</div> | ||
131 | | |
132 | | |
133 | | |
134 | | |
128 | </div> | |
129 | </div> | |
130 | </div> | |
136 | | |
137 | ||
<%= render 'shared/fixed_footer' %> | ||
</body> | ||
</html> |
rool/rails/collaboa/trunk/app/views/shared/_powered.rhtml:
prev. | current | |
1 | ||
1 | -->Powered by <a href="http://theexciter.com/articles/collaboa-reloaded.html">Collaboa</a><!-- | |
rool/rails/collaboa/trunk/app/views/tickets/show.rhtml:
prev. | current | |
<h3>Changelog:</h3> | ||
<div id="ticket-changes"> | ||
<% first = false; end -%> | ||
51 | <div id="ticket-change-entry"> | |
52 | <h4>Modified by <%= format_author change.author -%> <%= change.created_at.strftime('%a, %B %d %Y - %H:%M:%S %Z') -%></h4> | |
53 | <ul> | |
54 | <% change.each_log do |log_entry| -%> | |
55 | <li><%= format_changes log_entry %></li> | |
56 | <% end -%> | |
57 | <% if change.has_attachment? -%> | |
58 | <li><strong>Attachment</strong> added: <%= link_to(change.attachment, :action => "attachment", :id => change.id) %></li> | |
59 | <% end -%> | |
60 | </ul> | |
52 | | |
53 | | |
54 | | |
55 | | |
56 | | |
57 | | |
58 | | |
59 | | |
60 | | |
61 | ||
62 | | |
63 | | |
64 | | |
62 | <% unless change.comment.nil? -%> | |
63 | <div id="ticket-change-comment"><%= make_links(htmlize(change.comment)) %></div> | |
64 | <% end -%> | |
65 | </div> | |
<% end -%> | ||
<% unless first -%> | ||
</div> |
rool/rails/collaboa/trunk/public/stylesheets/screen.css:
prev. | current | |
* Based on the Collaboa default stylesheet. | ||
*/ | ||
6 | ||
6 | @import url("/css/risc_os_open_2011.css"); | |
/* Some general properties */ | ||
... | ... | |
border-bottom: 1px dotted; | ||
} | ||
25 | ||
25 | div#ticket h1 | |
{ | ||
padding: 0; | ||
font-size: 160%; | ||
margin-bottom: 10px; | ||
} | ||
32 | ||
32 | div#ticket h2 | |
{ | ||
font-size: 140%; | ||
} | ||
37 | ||
37 | div#ticket h3 | |
{ | ||
margin: 10px 0; | ||
} | ||
... | ... | |
background: #ffc; | ||
border: 1px solid #aaa; | ||
padding: 10px; | ||
309 | margin: 20px 0; | |
} | ||
#ticket h1 {border: none; margin-bottom: 10px;} | ||
... | ... | |
float: right; | ||
} | ||
322 | ||
323 | table#ticket-details | |
{ | ||
margin: 20px auto 20px auto; | ||
width: 90%; | ||
border-collapse: collapse; | ||
} | ||
329 | ||
330 | table#ticket-details tr td | |
{ | ||
border-bottom: 1px solid #eea; | ||
font-size: 80%; | ||
} | ||
335 | ||
336 | table#ticket-details tr td.info | |
{ | ||
width: 100px; | ||
color: #650; | ||
... | ... | |
fieldset table tr td { padding: 3px 5px 3px 5px; } | ||
fieldset table tr.set-status { background: #ddd; } | ||
345 | ||
346 | #ticket-changes | |
347 | { | |
348 | margin: 20px; | |
349 | } | |
#ticket-changes h4 | ||
{ | ||
... | ... | |
color: #888; | ||
border-bottom: 1px solid #eee; | ||
margin-bottom: 5px; | ||
354 | | |
} | ||
#ticket-changes ul | ||
... | ... | |
padding: 1px; | ||
} | ||
379 | #ticket-change-entry | |
380 | { | |
381 | background: #f0f0f0 url( /images/risc_os_open/top_fade.png ) top left repeat-x; | |
382 | padding: 15px; | |
383 | margin-bottom: 1em; | |
384 | color: #333; | |
385 | ||
386 | /* border-radius: 8px; */ /* Valid, but the W3C CSS3 validator is buggy and complains - and has since 2006! */ | |
387 | -moz-border-radius: 8px; | |
388 | -webkit-border-radius: 8px; | |
389 | ||
390 | box-shadow: 0px 0px 5px #888; | |
391 | -moz-box-shadow: #888 0 0 5px; | |
392 | -webkit-box-shadow: #888 0 0 5px; | |
393 | } | |
394 | ||
#ticket-change-comment ul | ||
{ | ||
margin-top: 0; | ||
... | ... | |
.ticket-next-prev | ||
{ | ||
text-align: right; | ||
429 | | |
448 | margin-bottom: -12px; | |
} | ||
/** |