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>
This commit is contained in:
Lars Hjemli
2007-10-30 10:47:38 +01:00
parent 10ac7ad1f3
commit 0c8e184e9c
7 changed files with 241 additions and 207 deletions

9
cgitrc
View File

@ -85,8 +85,13 @@
#root-title=Git repository browser
## If specified, the file at this path will be included as HTML in the index
## of repositories
## If specified, the file at this path will be included as HTML in the
## sidebar on the repository index page
#index-info=
## If specified, the file at this path will be included as HTML above
## the repository index
#index-header=