Revision: | 1.1 |
Committed: | Sun Nov 12 19:48:52 2006 UTC (18 years, 5 months ago) by eulisse |
Content type: | text/x-python |
Branch: | MAIN |
CVS Tags: | V00-00-02, V00_00_02, V00-00-01 |
Log Message: | First added to repository. |
# | User | Rev | Content |
---|---|---|---|
1 | eulisse | 1.1 | from Framework import Controller |
2 | from Framework import webmethod | ||
3 | from os import listdir | ||
4 | |||
5 | class Common (Controller): | ||
6 | def __init__ (self): | ||
7 | f = file ("Applications/common.css") | ||
8 | self.commonStyle = f.read () | ||
9 | print self.commonStyle | ||
10 | |||
11 | def style (self): | ||
12 | return self.commonStyle | ||
13 | style.exposed=True | ||
14 |