forked from openlp/openlp
Review fixes
This commit is contained in:
parent
8ebf7ff131
commit
2f36c33f62
@ -338,7 +338,7 @@ def build_html(item, screen, islive, background, image=None,
|
||||
html = HTMLSRC % (build_background_css(item, width, height),
|
||||
width, height,
|
||||
css_additions,
|
||||
build_footer_css(item, height),
|
||||
build_footer_css(item, height),
|
||||
build_lyrics_css(item, webkitvers),
|
||||
u'true' if theme and theme.display_slide_transition and islive \
|
||||
else u'false',
|
||||
|
@ -371,25 +371,25 @@ class Plugin(QtCore.QObject):
|
||||
|
||||
def getDisplayCss(self):
|
||||
"""
|
||||
Add css style sheets to htmlbuilder
|
||||
Add css style sheets to htmlbuilder.
|
||||
"""
|
||||
return u''
|
||||
|
||||
def getDisplayJavaScript(self):
|
||||
"""
|
||||
Add javascript functions to htmlbuilder
|
||||
Add javascript functions to htmlbuilder.
|
||||
"""
|
||||
return u''
|
||||
|
||||
def refreshCss(self, frame):
|
||||
"""
|
||||
Allow plugins to refresh javascript of displayed screen
|
||||
Allow plugins to refresh javascript on displayed screen.
|
||||
"""
|
||||
return u''
|
||||
|
||||
def getDisplayHtml(self):
|
||||
"""
|
||||
Add html code to htmlbuilder
|
||||
Add html code to htmlbuilder.
|
||||
"""
|
||||
return u''
|
||||
|
||||
|
@ -183,10 +183,9 @@ class AlertsPlugin(Plugin):
|
||||
|
||||
def getDisplayCss(self):
|
||||
align = VerticalType.Names[self.settings_tab.location]
|
||||
alert = CSS % (align, self.settings_tab.font_face,
|
||||
return CSS % (align, self.settings_tab.font_face,
|
||||
self.settings_tab.font_size, self.settings_tab.font_color,
|
||||
self.settings_tab.bg_color)
|
||||
return alert
|
||||
|
||||
def getDisplayHtml(self):
|
||||
return HTML
|
||||
|
Loading…
Reference in New Issue
Block a user