added setup wizard 0.1

This commit is contained in:
Rushabh Mehta
2011-08-12 14:51:33 +05:30
parent af43b7457c
commit c3ef493171
6 changed files with 197 additions and 48 deletions

View File

@@ -28,4 +28,4 @@ class DocType:
#
def set_html_from_image(self):
file_name = self.doc.file_list.split(',')[0]
self.doc.header_html = '<div><img src="cgi-bin/getfile.cgi?name=' + file_name + '"/></div>'
self.doc.header_html = '<div><img style="max-height: 120px; max-width: 600px" src="index.cgi?cmd=get_file&fname=' + file_name + '"/></div>'