* src/ArgeHandler.py: Support for WEB for CLI mode.

* src/Report.py: Support for WEB reports.
* src/plugins/GraphViz.py: Minor tweaks.
* src/plugins/WebPage.py: Convert to new scheme. Still rough.


svn: r3878
This commit is contained in:
Alex Roitman 2005-01-07 04:53:43 +00:00
parent cf5ddaf1c8
commit a88a436a33
5 changed files with 536 additions and 407 deletions

View File

@ -1,3 +1,9 @@
2005-01-06 Alex Roitman <shura@alex.neuro.umn.edu>
* src/ArgeHandler.py: Support for WEB for CLI mode.
* src/Report.py: Support for WEB reports.
* src/plugins/GraphViz.py: Minor tweaks.
* src/plugins/WebPage.py: Convert to new scheme. Still rough.
2005-01-06 Don Allingham <dallingham@users.sourceforge.net>
* src/EditPerson.py: switch to ComboBox from OptionMenu
* src/GenericFilter.py: switch to ComboBox from OptionMenu

View File

@ -535,7 +535,8 @@ class ArgHandler:
category = item[1]
report_class = item[2]
options_class = item[3]
if category in (const.CATEGORY_BOOK,const.CATEGORY_CODE):
if category in (const.CATEGORY_BOOK,const.CATEGORY_CODE,
const.CATEGORY_WEB):
options_class(self.parent.db,name,category,options_str_dict)
else:
Report.cl_report(self.parent.db,name,category,

View File

@ -1728,7 +1728,7 @@ def report(database,person,report_class,options_class,translated_name,name,categ
elif category == const.CATEGORY_DRAW:
dialog_class = DrawReportDialog
elif category in (const.CATEGORY_BOOK,const.CATEGORY_VIEW,
const.CATEGORY_CODE):
const.CATEGORY_CODE,const.CATEGORY_WEB):
report_class(database,person)
return
else:

View File

@ -629,7 +629,7 @@ class GraphVizOptions(ReportOptions.ReportOptions):
#------------------------------------------------------------------------
class GraphVizDialog(Report.ReportDialog):
def __init__(self,database,person):#,options_class,name,translated_name):
def __init__(self,database,person):
self.database = database
self.person = person
name = "rel_graph"
@ -668,7 +668,6 @@ class GraphVizDialog(Report.ReportDialog):
def make_report(self):
"""Create the object that will produce the GraphViz file."""
GraphViz(self.database,self.person,self.options_class)
#------------------------------------------------------------------------

File diff suppressed because it is too large Load Diff