lib/gui/form.py
def submissionPage(f):
	"""Writes the submission page for the GUI.
	@param f: File to write to
	"""
	openPage(f,'submission')
	f.write("""
	Please specify output file names for the settings, data and scripts used to generate the chart.
	These will remain in the svgchart/genxml/ directory after chart generation so that you may use
	them in the future to generate this chart or modify them to produce a new chart.<br />
	WARNING: These will overwrite any files with the same names in the svgchart/genxml/ directory!
	<table>
		<tr>
			<td>Settings File:</td>
			<td><input type='text' name='outfile_settings' value='settings.xml' /></td>
		</tr><tr>
			<td>Data File:</td>
			<td><input type='text' name='outfile_data' value='data.xml' /></td>
		</tr><tr>
			<td>Scripts File:</td>
			<td><input type='text' name='outfile_scripts' value='scripts.xml' /></td>
		</tr>
	</table>
	<div style='text-align: center;'><input type="submit" value="Generate Chart" style='font-weight: bold;' /></div>
	To save the chart once it has been generated, please use your browser's Save function.
	""")
	closePage(f,'submission')
Writes the submission page for the GUI.
	@param f: File to write to
	
Writes the submission page for the GUI.
Writes the submission page for the GUI .
def submissionPage(f):
	openPage(f,'submission')
	f.write("""
	Please specify output file names for the settings, data and scripts used to generate the chart.
	These will remain in the svgchart/genxml/ directory after chart generation so that you may use
	them in the future to generate this chart or modify them to produce a new chart.<br />
	WARNING: These will overwrite any files with the same names in the svgchart/genxml/ directory!
	<table>
		<tr>
			<td>Settings File:</td>
			<td><input type='text' name='outfile_settings' value='settings.xml' /></td>
		</tr><tr>
			<td>Data File:</td>
			<td><input type='text' name='outfile_data' value='data.xml' /></td>
		</tr><tr>
			<td>Scripts File:</td>
			<td><input type='text' name='outfile_scripts' value='scripts.xml' /></td>
		</tr>
	</table>
	<div style='text-align: center;'><input type="submit" value="Generate Chart" style='font-weight: bold;' /></div>
	To save the chart once it has been generated, please use your browser's Save function.
	""")
	closePage(f,'submission')
def submissionPage ( f ) : openPage ( f , 'submission' ) f . write ( """
	Please specify output file names for the settings, data and scripts used to generate the chart.
	These will remain in the svgchart/genxml/ directory after chart generation so that you may use
	them in the future to generate this chart or modify them to produce a new chart.<br />
	WARNING: These will overwrite any files with the same names in the svgchart/genxml/ directory!
	<table>
		<tr>
			<td>Settings File:</td>
			<td><input type='text' name='outfile_settings' value='settings.xml' /></td>
		</tr><tr>
			<td>Data File:</td>
			<td><input type='text' name='outfile_data' value='data.xml' /></td>
		</tr><tr>
			<td>Scripts File:</td>
			<td><input type='text' name='outfile_scripts' value='scripts.xml' /></td>
		</tr>
	</table>
	<div style='text-align: center;'><input type="submit" value="Generate Chart" style='font-weight: bold;' /></div>
	To save the chart once it has been generated, please use your browser's Save function.
	""" ) closePage ( f , 'submission' )
Writes the submission page for the GUI.
Writes the submission page for the GUI .
"""Writes the submission page for the GUI.
	@param f: File to write to
	"""
f
File to write to
File to write to