[1] | 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', {}); |
---|
[458] | 10 | view here/@@sitemap_settings;"> |
---|
[1] | 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 | |
---|
| 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 | |
---|
[458] | 46 | <form tal:define="vfiles view/getVerificationFiles; |
---|
| 47 | step1 python:test(vfiles, 'discreet', ''); |
---|
| 48 | step2 python:test(not vfiles, 'discreet', '')"> |
---|
[1] | 49 | <ol> |
---|
| 50 | <li tal:attributes="class step1"> |
---|
| 51 | Go to <a href="" |
---|
| 52 | tal:attributes="href string: https://www.google.com/webmasters/sitemaps/verify?siteUrl=${portal/absolute_url}&hl=en" |
---|
| 53 | tal:omit-tag="step1"> |
---|
| 54 | site verification page</a> and login if necessary. |
---|
| 55 | </li> |
---|
| 56 | <li tal:attributes="class step1">Provide verification file name: |
---|
[458] | 57 | <p><input name="verify_filename" id="verify_filename" type="text"></p> |
---|
[1] | 58 | </li> |
---|
| 59 | <li tal:attributes="class step1"> |
---|
[458] | 60 | <input name="form.button.CreateFile" id="create_file" type="submit" value="Create verification file"/> |
---|
[1] | 61 | <input type="hidden" name="form.submitted" value="1" /> |
---|
| 62 | </li> |
---|
| 63 | <li class="discreet" |
---|
| 64 | tal:attributes="class step2">Go to <a href="" |
---|
| 65 | tal:attributes="href string: https://www.google.com/webmasters/sitemaps/verify?siteUrl=${portal/absolute_url}&hl=en" |
---|
| 66 | tal:omit-tag="step2"> |
---|
| 67 | site verification page</a> and press "Check Status" button. |
---|
| 68 | </li> |
---|
| 69 | <li class="discreet" |
---|
[458] | 70 | tal:attributes="class step2" |
---|
| 71 | tal:condition="vfiles"> |
---|
| 72 | <strong>Existent verification files:</strong> |
---|
| 73 | <ul><li tal:repeat="vf vfiles" |
---|
| 74 | tal:content="vf">verification file id |
---|
| 75 | </li></ul> |
---|
[1] | 76 | </li> |
---|
| 77 | </ol> |
---|
| 78 | </form> |
---|
| 79 | </div> |
---|
| 80 | </div> |
---|
| 81 | </div> |
---|
| 82 | </body> |
---|
| 83 | </html> |
---|