rel
[librarian.git] / src / librarian / elements / themes / motyw.py
1 from ..base import WLElement
2
3
4 class Motyw(WLElement):
5     HTML_TAG = "a"
6
7     def txt_build(self, builder):
8         pass
9
10     def html_build(self, builder):
11         if builder.with_themes:
12             super(Motyw, self).html_build(builder)
13
14     def get_html_attr(self, builder):
15         fid = self.attrib.get('id', '')[1:]
16         return {
17             "class": "theme-begin",
18             "fid": fid,
19             "name": "m" + fid,
20         }
21
22     def epub_build(self, builder):
23         pass