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>
This commit is contained in:
Lars Hjemli
2008-05-03 10:54:39 +02:00
parent 141f1c3eb6
commit c6078b8b00
4 changed files with 32 additions and 1 deletions

1
cgit.h
View File

@ -145,6 +145,7 @@ struct cgit_config {
int enable_index_links;
int enable_log_filecount;
int enable_log_linecount;
int max_repo_count;
int max_commit_count;
int max_lock_attempts;
int max_msg_len;