Website Summary Files Commits Branches @commit @diff @stats
path: root / cgit.css
Commit message (Collapse)AuthorAgeLinesSHA
* ui-tree: show hexdump of binary blobs
 Lars Hjemli
2009-01-31-0/+19ae1d4d7
| | | | | | | This teaches ui-tree to detect binary blobs and display them similar to `hexdump -C` (only wider). Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Merge branch 'jw/commit-decorations'
 Lars Hjemli
2009-01-27-0/+6dfc4c82
|\ | | | | | | | | | | | | Conflicts: cgit.css Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * cgit.css: minor adjustment of commit decorations
 Lars Hjemli
2009-01-27-0/+5236665d
| | | | | | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | Merge branch 'og/tree-view-selection'
 Lars Hjemli
2009-01-27-11/+161fdde95
|\ \ | | | | | | | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * | changed objects are outputted, allowing for selections of code only
 Onne Gorter
2009-01-10-11/+16a90e2aa
| | |
* | | Merge branch 'lh/stats'
 Lars Hjemli
2009-01-27-0/+767710178
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Conflicts: cgit.c cgit.css cgit.h ui-tree.c Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * | Add a 'stats' page to each repo
 Lars Hjemli
2008-12-06-0/+77f86a23f
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new page, which is disabled by default, can be used to print some statistics about the number of commits per period in the repository, where period can be either weeks, months, quarters or years. The function can be activated globally by setting 'enable-stats=1' in cgitrc and disabled for individual repos by setting 'repo.enable-stats=0'. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | | ui-log: show name-decorations in log output
 Lars Hjemli
2009-01-11-0/+24ef2dc55
| |/ |/| | | | | | | | | | | Commits are now decorated with a clickable 'label' for each ref pointing at it, similar to how gitweb and gitk displays commit decorations. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | ui-log: use css to make full-log prettier
 Lars Hjemli
2008-11-30-0/+15ab67164
|/ | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add link to index page from repo header, remove page name
 Lars Hjemli
2008-05-04-0/+317890d0
| | | | | | | | | | | This makes it more obvious how to get back to the index, especially when the config option `logo-link` is used. And the page name displayed in the header provided no extra information. It only consumed space and deserved to die. While at it, make sure that the different parts of the header doesn't wrap when horizontal space is limited. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add footer with page creation time and cgit version on all pages
 Lars Hjemli
2008-05-03-0/+6aa3c448
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add a pager on the repolist
 Lars Hjemli
2008-05-03-0/+10c6078b8
| | | | | | | | This enables a pager on the repolist which restricts the number of entries displayed per page, controlled by the new option `max-repo-count` (default value 50). Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Fix more css ugliness
 Lars Hjemli
2008-04-14-10/+435d19bb
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* cgit.css: set form margins
 Lars Hjemli
2008-04-14-1/+12ee1238
| | | | | | | | According to the css2 spec, htmlforms have 1.12em top and bottom margins. That doesn't play well with the placement of the search form, so lets force it to use 0em margins. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Fix css font-family
 Lars Hjemli
2008-04-14-1/+1adf6122
| | | | | | | When the sidebar was introduced in v0.7 the default font-family property got messed up, but this commit should fix the issue. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* More layout fixes
 Lars Hjemli
2008-04-13-17/+47931fc6d
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Minor fixup in tree-view css
 Lars Hjemli
2008-04-12-3/+272a69b7
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Reintroduce the branch switcher
 Lars Hjemli
2008-04-12-0/+1068cb848
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Replace sidebar/logo
 Lars Hjemli
2008-04-12-94/+53f135569
| | | | | | | | | This replaces the sidebar with a more 'common' header layout and also updates the logo. Not quite finished yet, though. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Use tables for page layout
 Lars Hjemli
2007-11-16-20/+296ef637e
| | | | | | | It feels like the Right Thing, and it fixes some rendering problems in a much used webbrowser. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Fix html error detected by test-suite
 Lars Hjemli
2007-11-11-1/+52915483
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Minor css tweaks
 Lars Hjemli
2007-11-09-10/+186d6dfa
| | | | | | | Don't specify border and background color for input controls, reduce font- size of heading in sidebar. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Do not require javascript-enabled clients
 Lars Hjemli
2007-11-03-0/+12601c76e
| | | | | | | | A simple submit-button is all that's required to make the branch selector drop-down work on any client, so lets add one. Noticed-by: Olivier Ramonat <olivier@ramonat.fr> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Fix typo in css
 Shunichi Fuji
2007-11-03-1/+1df203a2
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Change the cgit layout
 Lars Hjemli
2007-10-30-86/+630c8e184
| | | | | | | | | | | | | | | | | 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>
* Teach log search about --grep, --author and --committer
 Lars Hjemli
2007-10-28-1/+1868ca032
| | | | | | | This makes the log searching more explicit, using a dropdown box to specify the commit field to match against. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Merge branch 'stable'
 Lars Hjemli
2007-10-05-1/+1f214118
|\ | | | | | | | | * stable: correct typo in CSS
| * correct typo in CSS
 Michael Krelin
2007-10-05-1/+1fd39489
| |
* | cgit.css: make diff headers more visible
 Lars Hjemli
2007-10-01-1/+6271829f
| | | | | | | | | | | | | | This modifies the background color of diff headers to make them easier to spot. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | css: remove the annoying tr:hover rule for diffstat
 Lars Hjemli
2007-10-01-4/+07e1af8a
|/ | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add support for line number in url fragment
 Lars Hjemli
2007-07-23-0/+9f405d0b
| | | | | | | With this change, urls like http://hjemli.net/git/cgit/tree/ui-tree.c#43 can be used to jump directly to the specified line number. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* css: adjust vertical-align of commit info th cells
 Michael Krelin
2007-07-18-0/+13aae827
|
* Change S/L/T to summary/log/tree
 Lars Hjemli
2007-06-18-4/+5a215bf4
| | | | | | | | In yet another attempt at better usability, the cryptic S/L/T links are changed to show their full name. Suggested-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add more menuitems on repo pages
 Lars Hjemli
2007-06-18-2/+12b8be028
| | | | | | | | | | | | | | In an attempt to get better usability, a set of 'semistatic' menuitems are added to the page header on all pages except the repository index. The menuitems (summary, log, files, commit and diff) honours the current branch and revision. To switch the current branch one can use the branch links on the summary page. The backlink to the repository index page is now available by clicking the static page heading. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* ui-tree: html/css cleanup
 Lars Hjemli
2007-06-17-13/+4426032f
| | | | | | | | Various fixes to make html and css more "clean". The only visible change is the link to file/directory log: it is now printed as "L" (for Log) instead of "H" (for History). Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* ui-tree: unify with ui-view, use path to select tree/blob
 Lars Hjemli
2007-06-16-2/+14ffc6973
| | | | | | This teaches ui-tree to show both trees and blobs, thereby making ui-view superfluous. At the same time, ui-tree is extended to honour the specified path instead of requiering a tree/blob sha1.
* cgit.css: make it validate
 Lars Hjemli
2007-06-07-8/+7849f0f0
| | | | | | This fixes a few validation-issues in the css. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add repo.readme parameter
 Lars Hjemli
2007-05-23-8/+6bbcdc29
| | | | | | | | | | This parameter can be used to specify a repo-specific includefile, which will then be printed on the summary page for the repo. If the parametervalue is a not an absolute path, it is taken to be relative to repo.path. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add cgit_print_age() function
 Lars Hjemli
2007-05-22-0/+255db3917
| | | | | | | This function can be used to print relative dates, just as in gitweb. Next step will be to actually use the new function. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* css: make column headings bold
 Lars Hjemli
2007-05-21-1/+13b86b44
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Make frontpage friendlier
 Lars Hjemli
2007-05-21-2/+320b8b6a3
| | | | | | | This is an attempt to make the index page more usable by changing how repo groups and repo links are displayed. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Adjust apperance of repogroup headers
 Lars Hjemli
2007-05-20-1/+17b39144
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Teach cgit how to group repositories by category
 Lars Hjemli
2007-05-18-0/+55877c49
| | | | | | | | | The new parameter 'repo.group' is used to set the repository group for the following repositores. Whenever this parameter changes value, a subheading is generated in the index page (printing the current value of repo.group). Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Do not wrap filemode column in diffstat table
 Lars Hjemli
2007-05-16-0/+4d82c08a
| | | | | | | The diffstat looks rather ugly when the filemode is wrapped to one char per line, so lets force it to not wrap. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add link to commitdiff below diffstat
 Lars Hjemli
2007-05-16-1/+5dff894d
| | | | | | | This link is a lot easier to locate than the links to the right of the parent entries. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Use tables and css to create the diffstat graph, fix scaling
 Lars Hjemli
2007-05-15-2/+19e903011
| | | | | | | | There was no need to use image-files for the graphs, so lets drop them. At the same time, fix scaling of the graphs so that the full width is used only if atleast 100 LOC are changed in one of the files. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* cgit.css: try to make diffs look a little bit nicer
 Lars Hjemli
2007-05-14-7/+6a342ac6
| | | | | | This makes the diffview look more like 'git-diff' in a terminal. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* cgit.css: try do make diffstat a little bit nicer
 Lars Hjemli
2007-05-14-4/+3a1a0cd8
| | | | | | | I'm still no webdesigner, but this seems to be a more pleasant "visual experience". Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add log filtering by path and link to it from tree view
 Lars Hjemli
2007-05-14-0/+59fb53af
| | | | | | | This enables path-filtering in log-view, and adds a link per entry in tree-view to show the log for each file/directory. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add commitdiff between commit and each of it's parent
 Lars Hjemli
2007-05-13-0/+56a8749d
| | | | | | | | | | A link is added next to each parent of a commit, leading to the new diff-functionality in ui-diff.c. Also added support for a path-parameter to filelevel diffs accessed via the diffstat. Signed-off-by: Lars Hjemli <hjemli@gmail.com>