diff options
author | Lars Hjemli <hjemli@gmail.com> | 2010-06-22 16:15:48 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-06-22 16:15:48 +0200 |
commit | 37a24e4e39737edaa5cdde501346a65eeb280e63 (patch) | |
tree | ff23eb0d57edf108edd1aa3e64a8d6cf70062954 /cgit.c | |
parent | 47187b33be1c3de43fbed6f350ab05bc978aacd0 (diff) | |
parent | a2cbd3c30b64a26b52b2003ba6569f3c083f4092 (diff) | |
download | cgit-37a24e4e39737edaa5cdde501346a65eeb280e63.tar.gz cgit-37a24e4e39737edaa5cdde501346a65eeb280e63.tar.bz2 cgit-37a24e4e39737edaa5cdde501346a65eeb280e63.zip |
Merge branch 'jh/path-limit'
Conflicts:
cgit.h
ui-commit.c
Diffstat (limited to '')
-rw-r--r-- | cgit.c | 6 | ||||
-rw-r--r-- | cgit.css | 10 |
2 files changed, 14 insertions, 2 deletions
@@ -433,6 +433,12 @@ static void process_request(void *cbdata) return; } + /* If cmd->want_vpath is set, assume ctx->qry.path contains a "virtual" + * in-project path limit to be made available at ctx->qry.vpath. + * Otherwise, no path limit is in effect (ctx->qry.vpath = NULL). + */ + ctx->qry.vpath = cmd->want_vpath ? ctx->qry.path : NULL; + if (cmd->want_repo && !ctx->repo) { cgit_print_http_headers(ctx); cgit_print_docstart(ctx); @@ -64,7 +64,7 @@ table#header td.sub { } table.tabs { - /* border-bottom: solid 2px #ccc; */ + border-bottom: solid 3px #ccc; border-collapse: collapse; margin-top: 2em; margin-bottom: 0px; @@ -102,10 +102,16 @@ table.tabs td.form select { font-size: 90%; } +div.path { + margin: 0px; + padding: 5px 2em 2px 2em; + color: #000; + background-color: #eee; +} + div.content { margin: 0px; padding: 2em; - border-top: solid 3px #ccc; border-bottom: solid 3px #ccc; } |