fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Marquise: scale title text in all layouts.
[librarian.git]
/
src
/
librarian
/
elements
/
figures
/
tabela.py
1
from ..base import WLElement
2
3
4
class Tabela(WLElement):
5
SHOULD_HAVE_ID = True
6
7
EPUB_TAG = HTML_TAG = 'table'
8
9
def get_html_attr(self, builder):
10
if self.attrib.get('ramka', '') == '1':
11
return {
12
'class': 'border'
13
}
14
return {}
15
16
get_epub_attr = get_html_attr
17
18