git://git.onelab.eu
/
unfold.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
show the various pieces as a use case for css on tabs and plugins
[unfold.git]
/
plugins
/
tabs.py
1
from engine.composite import Composite
2
3
class Tabs (Composite):
4
5
def title (self):
6
return "Some tabs"
7
8
def requirements (self):
9
return { 'js_files' : 'bootstrap/js/bootstrap.js',
10
'css_files' : ['bootstrap/css/bootstrap.css',
11
'css/tabs.css',
12
] }
13
14
def template (self):
15
return "tabs.html"
16