aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.css
Commit message (Collapse)AuthorAgeLines
* ui-shared: Display path limit directly beneath tab bar in relevant pagesGravatar Johan Herland2010-06-19-0/+8
| | | | | | | | | | | Design-wise, the path is shown by "expanding" the grey border between the tab bar and the content area of the page to house the current path limit. This is only displayed on pages where the path limit is relevant, and only when a path limit is in effect. Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Merge branch 'ro/ssdiff'Gravatar Lars Hjemli2009-12-09-0/+99
|\
| * In side-by-side diff, add support for marking individual characters.Gravatar Ragnar Ouchterlony2009-11-07-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Refuses to do so if the left hand side of the diff has different amount of differing lines to the right hand side to avoid confusion. Note that I use the naive dynamic programming approach for calculating the longest common subsequence. We could probably be more efficient by using a better algorithm. The LCS calculating function is O(n*m) and uses up n*m amount of memory too (so if we we compare two strings of length 100, I use an array of 10000 for calculating the LCS). Might want to not calculate LCS if the length of the line is too large. Signed-off-by: Ragnar Ouchterlony <ragnar@lysator.liu.se>
| * Polishing of how the side-by-side diff looks.Gravatar Ragnar Ouchterlony2009-09-17-6/+60
| | | | | | | | | | | | | | | | | | | | | | Aligned all different files, so that all side-by-side tables look the same. Also made sure that the tables take up the whole browser width. Also various changes to the css to make things easier on the eye. Signed-off-by: Ragnar Ouchterlony <ragnar@lysator.liu.se> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * First version of side-by-side diff.Gravatar Ragnar Ouchterlony2009-09-17-0/+35
| | | | | | | | | | | | | | | | | | This constitutes the first prototype of a side-by-side diff. It is not possible to switch between unidiff and side-by-side diff at all at this stage. Signed-off-by: Ragnar Ouchterlony <ragnar@lysator.liu.se> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | cgit.css: highlight directories in treeGravatar Georg Lukas2009-11-28-0/+5
|/
* Merge branch 'lh/repo-scan'Gravatar Lars Hjemli2009-09-14-1/+1
|\
| * Introduce 'section' as canonical spelling for 'repo.group'Gravatar Lars Hjemli2009-08-24-1/+1
| | | | | | | | | | | | | | | | The 'repo.' prefix should be reserved for repo-specific options, but the option 'repo.group' must still be honored to stay backwards compatible. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | cgit.css: make the blob display in tree view a bit prettierGravatar Lars Hjemli2009-08-21-3/+3
|/ | | | | | | Adding some padding to the linenumbers while right-aligning them and removing the background color makes the page more readable. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* cgit.css: align commit message with subject in expanded log listingGravatar Lars Hjemli2009-08-11-1/+1
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* ui-tree: show hexdump of binary blobsGravatar Lars Hjemli2009-02-01-0/+19
| | | | | | | 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'Gravatar Lars Hjemli2009-01-28-0/+6
|\ | | | | | | | | | | | | Conflicts: cgit.css Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * cgit.css: minor adjustment of commit decorationsGravatar Lars Hjemli2009-01-28-0/+5
| | | | | | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* | Merge branch 'og/tree-view-selection'Gravatar Lars Hjemli2009-01-28-11/+16
|\ \ | | | | | | | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * | changed objects are outputted, allowing for selections of code onlyGravatar Onne Gorter2009-01-10-11/+16
| | |
* | | Merge branch 'lh/stats'Gravatar Lars Hjemli2009-01-28-0/+76
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Conflicts: cgit.c cgit.css cgit.h ui-tree.c Signed-off-by: Lars Hjemli <hjemli@gmail.com>
| * | Add a 'stats' page to each repoGravatar Lars Hjemli2008-12-07-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 outputGravatar Lars Hjemli2009-01-11-0/+24
| |/ |/| | | | | | | | | | | 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 prettierGravatar Lars Hjemli2008-11-30-0/+15
|/ | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add link to index page from repo header, remove page nameGravatar Lars Hjemli2008-05-05-0/+3
| | | | | | | | | | | 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 pagesGravatar Lars Hjemli2008-05-03-0/+6
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add a pager on the repolistGravatar Lars Hjemli2008-05-03-0/+10
| | | | | | | | 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 uglinessGravatar Lars Hjemli2008-04-15-10/+4
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* cgit.css: set form marginsGravatar Lars Hjemli2008-04-14-1/+1
| | | | | | | | 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-familyGravatar Lars Hjemli2008-04-14-1/+1
| | | | | | | 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 fixesGravatar Lars Hjemli2008-04-13-17/+47
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Minor fixup in tree-view cssGravatar Lars Hjemli2008-04-13-3/+2
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Reintroduce the branch switcherGravatar Lars Hjemli2008-04-13-0/+10
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Replace sidebar/logoGravatar Lars Hjemli2008-04-13-94/+53
| | | | | | | | | 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 layoutGravatar Lars Hjemli2007-11-16-20/+29
| | | | | | | 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-suiteGravatar Lars Hjemli2007-11-11-1/+5
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Minor css tweaksGravatar Lars Hjemli2007-11-09-10/+1
| | | | | | | 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 clientsGravatar Lars Hjemli2007-11-03-0/+12
| | | | | | | | 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 cssGravatar Shunichi Fuji2007-11-03-1/+1
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Change the cgit layoutGravatar Lars Hjemli2007-10-30-86/+63
| | | | | | | | | | | | | | | | | 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 --committerGravatar Lars Hjemli2007-10-28-1/+18
| | | | | | | 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'Gravatar Lars Hjemli2007-10-05-1/+1
|\ | | | | | | | | * stable: correct typo in CSS
| * correct typo in CSSGravatar Michael Krelin2007-10-05-1/+1
| |
* | cgit.css: make diff headers more visibleGravatar Lars Hjemli2007-10-01-1/+6
| | | | | | | | | | | | | | 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 diffstatGravatar Lars Hjemli2007-10-01-4/+0
|/ | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add support for line number in url fragmentGravatar Lars Hjemli2007-07-23-0/+9
| | | | | | | 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 cellsGravatar Michael Krelin2007-07-18-0/+1
|
* Change S/L/T to summary/log/treeGravatar Lars Hjemli2007-06-19-4/+5
| | | | | | | | 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 pagesGravatar Lars Hjemli2007-06-18-2/+12
| | | | | | | | | | | | | | 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 cleanupGravatar Lars Hjemli2007-06-17-13/+4
| | | | | | | | 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/blobGravatar Lars Hjemli2007-06-17-2/+14
| | | | | | 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 validateGravatar Lars Hjemli2007-06-07-8/+7
| | | | | | This fixes a few validation-issues in the css. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add repo.readme parameterGravatar Lars Hjemli2007-05-24-8/+6
| | | | | | | | | | 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() functionGravatar Lars Hjemli2007-05-23-0/+25
| | | | | | | 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 boldGravatar Lars Hjemli2007-05-21-1/+1
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>