source: WAeUP_SRP/branches/regebro-noskins/skins/waeup_design/WAeUP_Student/theme.pt @ 1685

Last change on this file since 1685 was 1685, checked in by joachim, 17 years ago

first step to implement the WAeUP_Themes
it works like this:
there are theme-directories under waeup_design
WAeUP_Student and WAeUP_Backoffice. All theme-dependent stylesheets go there.

for each theme-dependent portlet there is a macro in theme.pt in the themes
directory.

The main_template.pt is in waeup_design and calls the macros from the themes
directory.

The student-theme looks quite similar to the original, but the
backoffice-theme is not usable.

For the "slips" there is a slip_template. To display the slips correctly all
slip-pts have to be modified to uses this template.


  • Property svn:keywords set to Id
File size: 4.4 KB
Line 
1<metal:block define-macro="navigation">
2  <table summary="Page Block"
3         style="margin-left: auto; margin-right: auto; width: 100%;"
4         class="shapeNoBorder colorTransparent" cellpadding="0"
5         cellspacing="0">
6    <tbody>
7      <tr>
8        <td style="width: 20px;" valign="top"></td>
9        <td style="" valign="top">
10          <div style="padding: 0em 0em 1px;">
11            <div style="text-align: right;"
12                 class="fontColornavigation fontShapenavigation">
13              <div style="padding: 0pt; text-align: right;">
14                <div style="">
15                  <div class="portalTabTabStyle">
16                    <div class="cpsskinsHBox body">
17                      <div id="student_navigation_slot">
18                        <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot='student_navigation_slot')"
19                                   tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" />
20                      </div>
21                    </div>
22                    <div style="clear: both;"></div>
23                  </div>
24                </div>
25              </div>
26            </div>
27          </div>
28        </td>
29        <td style="width: 20px;" valign="top"></td>
30      </tr>
31    </tbody>
32  </table>
33</metal:block>
34<metal:block define-macro="session">
35  <table summary="Main"
36         style="margin-left: auto; margin-right: auto; width: 100%;"
37         class="" cellpadding="0" cellspacing="0">
38    <tbody>
39      <tr>
40        <td style="width: 20px;" valign="top"></td>
41        <td style="width: 150px;"
42            class="shape colorStudentBarColor" valign="top">
43          <div style="text-align: left;"
44               class="colorStudentBarAreaColor fontColordefaultnovisitedlinks fontShapeaverage shapeAreaShape9">
45            <div style="padding: 0pt; text-align: left;">
46              <div style="padding: 0.4em 0.4em 0.4em 0.3em;">
47                <div id="portal_session">
48                  <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot='portal_session')"
49                             tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" />
50                </div>                       
51              </div>
52            </div>
53          </div>
54        </td>
55        <td style="" class="shape colorStudentBarColor"
56            valign="top">
57          <div style="text-align: left;"
58               class="fontColornavigation fontShapeaverage">
59            <div style="padding: 0pt; text-align: left;">
60              <div style="padding: 0.2em 0.2em 0em;">
61                <div class="cpsskinsHBox body">                   
62                  <div id="student_object_tabs">
63                    <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot='student_object_tabs')"
64                               tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" />
65                  </div>                                           
66                </div>
67                <div style="clear: both;"></div>
68              </div>
69            </div>
70          </div>
71        </td>
72        <td style="width: 20px;" class="shape color"
73            valign="top"></td>
74      </tr>
75    </tbody>
76  </table>
77</metal:block>
78<metal:block define-macro="tdactions">
79  <td style="width: 20px;" valign="top"></td>
80  <td style="width: 150px;"
81      class="shape colorStudentBarColor" valign="top">
82    <div style="padding: 0.4em 0.2em 0.2em;">
83      <div style="text-align: left;"
84           class="fontColornavigation fontShapeaverage">
85        <div style="padding: 0pt; text-align: left;">
86          <div style="padding: 0.2em;">
87            <div class="boxShapenavbox cpsskinsBox">
88              <div class="body">
89                <div id="student_actions_slot">
90                  <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot='student_actions_slot')"
91                             tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" />
92                </div>                       
93              </div>
94            </div>
95          </div>
96        </div>
97      </div>
98    </div>
99    <div style="padding: 0.2em;">
100      <div style="text-align: left;"
101           class="fontColornavigation fontShapeaverage"></div>
102    </div>
103  </td>
104</metal:block>
105<metal:block define-macro="tdmain">
106</metal:block>
Note: See TracBrowser for help on using the repository browser.