# HG changeset patch # User Paul Boddie # Date 1279049276 -7200 # Node ID 47c22ce46af0da0bf5f5df0db1816fefa98b1159 # Parent d91721b39dbe613c2587539e9e02a3ff2296ca38 Added the manifest (files) view template. Fixed links to this template from the changeset view. Fixed links to raw files from the file revision view. diff -r d91721b39dbe -r 47c22ce46af0 themes/mercurialweb/changeset.tmpl --- a/themes/mercurialweb/changeset.tmpl Tue Jul 13 19:21:52 2010 +0200 +++ b/themes/mercurialweb/changeset.tmpl Tue Jul 13 21:27:56 2010 +0200 @@ -40,7 +40,7 @@ {author|person} raw - files + files shortlog {desc|strip|escape} diff -r d91721b39dbe -r 47c22ce46af0 themes/mercurialweb/direntry.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/mercurialweb/direntry.tmpl Tue Jul 13 21:27:56 2010 +0200 @@ -0,0 +1,8 @@ + + + {basename|escape}/ + {emptydirs|escape} + + + drwxr-xr-x + diff -r d91721b39dbe -r 47c22ce46af0 themes/mercurialweb/fileentry.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/mercurialweb/fileentry.tmpl Tue Jul 13 21:27:56 2010 +0200 @@ -0,0 +1,5 @@ + + {basename|escape} + {size} + {permissions|permissions} + diff -r d91721b39dbe -r 47c22ce46af0 themes/mercurialweb/filerevision.tmpl --- a/themes/mercurialweb/filerevision.tmpl Tue Jul 13 19:21:52 2010 +0200 +++ b/themes/mercurialweb/filerevision.tmpl Tue Jul 13 21:27:56 2010 +0200 @@ -39,7 +39,7 @@ {date|age} {author|person} - raw + raw files changeset diff -r d91721b39dbe -r 47c22ce46af0 themes/mercurialweb/manifest.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/mercurialweb/manifest.tmpl Tue Jul 13 21:27:56 2010 +0200 @@ -0,0 +1,53 @@ +{header} +{repo|escape} (shortlog) + + + + + + +

{repo|escape}

+ +

{rev}:{node|short} {branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}

+ +

Files in {path|escape}

+ + + + + + + + + + + + + + + +{dentries%direntry} +{fentries%fileentry} + +
NameSizePermissions
[up]drwxr-xr-x
+ +{footer} diff -r d91721b39dbe -r 47c22ce46af0 themes/mercurialweb/map --- a/themes/mercurialweb/map Tue Jul 13 19:21:52 2010 +0200 +++ b/themes/mercurialweb/map Tue Jul 13 21:27:56 2010 +0200 @@ -8,6 +8,7 @@ header = header.tmpl footer = footer.tmpl index = index.tmpl +manifest = manifest.tmpl notfound = notfound.tmpl search = search.tmpl shortlog = shortlog.tmpl @@ -15,6 +16,8 @@ tags = tags.tmpl branchentry = branchentry.tmpl +direntry = direntry.tmpl +fileentry = fileentry.tmpl indexentry = indexentry.tmpl searchentry = searchentry.tmpl shortlogentry = shortlogentry.tmpl diff -r d91721b39dbe -r 47c22ce46af0 themes/mercurialweb/static/style-mercurialweb.css --- a/themes/mercurialweb/static/style-mercurialweb.css Tue Jul 13 19:21:52 2010 +0200 +++ b/themes/mercurialweb/static/style-mercurialweb.css Tue Jul 13 21:27:56 2010 +0200 @@ -380,3 +380,13 @@ .atline { color: #990; } + +/* File views. */ + +.permissions { + font-family: monospace; + + /* Monospace inline text frequently looks smaller than the surrounding text. */ + + font-size: 120%; +}