# # # add_file "help.psp" # content [98ca84f3b9ac0904360589b128e5c9b089f7843c] # # add_file "tags.psp" # content [2857513cd8656858bc8ec6e6da69f2fc13c354be] # # patch "branch.psp" # from [6aa1b9028b1c1488f21d17d84172af75d1f059bb] # to [cf04abf41b3a962e863373fcf65c3e446a15ec97] # # patch "fileinbranch.psp" # from [edc84448ac7e5f385c9bdd38dcf8845f0ed35b52] # to [4da3d1d5c4ad59223943bb947f6074ab030b64ca] # # patch "index.psp" # from [b570eec26b71ac30e1e7f124a272e809a7b37552] # to [540c27f70a7e6c5eb2e9a25e920a7809cabc4382] # # patch "revision.psp" # from [ecdb95e766ca72de6fe731ab43463678161a3962] # to [8c0ae3dc65f0bcdb61e56741675eef4cbc90516f] # # patch "template.py" # from [6fab3a1035e55b14f3bbb5babe1ec318afad673e] # to [6b5d4131e5f1edce2fb99449540276fdb627ec13] # # patch "viewmtn.css" # from [2bcdf9c1bcf24cf7f527ce3d7b4435650af0cd16] # to [32aff7b269d11ee1eb87187cc948e4435a8ce347] # # patch "wrapper.py" # from [7ab61cfe51cc96ba24361b11936639131efe42de] # to [c7b6f5953e37ea349dbb88936e9d385308083d7f] # ============================================================ --- help.psp 98ca84f3b9ac0904360589b128e5c9b089f7843c +++ help.psp 98ca84f3b9ac0904360589b128e5c9b089f7843c @@ -0,0 +1,37 @@ +<% + +import config +import common +import urllib +import template +from template import header,footer + +reload(template) + +psp.set_error_page("error.psp") +info = { 'title' : "Help" } +req.write(header(info)) + +hq = common.html_escape() +%> + +
+ViewMTN is a web interface to the Monotone revision control +system. These web pages provide an interface to the data controlled +within a particular Monotone database.
+ ++To make full use of this web interface, it is recommended that you read +the Monotone +manual.
+ ++Feature suggestions, bug reports, patches, ... are welcome. Please go +to the ViewMTN +home page and follow the contact instructions there.
+ +<% +req.write(template.footer(info)) +%> + ============================================================ --- tags.psp 2857513cd8656858bc8ec6e6da69f2fc13c354be +++ tags.psp 2857513cd8656858bc8ec6e6da69f2fc13c354be @@ -0,0 +1,55 @@ +<% + +import config +import monotone +import common +import urllib +import template +from template import header,footer +from monotone import Monotone + +reload(template) + +psp.set_error_page("error.psp") +info = { 'title' : "Tags" } +req.write(header(info)) + +hq = common.html_escape() +mt = Monotone(config.monotone, config.dbfile) + +tags = mt.tags() + +%> + +<% +if len(tags) == 0: +%> ++There are no tags in the provided monotone database. +
+<% +else: +%> ++To view a particular tag, select it from the list of tags contained +in this Monotone database. +
+ +Tag | Signed by |
---|---|
%s | %s |
-There are no tags in the provided monotone database. -
-<% -else: -%> --To view a particular tag, select it from the list of tags contained -in this Monotone database. -
- -Tag | Signed by |
---|---|
%s | %s |
+All <%=len(manifest)%> files in this manifest can be downloaded in a tar archive. +
+Filename |
---|
-This manifest is also available for download in a single archive: tar -
<% req.write(footer(info)) ============================================================ --- template.py 6fab3a1035e55b14f3bbb5babe1ec318afad673e +++ template.py 6b5d4131e5f1edce2fb99449540276fdb627ec13 @@ -1,4 +1,6 @@ +import time + def header(info): if not info.has_key("title"): info['title'] = "untitled" return """\ @@ -10,13 +12,18 @@ -