~landscape/zope3/ztk-1.1.3

« back to all changes in this revision

Viewing changes to src/zope/app/rotterdam/dialog_macros.pt

  • Committer: Sidnei da Silva
  • Date: 2010-07-05 21:07:01 UTC
  • Revision ID: sidnei.da.silva@canonical.com-20100705210701-zmqhqrbzad1mhzsl
- Reduce deps

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<metal:block define-macro="dialog"><metal:block define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></metal:block>
2
 
 
3
 
<html
4
 
  xmlns="http://www.w3.org/1999/xhtml"
5
 
  xml:lang="en"
6
 
  lang="en" 
7
 
  i18n:domain="zope">
8
 
 
9
 
  <head>
10
 
    <!-- Waaa -->
11
 
    <title metal:define-slot="title" i18n:translate="">Z3 UI</title>
12
 
 
13
 
 
14
 
    <style type="text/css" 
15
 
           media="all"
16
 
           tal:content=
17
 
           "string: @import url(${context/++resource++zope3.css});"
18
 
           >
19
 
      @import url(zope3.css);
20
 
    </style>
21
 
 
22
 
    <metal:block define-slot="headers" />
23
 
    <metal:block define-slot="style_slot" />
24
 
    <metal:block define-slot="ecmascript_slot" />
25
 
 
26
 
    <!--
27
 
    <script type="text/javascript" src="xmltree.js" 
28
 
            tal:attributes="src string:${context/++resource++xmltree.js}"
29
 
            ></script>
30
 
    -->
31
 
    <link rel="icon" type="image/png"
32
 
          tal:attributes="href context/++resource++favicon.png" />
33
 
  </head>
34
 
 
35
 
  <body onload="loadtree('');"
36
 
        tal:define="rooturl     request/getApplicationURL;
37
 
                    thisbaseurl request/URL/-1;
38
 
                    "
39
 
        tal:attributes="
40
 
          onload string:loadtree('${rooturl}/', '${thisbaseurl}/');
41
 
          " 
42
 
        >
43
 
 
44
 
    <div id="global">
45
 
      <a href="#" name="top"
46
 
         tal:attributes="href string:${request/URL/0}">
47
 
        <img tal:attributes="src context/++resource++zope3logo.gif" />
48
 
      </a>
49
 
    </div>
50
 
 
51
 
    <div id="personal">
52
 
 
53
 
      <metal:block define-macro="logged_user">
54
 
        <span tal:omit-tag="" i18n:translate="">User:</span>
55
 
        <tal:block replace="request/principal/title">
56
 
          User
57
 
        </tal:block>
58
 
      </metal:block>
59
 
 
60
 
      <!-- (Personal elements) -->
61
 
    </div>
62
 
 
63
 
 
64
 
    <div id="navigators">
65
 
 
66
 
<!--
67
 
      <div class="box" id="navigationTree">
68
 
 
69
 
        <h4 i18n:translate="">Navigation</h4>
70
 
 
71
 
        <div 
72
 
          xmlns="http://www.zope.org/zope3xmltree"
73
 
          id="navtreecontents" 
74
 
          class="body" 
75
 
          onclick="treeclicked(event);" 
76
 
          onmouseover="mouseOverTree(event);"
77
 
          onmouseout="mouseOutTree(event);"
78
 
          >
79
 
        </div>
80
 
 
81
 
      </div>
82
 
-->
83
 
    </div>
84
 
 
85
 
    <div id="content">
86
 
 
87
 
 
88
 
      <div class="itemViewsBar">
89
 
      &nbsp;
90
 
      </div>
91
 
 
92
 
      <div class="item">
93
 
 
94
 
        <metal:block define-slot="body">
95
 
 
96
 
            <table class="listing">
97
 
 
98
 
              <thead>
99
 
 
100
 
                <th>Test</th>
101
 
                <th>Another</th>
102
 
 
103
 
              </thead>
104
 
 
105
 
 
106
 
              <tbody>
107
 
 
108
 
                <tr>
109
 
 
110
 
                  <td>content</td>
111
 
                  <td>thingy</td>
112
 
 
113
 
                </tr>
114
 
 
115
 
 
116
 
                <tr class="even">
117
 
 
118
 
                  <td>more</td>
119
 
                  <td>data</td>
120
 
 
121
 
                </tr>
122
 
 
123
 
              </tbody>
124
 
 
125
 
            </table>
126
 
        </metal:block>
127
 
        </div>
128
 
 
129
 
    </div>
130
 
 
131
 
 
132
 
    <div id="context_information">
133
 
 
134
 
    <div id="helpers">
135
 
 
136
 
      <div class="box" id="itemHelp" tal:condition="pagetip|nothing">
137
 
 
138
 
        <h4 i18n:translate="">Tip</h4>
139
 
 
140
 
        <div class="body">
141
 
 
142
 
          <div class="content odd">
143
 
 
144
 
            <metal:block define-slot="pagetip" tal:replace="pagetip">
145
 
              A short tip goes here              
146
 
            </metal:block>
147
 
 
148
 
          </div>
149
 
 
150
 
        </div>
151
 
 
152
 
      </div>
153
 
 
154
 
    </div>
155
 
 
156
 
 
157
 
 
158
 
    </div>
159
 
 
160
 
 
161
 
    <div id="footer"
162
 
      metal:define-macro="footer"
163
 
      i18n:translate="">
164
 
      Powered by Zope
165
 
    </div>
166
 
 
167
 
 
168
 
  </body>
169
 
 
170
 
</html>
171
 
 
172
 
</metal:block>
173
 
 
174