source: products/quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/skins/plonegooglesitemaps/prefs_gsm_settings.cpt @ 2677

Last change on this file since 2677 was 2580, checked in by liebster, 14 years ago

Remove tabindex from prefs_gsm_settings template

  • Property svn:eol-style set to native
File size: 7.1 KB
Line 
1<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"
2      xmlns:metal="http://xml.zope.org/namespaces/metal"
3      xmlns:tal="http://xml.zope.org/namespaces/tal"
4      lang="en-US"
5      metal:use-macro="here/prefs_main_template/macros/master"
6      i18n:domain="qPloneGoogleSitemaps">
7<body>
8    <div metal:fill-slot="prefs_configlet_main"
9        tal:define="errors python:request.get('errors', {});
10                    here_url context/@@plone_context_state/object_url;
11                    portal context/@@plone_portal_state/portal;">
12
13        <div class="documentEditable">
14            <ul class="contentViews">
15                <li class="">
16                    <a href=""
17                       tal:attributes="href string: prefs_gsm_overview">
18                       Overview</a>
19                </li>
20                <li class="">
21                    <a href=""
22                       tal:attributes="href string:prefs_gsm_verification">
23                       Verification</a>
24                </li>
25                <li class="selected">
26                <a href=""
27                   tal:attributes="href string:${template/id}">
28                   Settings</a>
29                </li>
30            </ul>
31            <div class="contentActions">
32            &nbsp;
33            </div>
34            <div class="documentContent">
35                <h1 i18n:translate="heading_plonegooglesitemaps">Plone Google Sitemaps</h1>
36                <a href=""
37                   class="link-parent"
38                   tal:attributes="href string: $portal_url/plone_control_panel"
39                   i18n:translate="label_up_to_plone_setup">
40                   Up to Plone Setup
41                </a>
42
43               
44
45                <form name="edit_form"
46                    action="."
47                    method="post"
48                    enctype="multipart/form-data"
49                    tal:attributes="action string:${here_url}/${template/getId}" >
50
51                <fieldset tal:define="view here/@@sitemap_settings;
52                                      sitemaps view/sitemapsDict;">
53                    <legend i18n:translate="legend_plonesitemap_configuration_details">
54                        Google SiteMaps configuration
55                    </legend>
56
57                    <table class="listing"
58                           summary="Sitemaps management"
59                           i18n:attributes="summary summary_sitemaps_management;"
60                           tal:condition="sitemaps">
61                        <thead>
62                            <tr>
63                            <th></th>
64                            <th>Type</th>
65                            <th>Edit Sitemap</th>
66                            <th>Size (bytes)</th>
67                            <th>Entries</th>
68                            </tr>
69                        </thead>
70                        <tbody>
71                            <tal:items tal:repeat="data sitemaps">
72                            <tr tal:define="oddrow repeat/data/odd;"
73                                tal:attributes="class python:test(oddrow, 'even', 'odd')" >
74                                <td>
75                                <input type="checkbox" class="noborder"
76                                        name="smselected:list" id="#" value="#"
77                                        tal:attributes="value    data/sm_id;
78                                                        id       string:cb_${data/sm_id};
79                                                        alt      data/sm_type;
80                                                        title    data/sm_type;" />
81                                </td>
82                                <td>
83                                <strong tal:content="data/sm_type"> Sitemap type </strong>
84                                </td>
85                                <td>
86                                <a alt="" title="" href="http://"
87                                    tal:attributes="href string:${data/sm_url}/edit;
88                                                    title data/sm_id;
89                                                    alt string:${data/sm_id}"
90                                    tal:content="data/sm_id">Edit default sitemap type </a>
91                                </td>
92                                <td tal:content="string:${data/sm_size}"> 10 000 in bytes
93                                </td>
94                                <td tal:content="string:${data/sm_entries}"> 50 000 items
95                                </td>
96                            </tr>
97                            </tal:items>
98                            <tr>
99                            <th colspan="3"><strong>Limitations:</strong></th>
100                            <th><strong>10,485,760</strong></th>
101                            <th><strong>50,000</strong></th>
102                            </tr>
103                        </tbody>
104                        </table>
105
106                        <div class="formControls"
107                            tal:define="process_creation request/process_creation|nothing;"
108                            i18n:domain="plone">
109                            <input class="context"
110                                type="submit"
111                                name="form.button.AddContent"
112                                value="Add Content Sitemap"
113                                i18n:attributes="value"
114                                tal:condition="not:view/hasContentSM" />
115                            <input class="context"
116                                type="submit"
117                                name="form.button.AddMobile"
118                                value="Add Mobile Sitemap"
119                                i18n:attributes="value"
120                                tal:condition="not:view/hasMobileSM" />
121                            <input class="context"
122                                type="submit"
123                                name="form.button.AddNews"
124                                value="Add News Sitemap"
125                                i18n:attributes="value"
126                                tal:condition="not:view/hasNewsSM" />
127                            <tal:block condition="sitemaps">
128                            <input class="context"
129                                type="submit"
130                                name="form.button.Delete"
131                                value="Delete"
132                                i18n:attributes="value" />
133                            <input class="context"
134                                type="submit"
135                                name="form.button.Ping"
136                                value="Ping"
137                                i18n:attributes="value" />
138                            </tal:block>
139                        </div>
140
141                    <tal:block condition="sitemaps">
142                    <p><strong>Note</strong>: Ping button allows you to make additional ping (apart from automatic one).</p>
143                    </tal:block>
144
145                    </fieldset>
146                    <input type="hidden" name="form.submitted" value="1" />
147                </form>
148            </div>
149        </div>
150    </div>
151</body>
152</html>
Note: See TracBrowser for help on using the repository browser.