about summary refs log tree commit diff
path: root/cgit.css
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-05-03 10:54:39 +0200
committerLars Hjemli <hjemli@gmail.com>2008-05-03 10:54:39 +0200
commitc6078b8b006bcb0671a3c1bc21dd1a2c01035a2e (patch)
tree0ca48d3ac455a7aecd30590ed71703ba5b34c4f1 /cgit.css
parentAdd cgit_index_link() function with support for offset (diff)
downloadcgit-pink-c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e.tar.gz
cgit-pink-c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e.zip
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>
Diffstat (limited to '')
-rw-r--r--cgit.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index 30cb8e6..d57722c 100644
--- a/cgit.css
+++ b/cgit.css
@@ -413,6 +413,16 @@ table.list td.sublevel-repo {
 	padding-left: 1.5em;
 }
 
+div.pager {
+	text-align: center;
+	margin: 1em 0em 0em 0em;
+}
+
+div.pager a {
+	color: #777;
+	margin: 0em 0.5em;
+}
+
 span.age-mins {
 	font-weight: bold;
 	color: #080;