# HG changeset patch # User Hiroshi Funai # Date 2008-10-08 17:52:22 # Node ID 91b0ada2d94b3e21184271eea585dc421e1c31b4 # Parent 75fdc39b61723b981dad543294dfd0b20bb054e4 added monoblue hgweb theme diff --git a/templates/monoblue/changelog.tmpl b/templates/monoblue/changelog.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/changelog.tmpl @@ -0,0 +1,39 @@ +#header# + #repo|escape#: changelog + + + + + +
+ + + +
+ #entries%changelogentry# +
+ +
+#changenav%naventry# +
+ +#footer# diff --git a/templates/monoblue/changelogentry.tmpl b/templates/monoblue/changelogentry.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/changelogentry.tmpl @@ -0,0 +1,6 @@ +

#desc|strip|firstline|escape# {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}

+ diff --git a/templates/monoblue/changeset.tmpl b/templates/monoblue/changeset.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/changeset.tmpl @@ -0,0 +1,62 @@ +#header# +{repo|escape}: changeset {rev}:{node|short} + + + + + +
+ + + + + + +

#desc|strip|escape|firstline# {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}

+

#date|age# ago

+ +
+
author
+
#author|obfuscate#
+
date
+
#date|date#
+ #branch%changesetbranch# +
changeset {rev}
+
{node|short}
+ #parent%changesetparent# + #child%changesetchild# +
+ +

#desc|strip|escape|addbreaks#

+ + + #files# +
+ +
+ #diff# +
+ +#footer# diff --git a/templates/monoblue/error.tmpl b/templates/monoblue/error.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/error.tmpl @@ -0,0 +1,33 @@ +{header} + #repo|escape#: Error + + + + + +
+ + + +

{error|escape}

+ +{footer} diff --git a/templates/monoblue/fileannotate.tmpl b/templates/monoblue/fileannotate.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/fileannotate.tmpl @@ -0,0 +1,62 @@ +#header# +{repo|escape}: {file|escape}@{node|short} (annotated) + + + + + +
+ + + + + +

#file|escape#

+

#date|age# ago

+ +
+
author
+
#author|obfuscate#
+
date
+
#date|date#
+ #branch%filerevbranch# +
changeset {rev}
+
#node|short#
+ #parent%fileannotateparent# + #child%fileannotatechild# +
permissions
+
#permissions|permissions#
+
+ +

{desc|strip|escape|addbreaks}

+ + + {annotate%annotateline} +
+ +#footer# diff --git a/templates/monoblue/filediff.tmpl b/templates/monoblue/filediff.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/filediff.tmpl @@ -0,0 +1,53 @@ +{header} +{repo|escape}: diff {file|escape} + + + + + +
+ + + + + +

{file|escape}

+ +
+ {branch%filerevbranch} +
changeset {rev}
+
{node|short}
+ {parent%filediffparent} + {child%filediffchild} +
+ +
+ {diff} +
+ +{footer} diff --git a/templates/monoblue/filelog.tmpl b/templates/monoblue/filelog.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/filelog.tmpl @@ -0,0 +1,48 @@ +#header# +#repo|escape#: File revisions + + + + + +
+ + + + + + + + #entries%filelogentry# +
+ +
+ {nav%filenaventry} +
+ +#footer# diff --git a/templates/monoblue/filerevision.tmpl b/templates/monoblue/filerevision.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/filerevision.tmpl @@ -0,0 +1,62 @@ +#header# +{repo|escape}: {file|escape}@{node|short} + + + + + +
+ + + + + +

#file|escape#

+

#date|age# ago

+ +
+
author
+
#author|obfuscate#
+
date
+
#date|date#
+ #branch%filerevbranch# +
changeset {rev}
+
#node|short#
+ #parent%filerevparent# + #child%filerevchild# +
permissions
+
#permissions|permissions#
+
+ +

{desc|strip|escape|addbreaks}

+ +
+ #text%fileline# +
+ +#footer# diff --git a/templates/monoblue/footer.tmpl b/templates/monoblue/footer.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/footer.tmpl @@ -0,0 +1,22 @@ + + +
+

mercurial

+
+ +
+
+
+
+ +
+ + + diff --git a/templates/monoblue/graph.tmpl b/templates/monoblue/graph.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/graph.tmpl @@ -0,0 +1,95 @@ +#header# + #repo|escape#: graph + + + + + + +
+ + + + +
The revision graph only works with JavaScript-enabled browsers.
+
+
    + +
      +
      + + + + +
      +#changenav%navgraphentry# +
      + +#footer# diff --git a/templates/monoblue/header.tmpl b/templates/monoblue/header.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/header.tmpl @@ -0,0 +1,6 @@ + + + + + + diff --git a/templates/monoblue/index.tmpl b/templates/monoblue/index.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/index.tmpl @@ -0,0 +1,26 @@ +#header# + #repo|escape#: Mercurial repositories index + + + + + + + + + + + + + + + #entries%indexentry# +
      NameDescriptionContactLast change  
      + + + diff --git a/templates/monoblue/manifest.tmpl b/templates/monoblue/manifest.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/manifest.tmpl @@ -0,0 +1,50 @@ +#header# +#repo|escape#: files + + + + + +
      + + + + + +

      #path|escape# {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}

      + + + + + + + + + + #dentries%direntry# + #fentries%fileentry# +
      drwxr-xr-x[up]
      + +#footer# diff --git a/templates/monoblue/map b/templates/monoblue/map new file mode 100644 --- /dev/null +++ b/templates/monoblue/map @@ -0,0 +1,65 @@ +default = 'summary' +mimetype = 'text/html; charset={encoding}' +header = header.tmpl +footer = footer.tmpl +search = search.tmpl +changelog = changelog.tmpl +summary = summary.tmpl +error = error.tmpl +notfound = notfound.tmpl +naventry = '{label|escape} ' +navshortentry = '{label|escape} ' +navgraphentry = '{label|escape} ' +filenaventry = '{label|escape}' +filedifflink = '#file|escape# ' +filenodelink = '#file|escape#file | annotate | diff | revisions' +fileellipses = '...' +changelogentry = changelogentry.tmpl +searchentry = changelogentry.tmpl +changeset = changeset.tmpl +manifest = manifest.tmpl +direntry = 'drwxr-xr-x#basename|escape#files' +fileentry = '#permissions|permissions##date|isodate##size##basename|escape#file | revisions | annotate' +filerevision = filerevision.tmpl +fileannotate = fileannotate.tmpl +filediff = filediff.tmpl +filelog = filelog.tmpl +fileline = '
      #linenumber# #line|escape#
      ' +annotateline = '{author|user}@{rev}{linenumber}{line|escape}' +difflineplus = '#linenumber# #line|escape#' +difflineminus = '#linenumber# #line|escape#' +difflineat = '#linenumber# #line|escape#' +diffline = '#linenumber# #line|escape#' +changelogparent = 'parent #rev#:#node|short#' +changesetbranch = '
      branch
      {name}
      ' +changesetparent = '
      parent {rev}
      {node|short}
      ' +filerevbranch = '
      branch
      {name}
      ' +filerevparent = '
      parent {rev}
      {rename%filerename}{node|short}
      ' +filerename = '{file|escape}@' +filelogrename = '| base' +fileannotateparent = '
      parent {rev}
      {rename%filerename}{node|short}
      ' +changelogchild = '
      child #rev#:
      #node|short#
      ' +changesetchild = '
      child {rev}
      {node|short}
      ' +filerevchild = '
      child {rev}
      {node|short}
      ' +fileannotatechild = '
      child {rev}
      {node|short}
      ' +tags = tags.tmpl +tagentry = '#date|age# ago#tag|escape#changeset | changelog | files' +branchentry = '{date|age} ago{node|short}{branch|escape}changeset | changelog | files' +diffblock = '
      #lines#
      ' +filediffparent = '
      parent {rev}
      {node|short}
      ' +filelogparent = 'parent #rev#: #node|short#' +filediffchild = 'child {rev}{node|short}' +filelogchild = 'child #rev#: #node|short#' +shortlog = shortlog.tmpl +tagtag = '{name} ' +branchtag = '{name} ' +inbranchtag = '{name} ' +shortlogentry = '#date|age# ago#author|person##desc|strip|firstline|escape# {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}changeset | files' +filelogentry = '#date|age# ago#desc|strip|firstline|escape#file | diff | annotate #rename%filelogrename#' +archiveentry = '
    • #type|escape#
    • ' +indexentry = '{name|escape}{description}{contact|obfuscate}{lastchange|age} ago{archives%indexarchiveentry}\n' +indexarchiveentry = '{type|escape} ' +index = index.tmpl +urlparameter = '#separator##name#=#value|urlescape#' +hiddenformentry = '' +graph = graph.tmpl diff --git a/templates/monoblue/notfound.tmpl b/templates/monoblue/notfound.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/notfound.tmpl @@ -0,0 +1,34 @@ +{header} + #repo|escape#: Mercurial repository not found + + + + + +
      + + + +

      The specified repository "{repo|escape}" is unknown, sorry.

      +

      Please go back to the main repository list page.

      + +{footer} diff --git a/templates/monoblue/search.tmpl b/templates/monoblue/search.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/search.tmpl @@ -0,0 +1,33 @@ +#header# + #repo|escape#: Search + + + + + +
      + + + + #entries# + +#footer# diff --git a/templates/monoblue/shortlog.tmpl b/templates/monoblue/shortlog.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/shortlog.tmpl @@ -0,0 +1,40 @@ +#header# + #repo|escape#: shortlog + + + + + +
      + + + + + +#entries%shortlogentry# +
      + +
      +#changenav%navshortentry# +
      + +#footer# diff --git a/templates/monoblue/summary.tmpl b/templates/monoblue/summary.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/summary.tmpl @@ -0,0 +1,65 @@ +#header# + #repo|escape#: Summary + + + + + +
      + + + +
      +
      name
      +
      #repo|escape#
      +
      description
      +
      #desc#
      +
      owner
      +
      #owner|obfuscate#
      +
      last change
      +
      #lastchange|rfc822date#
      +
      + +

      Changes

      + +#shortlog# + + + +
      ...
      + +

      Tags

      + +#tags# + + + +
      ...
      + + + + {branches%branchentry} + + + +
      ...
      +#footer# diff --git a/templates/monoblue/tags.tmpl b/templates/monoblue/tags.tmpl new file mode 100644 --- /dev/null +++ b/templates/monoblue/tags.tmpl @@ -0,0 +1,35 @@ +#header# + #repo|escape#: Tags + + + + + +
      + + + + +#entries%tagentry# +
      + +#footer# _______________________________________________