summaryrefslogtreecommitdiffstatshomepage
path: root/cgit.css (unfollow)
Commit message (Collapse)AuthorLines
2008-05-03Add a pager on the repolistLars Hjemli-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>
2008-04-14Fix more css uglinessLars Hjemli-10/+4
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2008-04-14cgit.css: set form marginsLars Hjemli-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>
2008-04-14Fix css font-familyLars Hjemli-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>
2008-04-13More layout fixesLars Hjemli-17/+47
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2008-04-12Minor fixup in tree-view cssLars Hjemli-3/+2
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2008-04-12Reintroduce the branch switcherLars Hjemli-0/+10
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2008-04-12Replace sidebar/logoLars Hjemli-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>
2007-11-16Use tables for page layoutLars Hjemli-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>
2007-11-11Fix html error detected by test-suiteLars Hjemli-1/+5
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-11-09Minor css tweaksLars Hjemli-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>
2007-11-03Do not require javascript-enabled clientsLars Hjemli-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>
2007-11-03Fix typo in cssShunichi Fuji-1/+1
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-10-30Change the cgit layoutLars Hjemli-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>
2007-10-28Teach log search about --grep, --author and --committerLars Hjemli-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>
2007-10-05correct typo in CSSMichael Krelin-1/+1
2007-10-01cgit.css: make diff headers more visibleLars Hjemli-1/+6
This modifies the background color of diff headers to make them easier to spot. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-10-01css: remove the annoying tr:hover rule for diffstatLars Hjemli-4/+0
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-07-23Add support for line number in url fragmentLars Hjemli-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>
2007-07-18css: adjust vertical-align of commit info th cellsMichael Krelin-0/+1
2007-06-18Change S/L/T to summary/log/treeLars Hjemli-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>
2007-06-18Add more menuitems on repo pagesLars Hjemli-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>
2007-06-17ui-tree: html/css cleanupLars Hjemli-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>
2007-06-16ui-tree: unify with ui-view, use path to select tree/blobLars Hjemli-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.
2007-06-07cgit.css: make it validateLars Hjemli-8/+7
This fixes a few validation-issues in the css. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-23Add repo.readme parameterLars Hjemli-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>
2007-05-22Add cgit_print_age() functionLars Hjemli-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>
2007-05-21css: make column headings boldLars Hjemli-1/+1
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-21Make frontpage friendlierLars Hjemli-2/+32
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>
2007-05-20Adjust apperance of repogroup headersLars Hjemli-1/+1
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-18Teach cgit how to group repositories by categoryLars Hjemli-0/+5
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>
2007-05-16Do not wrap filemode column in diffstat tableLars Hjemli-0/+4
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>
2007-05-16Add link to commitdiff below diffstatLars Hjemli-1/+5
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>
2007-05-15Use tables and css to create the diffstat graph, fix scalingLars Hjemli-2/+19
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>
2007-05-14cgit.css: try to make diffs look a little bit nicerLars Hjemli-7/+6
This makes the diffview look more like 'git-diff' in a terminal. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-14cgit.css: try do make diffstat a little bit nicerLars Hjemli-4/+3
I'm still no webdesigner, but this seems to be a more pleasant "visual experience". Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-14Add log filtering by path and link to it from tree viewLars Hjemli-0/+5
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>
2007-05-13Add commitdiff between commit and each of it's parentLars Hjemli-0/+5
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>
2007-05-13Add graphical diffstat to commit viewLars Hjemli-2/+28
The diffstat is calculated against the leftmost parent of the commit. This gives nice information for "normal" merges while octopus merges are less than optimal, so the diffstat isn't calculated for those merges. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-12css: fix bad rendering in Internet ExplorerLars Hjemli-2/+7
The layout-tables used border-collapse:separate, which maked all pages look really bad in IE. Fix it. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-11Add links to enable downloading of tagged blobsLars Hjemli-0/+20
All tags below refs/archives are shown on the repo summary page as download links. The links referes to the tagged objects, using the tag name as filename for download. This can be used to add shortcuts for release tarballs, documentation and other blobs stored in the object database, especially blobs that are not reachable during cloning. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-05-11Add submodule links in tree listingLars Hjemli-1/+1
When a submodule occurs in a tree, generate a link to show the module/commit. The link is specified as a sprintf string in /etc/cgitrc, using parameters 'module-link' and 'repo.module-link'. This should probably be extended with repo.module-link.$path. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-02-21Layout updateLars Hjemli-13/+85
2007-01-28Set explicit font sizeLars Hjemli-1/+1
This might be bad style, but cgit really needed smaller fonts. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2007-01-28Change global document layoutLars Hjemli-10/+13
Use a document-wide table for the main layout Signed-off-by: Lars Hjemli <larsh@slaptop.hjemli.net>
2007-01-28Cleanup table listingsLars Hjemli-7/+3
Make the output for <table class='list'> a bit nicer Signed-off-by: Lars Hjemli <larsh@slaptop.hjemli.net>
2007-01-17Extend repo summary with tag listLars Hjemli-2/+6
Show all tags in the repo below the branch list. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-28Add generic support for search box in page headerLars Hjemli-0/+5
This adds the ability to show a search box in any pageheader with correct href and hidden form data, but does not enable the box on any pages. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-22Minor style fixesLars Hjemli-7/+7
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-22Only show first 80 characters of commit subject in log and summaryLars Hjemli-1/+1
Signed-off-by: Lars Hjemli <hjemli@gmail.com>