author | Lars Hjemli <hjemli@gmail.com> | 2008-05-03 08:54:39 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-05-03 08:54:39 (UTC) |
commit | c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e (patch) (unidiff) | |
tree | 0ca48d3ac455a7aecd30590ed71703ba5b34c4f1 /cgit.css | |
parent | 141f1c3eb657470e81bbf998f44f9723f9009def (diff) | |
download | cgit-c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e.zip cgit-c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e.tar.gz cgit-c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e.tar.bz2 |
Add a pager on the repolist
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>
-rw-r--r-- | cgit.css | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -412,8 +412,18 @@ td.toplevel-repo { | |||
412 | table.list td.sublevel-repo { | 412 | table.list td.sublevel-repo { |
413 | padding-left: 1.5em; | 413 | padding-left: 1.5em; |
414 | } | 414 | } |
415 | 415 | ||
416 | div.pager { | ||
417 | text-align: center; | ||
418 | margin: 1em 0em 0em 0em; | ||
419 | } | ||
420 | |||
421 | div.pager a { | ||
422 | color: #777; | ||
423 | margin: 0em 0.5em; | ||
424 | } | ||
425 | |||
416 | span.age-mins { | 426 | span.age-mins { |
417 | font-weight: bold; | 427 | font-weight: bold; |
418 | color: #080; | 428 | color: #080; |
419 | } | 429 | } |