source: products/quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/skins/plonegooglesitemaps/prefs_gsm_verification.cpt @ 2518

Last change on this file since 2518 was 2518, checked in by mylan, 14 years ago

#192: Updated configlet verification form

  • Property svn:eol-style set to native
File size: 4.2 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                    view here/@@sitemap_settings;">
11
12        <div class="documentEditable">
13            <ul class="contentViews">
14                <li class="">
15                    <a href=""
16                    tal:attributes="href string: prefs_gsm_overview"
17                    i18n:translate="label_properties">Overview</a>
18                </li>
19
20                <li class="selected">
21                    <a href=""
22                    tal:attributes="href string:${template/id}"
23                    i18n:translate="label_properties">Verification</a>
24                </li>
25
26                <li class="">
27                <a href=""
28                    tal:attributes="href string:prefs_gsm_settings">
29                    Settings</a>
30                </li>
31
32            </ul>
33
34            <div class="contentActions">
35            &nbsp;
36            </div>
37            <div class="documentContent">
38                <h1 i18n:translate="heading_plonegooglesitemaps">Plone Google Sitemaps</h1>
39                <a href=""
40                class="link-parent"
41                tal:attributes="href string: $portal_url/plone_control_panel"
42                i18n:translate="label_up_to_plone_setup">
43                Up to Plone Setup
44                </a>
45
46                <form action="manage_addFile" method="post" enctype="multipart/form-data"
47                      tal:define="vfiles view/getVerificationFiles;
48                                  step1 python:test(vfiles, 'discreet', '');
49                                  step2 python:test(not vfiles, 'discreet', '')"
50                      tal:attributes="action string:$here_url/$template_id">
51                    <ol>
52                        <li tal:attributes="class step1">
53                            Go to <a href=""
54                                        tal:attributes="href string: https://www.google.com/webmasters/verification/verification?siteUrl=${portal/absolute_url}&hl=en"
55                                        tal:omit-tag="step1">
56                        site verification page</a> and login if necessary. If <strong>Verification status</strong> is <i>Not Verified</i>, from <strong>Verification method</strong> selection box chose <i>Upload an HTML file</i> and download generated file to you system (you should know where the file is downloaded).
57                        </li>
58                        <li tal:attributes="class step1">Select verification file:
59                            <p><input name="verification_file" id="verify_filename" type="file"></p>
60                        </li>
61                        <li tal:attributes="class step1">
62                                <input name="form.button.CreateFile" id="create_file" type="submit" value="Upload verification file to the site"/>
63                                <input type="hidden" name="form.submitted" value="1" />
64                        </li>
65                        <li class="discreet"
66                            tal:attributes="class step2">Go to <a href=""
67                                        tal:attributes="href string: https://www.google.com/webmasters/sitemaps/verify?siteUrl=${portal/absolute_url}&hl=en"
68                                        tal:omit-tag="step2">
69                        site verification page</a> and press "Check Status" button.
70                        </li>
71                        <li class="discreet"
72                            tal:attributes="class step2"
73                            tal:condition="vfiles">
74                            <strong>Existent verification files:</strong>
75                            <ul><li tal:repeat="vf vfiles"
76                                    tal:content="vf">verification file id
77                            </li></ul>
78                        </li>
79                    </ol>
80                </form>
81            </div>
82        </div>
83    </div>
84</body>
85</html>
Note: See TracBrowser for help on using the repository browser.