source: products/quintagroup.mobileextender/trunk/quintagroup/mobileextender/browser/mobilecontrol.pt @ 1561

Last change on this file since 1561 was 771, checked in by chervol, 17 years ago

retagging

  • Property svn:eol-style set to native
File size: 7.8 KB
Line 
1<html xmlns="http://www.w3.org/1999/xhtml"
2      xmlns:metal="http://xml.zope.org/namespaces/metal"
3      xmlns:tal="http://xml.zope.org/namespaces/tal"
4      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
5      xml:lang="en" lang="en"
6      tal:omit-tag=""
7      metal:define-macro="controlpanel"
8      i18n:domain="plone">
9
10<metal:block use-macro="context/prefs_main_template/macros/master">
11
12<metal:block metal:fill-slot="top_slot"
13             tal:define="dummy python:request.set('disable_border', 1)" />
14
15<body>
16
17<div metal:fill-slot="prefs_configlet_main">
18
19    <div metal:define-macro="form">
20
21        <div id="viewspace" metal:define-slot="viewspace">
22
23            <metal:block define-macro="header">
24
25                <dl tal:define="status view/status"
26                     tal:condition="status"
27                     class="portalMessage info">
28                    <dt i18n:translate="">
29                        Info
30                    </dt>
31                    <dd tal:content="view/status" />
32                </dl>
33
34            </metal:block>
35
36            <h1 class="documentFirstHeading"
37                i18n:translate=""
38                tal:condition="view/label"
39                tal:content="view/label"
40                metal:define-slot="heading">
41                Do something
42            </h1>
43
44            <a href=""
45               class="link-parent"
46               tal:attributes="href string:$portal_url/plone_control_panel"
47               i18n:translate="label_up_to_plone_setup">
48                Up to Site Setup
49            </a>
50
51            <form action="."
52                  metal:define-macro="master"
53                  tal:define="is_fieldsets view/is_fieldsets | nothing"
54                  tal:attributes="action request/URL;
55                                  class python: is_fieldsets and 'edit-form enableFormTabbing enableUnloadProtection' or default"
56                  method="post"
57                  class="edit-form enableUnloadProtection"
58                  enctype="multipart/form-data"
59                  id="zc.page.browser_form">
60
61                <input type="hidden"
62                       name="fieldset.current"
63                       value=""
64                       tal:attributes="value request/fieldset.current | string:" />
65
66                <div metal:define-slot="extra_info" tal:replace="nothing">
67                </div>
68
69                <p class="documentDescription"
70                     tal:define="description view/description|nothing"
71                     tal:condition="description"
72                     tal:content="description">Form description</p>
73
74                <div class="error"
75                     tal:content="string:Currently marked as mobile content ${view/currentlyMarked} objects">
76                    Currently marked as mobile content 7 objects
77                </div>
78
79                <fieldset tal:condition="not: is_fieldsets">
80                    <tal:block tal:repeat="widget view/widgets">
81
82                        <div class="field"
83                             tal:define="description widget/hint;
84                                         error widget/error"
85                             tal:attributes="class python:'field'+(error and ' error' or '')">
86                         
87                            <label i18n:translate=""
88                                   tal:attributes="for widget/name"
89                                   tal:content="widget/label">
90                                label
91                            </label>
92
93                            <span class="fieldRequired"
94                                  title="Required"
95                                  i18n:attributes="title title_required;"
96                                  i18n:translate="label_required"
97                                  tal:condition="widget/required">
98                                (Required)
99                            </span>
100
101                            <div class="formHelp"
102                                 i18n:translate=""
103                                 tal:content="description"
104                                 tal:condition="description">
105                                field description
106                            </div>
107
108                            <div tal:condition="error"
109                                 tal:content="structure error">
110                                The Error
111                            </div>
112
113                            <div class="widget" tal:content="structure widget">
114                                <input type="text" />
115                            </div>
116                        </div>
117
118                    </tal:block>
119
120                </fieldset>
121
122                <fieldset tal:attributes="id python:'fieldset-%s' % fieldset.id"
123                          tal:condition="is_fieldsets"
124                          tal:repeat="fieldset view/form_fields/fieldsets">
125                    <legend tal:define="form_name fieldset/label"
126                            tal:condition="form_name"
127                            tal:attributes="id python:'fieldsetlegend-%s' % fieldset.id"
128                            tal:content="form_name">Form name</legend>
129
130                    <p i18n:translate=""
131                       tal:condition="fieldset/description"
132                       tal:content="fieldset/description">
133                        Description
134                    </p>
135
136                    <tal:block tal:repeat="widget fieldset/widgets">
137
138                        <div class="field"
139                             tal:define="description widget/hint;
140                                         error widget/error"
141                             tal:attributes="class python:'field'+(error and ' error' or '')">
142
143                            <label i18n:translate=""
144                                   tal:define="name widget/name"
145                                   tal:attributes="for widget/associateLabelWithInputControl|name"
146                                   tal:content="widget/label">
147                                label
148                            </label>
149
150                            <span class="fieldRequired"
151                                  title="Required"
152                                  i18n:attributes="title title_required;"
153                                  i18n:translate="label_required"
154                                  tal:condition="widget/required">
155                                (Required)
156                            </span>
157
158                            <div class="formHelp"
159                                 i18n:translate=""
160                                 tal:content="description"
161                                 tal:condition="description">
162                                field description
163                            </div>
164
165                            <div tal:condition="error"
166                                 tal:content="structure error">
167                                The Error
168                            </div>
169
170                            <div class="widget" tal:content="structure widget">
171                                <input type="text" />
172                            </div>
173                        </div>
174
175                    </tal:block>
176
177                </fieldset>
178
179                <metal:block define-slot="above_buttons" />
180
181                <div class="visualClear"><!-- --></div>
182
183                <div id="actionsView" class="formControls">
184                    <span class="actionButtons"
185                          tal:condition="view/availableActions"
186                          metal:define-slot="bottom_buttons">
187                        <input tal:repeat="action view/actions"
188                               tal:replace="structure action/render" />
189                    </span>
190                </div>
191
192                <!-- input tal:replace="structure context/@@authenticator/authenticator" / -->
193
194            </form>
195        </div>
196
197        <script type="text/javascript"
198            tal:define="extra_script view/extra_script | nothing"
199            tal:condition="extra_script"
200            tal:content="structure extra_script">
201        </script>
202
203    </div>
204
205</div>
206</body>
207
208</metal:block>
209</html>
Note: See TracBrowser for help on using the repository browser.