Ignore:
Timestamp:
Apr 9, 2012 1:04:58 PM (12 years ago)
Author:
potar
Message:

Updated view (tabs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/skins/plonegooglesitemaps/prefs_gsm_verification.cpt

    r2555 r3417  
    66      i18n:domain="qPloneGoogleSitemaps">  
    77<body> 
    8     <div metal:fill-slot="prefs_configlet_main" 
     8    <div metal:fill-slot="prefs_configlet_content" 
    99        tal:define="errors python:request.get('errors', {}); 
    1010                    view here/@@sitemap_settings; 
     
    1414 
    1515        <div class="documentEditable"> 
    16             <ul class="contentViews"> 
    17                 <li class=""> 
     16            <div id="edit-bar"> 
     17                <ul class="contentViews" id="content-views"> 
     18                    <li class=""> 
     19                        <a href="" 
     20                        tal:attributes="href string: ${context/absolute_url}/prefs_gsm_overview" 
     21                        i18n:translate="label_properties">Overview</a> 
     22                    </li> 
     23 
     24                    <li class="selected"> 
     25                        <a href="" 
     26                        tal:attributes="href string: ${context/absolute_url}/${template/id}" 
     27                        i18n:translate="label_properties">Verification</a> 
     28                    </li> 
     29 
     30                    <li class=""> 
    1831                    <a href="" 
    19                     tal:attributes="href string: prefs_gsm_overview" 
    20                     i18n:translate="label_properties">Overview</a> 
    21                 </li> 
     32                        tal:attributes="href string: ${context/absolute_url}/prefs_gsm_settings"> 
     33                        Settings</a> 
     34                    </li> 
    2235 
    23                 <li class="selected"> 
    24                     <a href="" 
    25                     tal:attributes="href string:${template/id}" 
    26                     i18n:translate="label_properties">Verification</a> 
    27                 </li> 
    28  
    29                 <li class=""> 
    30                 <a href="" 
    31                     tal:attributes="href string:prefs_gsm_settings"> 
    32                     Settings</a> 
    33                 </li> 
    34  
    35             </ul> 
    36  
    37             <div class="contentActions"> 
    38             &nbsp; 
     36                </ul> 
     37                <div class="contentActions"> &nbsp; </div> 
    3938            </div> 
    40             <div class="documentContent"> 
     39            <div id="content" class="documentContent"> 
    4140                <h1 i18n:translate="heading_plonegooglesitemaps">Plone Google Sitemaps</h1> 
    4241                <a href="" 
     
    4948                <form action="manage_addFile" method="post" enctype="multipart/form-data" 
    5049                      tal:define="vfiles view/getVerificationFiles; 
     50                                  user_id context/plone_portal_state/member; 
    5151                                  step1 python:test(vfiles, 'discreet', ''); 
    5252                                  step2 python:test(not vfiles, 'discreet', '')" 
     
    6262                            <p><input name="verification_file" id="verify_filename" type="file"></p> 
    6363                        </li> 
    64                         <li tal:attributes="class step1"> 
    65                                 <input name="form.button.CreateFile" id="create_file" type="submit" value="Upload verification file to the site"/> 
    66                                 <input type="hidden" name="form.submitted" value="1" /> 
     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> 
    6768                        </li> 
    6869                        <li class="discreet" 
     
    7576                            tal:attributes="class step2" 
    7677                            tal:condition="vfiles"> 
    77                             <strong>Existent verification files:</strong> 
    78                             <ul><li tal:repeat="vf vfiles" 
    79                                     tal:content="vf">verification file id 
     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}/@@deleteGSMVerificationFile?id=${vf/id}; class string:delete">Delete</a> 
    8083                            </li></ul> 
    8184                        </li> 
Note: See TracChangeset for help on using the changeset viewer.