22 lines
617 B
Python
22 lines
617 B
Python
from scaffold.web import www
|
|
|
|
class control(www.default.html_ui):
|
|
def create(self, title="Join our mailing list"):
|
|
self.title = title
|
|
self.items = []
|
|
return self
|
|
|
|
def append(self, text):
|
|
self.items.append(text)
|
|
|
|
|
|
def render(self):
|
|
htm = '<div id="footer">'
|
|
htm += '<div id="footertop"></div>'
|
|
htm += '<div id="footerbottom"><div class="container">'
|
|
htm += '<div class="copyright">©2015 Maidstone Hackspace</div>'
|
|
htm += ''.join(self.items)
|
|
htm += '</div></div>'
|
|
htm += '<div>'
|
|
return htm
|