* 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:
parent
cf5ddaf1c8
commit
a88a436a33
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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:
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user