parent
f5b9632e97
commit
8236c4f8ce
@ -129,6 +129,7 @@ _CSS_FILES = [
|
|||||||
[_("Mainz"), 'Web_Mainz.css'],
|
[_("Mainz"), 'Web_Mainz.css'],
|
||||||
[_("Nebraska"), 'Web_Nebraska.css'],
|
[_("Nebraska"), 'Web_Nebraska.css'],
|
||||||
[_("Visually Impaired"), 'Web_Visually.css'],
|
[_("Visually Impaired"), 'Web_Visually.css'],
|
||||||
|
|
||||||
[_("No style sheet"), ''],
|
[_("No style sheet"), ''],
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -2972,8 +2973,9 @@ class NavWebReport(Report):
|
|||||||
self.copy_file(fname, "behaviour.css", "styles")
|
self.copy_file(fname, "behaviour.css", "styles")
|
||||||
|
|
||||||
# copy screen stylesheet
|
# copy screen stylesheet
|
||||||
fname = os.path.join(const.DATA_DIR, self.css)
|
if self.css:
|
||||||
self.copy_file(fname, self.css, "styles")
|
fname = os.path.join(const.DATA_DIR, self.css)
|
||||||
|
self.copy_file(fname, self.css, "styles")
|
||||||
|
|
||||||
# copy printer stylesheet
|
# copy printer stylesheet
|
||||||
fname = os.path.join(const.DATA_DIR, "Web_Print-Default.css")
|
fname = os.path.join(const.DATA_DIR, "Web_Print-Default.css")
|
||||||
@ -3337,10 +3339,8 @@ class NavWebOptions(MenuReportOptions):
|
|||||||
menu.add_option(category_name, "ext", ext)
|
menu.add_option(category_name, "ext", ext)
|
||||||
|
|
||||||
cright = EnumeratedListOption(_('Copyright'), 0 )
|
cright = EnumeratedListOption(_('Copyright'), 0 )
|
||||||
index = 0
|
for index, copt in enumerate(_COPY_OPTIONS):
|
||||||
for copt in _COPY_OPTIONS:
|
|
||||||
cright.add_item(index, copt)
|
cright.add_item(index, copt)
|
||||||
index += 1
|
|
||||||
cright.set_help( _("The copyright to be used for the web files"))
|
cright.set_help( _("The copyright to be used for the web files"))
|
||||||
menu.add_option(category_name, "cright", cright)
|
menu.add_option(category_name, "cright", cright)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user