diff options
-rwxr-xr-x | info.cgi | 3 | ||||
-rwxr-xr-x | list.cgi | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -14,5 +14,8 @@ if not sch.valid_fname(fname): sch.error("Fuck off!") sch.print_header("File Info for '%s'" % fname) + +print '<p><a href="%s/%s">Download the file</a></p>' % (sch.repository_directory, fname) + sch.run_proc('%s --info "%s/%s" ' % (sch.syrep_binary, sch.repository_directory, fname)) sch.print_footer() @@ -42,5 +42,7 @@ print '<input name="diff" type="submit" value="SYREP Diff"/>' print '</td></tr></table></form>' +print '<p><a href="%s/">Browse the directory directly</a></p>' % sch.repository_directory + sch.print_footer() |