author | Lars Hjemli <hjemli@gmail.com> | 2007-10-30 09:47:38 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-10-30 12:38:34 (UTC) |
commit | 0c8e184e9cbf4d3a1e907de9125f6d8210c169d6 (patch) (unidiff) | |
tree | 2e82baf582b7ba0b34f498e1e7494800070067f9 /cgitrc | |
parent | 10ac7ad1f30f914dc5ff36ba3651ef6dca11aaf7 (diff) | |
download | cgit-0c8e184e9cbf4d3a1e907de9125f6d8210c169d6.zip cgit-0c8e184e9cbf4d3a1e907de9125f6d8210c169d6.tar.gz cgit-0c8e184e9cbf4d3a1e907de9125f6d8210c169d6.tar.bz2 |
Change the cgit layout
This modifies and hopefully improves the layout of all cgit pages:
* Remove the header from all pages and replace it with a sidebar;
most pages have sufficient width but many needs more height.
* Add a dropdown-box to switch between branches, using a one-liner
javascript to reload the current page in context of the selected branch.
* Include refs found below refs/archives in the sidebar, appearing as a
set of menuitems below a 'download' heading.
* Include the brand new cgit logo
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgitrc | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -80,18 +80,23 @@ | |||
80 | ## This setting is disabled by default. | 80 | ## This setting is disabled by default. |
81 | #virtual-root=/git | 81 | #virtual-root=/git |
82 | 82 | ||
83 | 83 | ||
84 | ## Set the title printed on the root page | 84 | ## Set the title printed on the root page |
85 | #root-title=Git repository browser | 85 | #root-title=Git repository browser |
86 | 86 | ||
87 | 87 | ||
88 | ## If specified, the file at this path will be included as HTML in the index | 88 | ## If specified, the file at this path will be included as HTML in the |
89 | ## of repositories | 89 | ## sidebar on the repository index page |
90 | #index-info= | ||
91 | |||
92 | |||
93 | ## If specified, the file at this path will be included as HTML above | ||
94 | ## the repository index | ||
90 | #index-header= | 95 | #index-header= |
91 | 96 | ||
92 | 97 | ||
93 | ## Link to css file | 98 | ## Link to css file |
94 | #css=/cgit/cgit.css | 99 | #css=/cgit/cgit.css |
95 | 100 | ||
96 | 101 | ||
97 | ## Link to logo file | 102 | ## Link to logo file |