source: products/quintagroup.plonegooglesitemaps/branches/1.7.1/quintagroup/plonegooglesitemaps/skins/plonegooglesitemaps/prefs_gsm_verification.cpt @ 3397

Last change on this file since 3397 was 3397, checked in by potar, 12 years ago

Prepared to release new package

  • Property svn:eol-style set to native
File size: 5.0 KB
RevLine 
[1593]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>
[3397]8    <div metal:fill-slot="prefs_configlet_content"
[1593]9        tal:define="errors python:request.get('errors', {});
[2555]10                    view here/@@sitemap_settings;
11                    here_url context/@@plone_context_state/object_url;
12                    portal context/@@plone_portal_state/portal;
13                    template_id template/getId;">
[1593]14
15        <div class="documentEditable">
[3397]16            <div id="edit-bar">
17                <ul class="contentViews" id="content-views">
18                    <li class="">
19                        <a href=""
20                        tal:attributes="href string: prefs_gsm_overview"
21                        i18n:translate="label_properties">Overview</a>
22                    </li>
[1593]23
[3397]24                    <li class="selected">
25                        <a href=""
26                        tal:attributes="href string:${template/id}"
27                        i18n:translate="label_properties">Verification</a>
28                    </li>
29
30                    <li class="">
[1593]31                    <a href=""
[3397]32                        tal:attributes="href string:prefs_gsm_settings">
33                        Settings</a>
34                    </li>
[1593]35
[3397]36                </ul>
37                <div class="contentActions"> &nbsp; </div>
[1593]38            </div>
[3397]39            <div id="content" class="documentContent">
[1593]40                <h1 i18n:translate="heading_plonegooglesitemaps">Plone Google Sitemaps</h1>
41                <a href=""
42                class="link-parent"
43                tal:attributes="href string: $portal_url/plone_control_panel"
44                i18n:translate="label_up_to_plone_setup">
45                Up to Plone Setup
46                </a>
47
[2518]48                <form action="manage_addFile" method="post" enctype="multipart/form-data"
49                      tal:define="vfiles view/getVerificationFiles;
[3397]50                                  user_id context/plone_portal_state/member;
[1593]51                                  step1 python:test(vfiles, 'discreet', '');
[2518]52                                  step2 python:test(not vfiles, 'discreet', '')"
53                      tal:attributes="action string:$here_url/$template_id">
[1593]54                    <ol>
55                        <li tal:attributes="class step1">
56                            Go to <a href=""
[2518]57                                        tal:attributes="href string: https://www.google.com/webmasters/verification/verification?siteUrl=${portal/absolute_url}&hl=en"
[1593]58                                        tal:omit-tag="step1">
[2519]59                        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 choose <i>Upload an HTML file</i> and download generated file to you system.
[1593]60                        </li>
[2518]61                        <li tal:attributes="class step1">Select verification file:
62                            <p><input name="verification_file" id="verify_filename" type="file"></p>
[1593]63                        </li>
[3397]64                        <li tal:attributes="class step1">Comment:
65                                <p><input type="text" value="" tal:attributes="value user_id" name='comment'/>
66                                   <input name="form.button.CreateFile" id="create_file" type="submit" value="Upload verification file to the site"/>
67                                   <input type="hidden" name="form.submitted" value="1" /></p>
[1593]68                        </li>
69                        <li class="discreet"
70                            tal:attributes="class step2">Go to <a href=""
[2519]71                                        tal:attributes="href string: https://www.google.com/webmasters/verification/verification?siteUrl=${portal/absolute_url}&hl=en"
[1593]72                                        tal:omit-tag="step2">
73                        site verification page</a> and press "Check Status" button.
74                        </li>
75                        <li class="discreet"
76                            tal:attributes="class step2"
77                            tal:condition="vfiles">
[3397]78                            <strong>Existing verification files:</strong>
79                            <ul><li tal:repeat="vf vfiles">
80                                    <a tal:attributes="href string: ${vf/id}" tal:content="vf/id"></a>
81                                    <span tal:replace="string: (${vf/title})">comment to verification file</span>
82                                    <a tal:attributes="href string: ${context/absolute_url}/@@deleteVerificationFile?id=${vf/id}; class string:delete">Delete</a>
[1593]83                            </li></ul>
84                        </li>
85                    </ol>
86                </form>
87            </div>
88        </div>
89    </div>
90</body>
[2518]91</html>
Note: See TracBrowser for help on using the repository browser.