public
Description: Gitorious aims to provide a great way of doing distributed opensource code collaboration.
Homepage: http://gitorious.org/projects/gitorious
Clone URL: git://github.com/dysinger/gitorious.git
Search Repo:
Simplify a few repository pages, and use a custom theme for the graphs in 
the sidebar
Johan Sørensen (author)
Sun Apr 27 14:12:41 -0700 2008
commit  311210962d6f212d17f1149da843d0afab0c6d74
tree    e5db329019840918a1bbf8f80b6255b1b645d8f0
parent  ceafcfd952a8eda7ac13b50743c03690110f44b5
...
1
2
3
4
5
...
1
 
2
3
4
0
@@ -1,5 +1,4 @@
0
 new-ui:
0
-* create hooks symlinks on GitBackend.create+clone
0
 * Make the project tabs active styled depending on context
0
 * Fix menu bottom spacing issue in safari
0
 * Clone stats graph on repositories#index
...
13
14
15
 
 
 
 
...
13
14
15
16
17
18
19
0
@@ -13,4 +13,8 @@
0
 <%= render :partial => @comments -%>
0
 
0
 <%= render :partial => "form", :locals => {:sha1 => @commit.id} -%>
0
+
0
+<% content_for :submenu do -%>
0
+ <%= render :partial => "repositories/context_menu" -%>
0
+<% end -%>
...
3
4
5
 
 
 
6
7
8
9
10
11
12
13
14
...
3
4
5
6
7
8
9
10
11
 
 
 
 
 
 
0
@@ -3,13 +3,10 @@
0
   Comments for &quot;<%= h(@repository.name) -%>&quot; repository in <%= h(@repository.project.title) -%>
0
 </h1>
0
 
0
+<%= render :partial => @comments -%>
0
+<%= render :partial => "form" -%>
0
+
0
 <% content_for :submenu do -%>
0
   <%= render :partial => "repositories/context_menu" -%>
0
 <% end -%>
0
-
0
-<%= render :partial => "repositories/infobox" -%>
0
-
0
-<h3>Comments</h3>
0
-<%= render :partial => @comments -%>
0
-<%= render :partial => "form" -%>
...
34
35
36
 
 
 
 
...
34
35
36
37
38
39
40
0
@@ -34,4 +34,8 @@
0
     <%= f.submit "Add as committer" -%> or <%= link_to "cancel", [@repository.project, @repository] -%>
0
   </p>
0
 <% end -%>
0
+
0
+<% content_for :submenu do -%>
0
+ <%= render :partial => "repositories/context_menu" -%>
0
+<% end -%>
...
34
35
36
37
 
38
39
40
...
34
35
36
 
37
38
 
39
0
@@ -34,8 +34,7 @@
0
   <% end -%>
0
   </ul>
0
   <% end -%>
0
-
0
+
0
   <%= commit_graph_by_author_tag(@repository, params[:id]) %>
0
-
0
 <% end -%>
...
3
4
5
6
7
8
9
10
11
12
13
14
...
20
21
22
 
 
 
 
23
...
3
4
5
 
 
 
 
 
 
6
7
8
...
14
15
16
17
18
19
20
21
0
@@ -3,12 +3,6 @@
0
   Merge requests in <%=h @repository.name -%>
0
 </h1>
0
 
0
-<% content_for :submenu do -%>
0
- <%= render :partial => "repositories/context_menu" -%>
0
-<% end -%>
0
-
0
-<%= render :partial => "repositories/infobox" -%>
0
-
0
 <p class="hint">
0
   A "merge request" is a notification from one repository to another that
0
   would like their changes to be merged upstream.
0
@@ -20,5 +14,9 @@
0
   </p>
0
 <% else -%>
0
   <%= render :partial => @merge_requests -%>
0
+<% end -%>
0
+
0
+<% content_for :submenu do -%>
0
+ <%= render :partial => "repositories/context_menu" -%>
0
 <% end -%>
...
7
8
9
 
 
 
 
...
7
8
9
10
11
12
13
0
@@ -7,4 +7,8 @@
0
   
0
   <%= f.submit "Create merge request" -%>
0
 <% end -%>
0
+
0
+<% content_for :submenu do -%>
0
+ <%= render :partial => "repositories/context_menu" -%>
0
+<% end -%>
...
33
34
35
 
 
 
 
...
33
34
35
36
37
38
39
0
@@ -33,4 +33,8 @@
0
   <% end -%>
0
 </ul>
0
 <% end -%>
0
+
0
+<% content_for :submenu do -%>
0
+ <%= render :partial => "repositories/context_menu" -%>
0
+<% end -%>
...
19
20
21
 
 
 
 
...
19
20
21
22
23
24
25
0
@@ -19,4 +19,8 @@
0
   with lots of empty repositories), so it's a good idea to wait with creating
0
   the clone here until there's something to push.</em>
0
 </p>
0
+
0
+<% content_for :submenu do -%>
0
+ <li><%= link_to "Back to repository", [@project, @repository_to_clone] -%>
0
+<% end -%>
...
42
43
44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
46
47
...
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
0
@@ -42,6 +42,23 @@
0
         }
0
       end
0
       
0
+ def self.sidebar_pastel_theme
0
+ {
0
+ :colors => [
0
+ '#a9dada', # blue
0
+ '#aedaa9', # green
0
+ '#daaea9', # peach
0
+ '#dadaa9', # yellow
0
+ '#a9a9da', # dk purple
0
+ '#daaeda', # purple
0
+ '#dadada' # grey
0
+ ],
0
+ :marker_color => '#aea9a9', # Grey
0
+ :font_color => 'black',
0
+ :background_colors => '#EEF2F5'
0
+ }
0
+ end
0
+
0
       def write
0
         dest = File.join(self.class.graph_dir, construct_filename)
0
         @graph.write(dest)
...
20
21
22
23
 
24
25
26
...
20
21
22
 
23
24
25
26
0
@@ -20,7 +20,7 @@
0
         @repository = repository
0
         @branch = branch
0
         @graph = Gruff::Mini::Pie.new(250)
0
- @graph.theme_pastel
0
+ @graph.theme = self.class.sidebar_pastel_theme
0
         @graph.marker_font_size = 32
0
         @graph.legend_font_size = 32
0
         @graph.top_margin = 1
...
1068
1069
1070
1071
 
1072
1073
 
1074
1075
1076
...
1068
1069
1070
 
1071
1072
 
1073
1074
1075
1076
0
@@ -1068,9 +1068,9 @@
0
   margin-bottom: 20px;
0
 }
0
 
0
-.commits_by_author_graph img {
0
+.commits_by_author_graph {
0
   float: right;
0
- margin: 0 0 10px 10px;
0
+ margin: 40px 0 10px 10px;
0
 }
0
 
0
 .commit_graph {
...
 
...
1
0
@@ -1 +1,2 @@
0
+*.status

Comments

    No one has commented yet.