diff --git a/templates/paper/header.tmpl b/templates/paper/header.tmpl new file mode 100644 --- /dev/null +++ b/templates/paper/header.tmpl @@ -0,0 +1,7 @@ + + + + + + + diff --git a/templates/paper/map b/templates/paper/map new file mode 100644 --- /dev/null +++ b/templates/paper/map @@ -0,0 +1,69 @@ +default = 'shortlog' + +mimetype = 'text/html; charset={encoding}' +header = header.tmpl +footer = ../coal/footer.tmpl +search = ../coal/search.tmpl + +changelog = ../coal/shortlog.tmpl +shortlog = ../coal/shortlog.tmpl +shortlogentry = ../coal/shortlogentry.tmpl + +naventry = '{label|escape} ' +navshortentry = '{label|escape} ' +filenaventry = '{label|escape} ' +filedifflink = '{file|escape} ' +filenodelink = '{file|escape} ' +fileellipses = '...' +changelogentry = ../coal/shortlogentry.tmpl +searchentry = ../coal/shortlogentry.tmpl +changeset = ../coal/changeset.tmpl +manifest = ../coal/manifest.tmpl + +direntry = ' {basename|escape}/drwxr-xr-x' +fileentry = ' {basename|escape}{size}{permissions|permissions}' + +filerevision = ../coal/filerevision.tmpl +fileannotate = ../coal/fileannotate.tmpl +filediff = ../coal/filediff.tmpl +filelog = ../coal/filelog.tmpl +fileline = '{linenumber}{line|escape}' +filelogentry = ../coal/filelogentry.tmpl + +annotateline = '{author|user}@{rev}{linenumber}{line|escape}' + +diffblock = '{lines}
' +difflineplus = '{linenumber}{line|escape}' +difflineminus = '{linenumber}{line|escape}' +difflineat = '{linenumber}{line|escape}' +diffline = '{linenumber}{line|escape}' + +changelogparent = 'parent {rev}:{node|short}' + +changesetparent = '{node|short} ' + +filerevparent = '{rename%filerename}{node|short} ' +filerevchild = '{node|short} ' + +filerename = '{file|escape}@' +filelogrename = 'base:{file|escape}@{node|short}' +fileannotateparent = 'parent:{rename%filerename}{node|short}' +changesetchild = '{node|short}' +changelogchild = 'child{node|short}' +fileannotatechild = 'child:{node|short}' +tags = tags.tmpl +tagentry = '{tag|escape}{node|short}' +changelogtag = 'tag:{tag|escape}' +changelogtag = '{name|escape} ' +changesettag = '{tag|escape} ' +filediffparent = 'parent {rev}:{node|short}' +filelogparent = 'parent {rev}:{node|short}' +filediffchild = 'child {rev}:{node|short}' +filelogchild = 'child {rev}:{node|short}' +indexentry = '{name|escape}{description}{contact|obfuscate}{lastchange|age} agoRSS Atom {archives%archiveentry}' +index = ../coal/index.tmpl +archiveentry = '
  • {type|escape}
  • ' +notfound = ../coal/notfound.tmpl +error = ../coal/error.tmpl +urlparameter = '{separator}{name}={value|urlescape}' +hiddenformentry = '' diff --git a/templates/static/style-coal.css b/templates/static/style-paper.css copy from templates/static/style-coal.css copy to templates/static/style-paper.css --- a/templates/static/style-coal.css +++ b/templates/static/style-paper.css @@ -1,20 +1,18 @@ body { margin: 0; padding: 0; - background: black url(background.png) repeat-x; + background: white; font-family: sans-serif; } .container { - padding-right: 150px; + padding-left: 115px; } .main { position: relative; background: white; - padding: 2em; - border-right: 15px solid black; - border-bottom: 15px solid black; + padding: 2em 2em 2em 0; } .overflow { @@ -23,22 +21,21 @@ body { } .menu { - background: #999; - padding: 10px; - width: 75px; + width: 90px; margin: 0; font-size: 80%; text-align: left; position: fixed; - top: 27px; - left: auto; - right: 27px; + top: 20px; + left: 20px; + right: auto; } .menu ul { list-style: none; padding: 0; margin: 10px 0 0 0; + border-left: 2px solid #999; } .menu li { @@ -50,8 +47,7 @@ body { } .menu li.active { - background: black; - color: white; + font-weight: bold; } .menu a { color: black; display: block; } @@ -150,7 +146,7 @@ h3 { } div.description { - border-left: 3px solid #999; + border-left: 2px solid #999; margin: 1em 0 1em 0; padding: .3em; }