source: products/qPloneDropDownMenu/trunk/skins/qPloneDropDownMenu/prefs_csshover_edit_form.cpt @ 1591

Last change on this file since 1591 was 1, checked in by myroslav, 19 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 2.8 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="qPloneDropDownMenu">
7
8  <metal:block fill-slot="top_slot"
9             tal:define="dummy python:request.set('disable_border',1)" />
10
11<body>
12  <div metal:fill-slot="prefs_configlet_main"
13       tal:define="errors python:request.get('errors', {})">
14
15    <h1 i18n:translate="heading_plonecsshovering">Plone CSS Hover Functionality</h1>
16    <a href=""
17       class="link-parent"
18       tal:attributes="href string: $portal_url/plone_control_panel"
19       i18n:translate="label_up_to_plone_setup">
20    Up to Plone Setup
21    </a>
22
23    <div class="ieHidden">Visit this page in IE to see and activate generated CSS</div>
24
25    <form name="csshovering_edit_form"
26          action="."
27          method="post"
28          tal:attributes="action string:${here/absolute_url}/${template/getId}" >
29
30     <div class="field">
31         <label for="csshovering" class="ieVisible" i18n:translate="label_csshovering">CSS Hover</label>
32         <div class="formHelp" i18n:translate="help_csshovering_edit">
33         Due to limitation of IE &lt; 7 to understand :hover CSS pseudo-selector only on A elements
34         and performance issues while applying dynamic stylesheets on each page load, it is possible to
35         pre-generate CSS that will enable IE with JavaScript turned on to understand :hover elements.
36         </div>
37         <textarea cols="80"
38                   rows="20"
39                   tabindex=""
40                   name="csshovering"
41                   id="csshovering"
42                   class="ieVisible"
43                   tal:attributes="tabindex tabindex/next;">Use this configlet in IE</textarea>
44     </div>
45
46     <div class="field"
47          tal:define="portal_css nocall:here/portal_css|nothing"
48          tal:condition="portal_css">
49         <input type="checkbox" name="enabled" id="enabled"  value="1"
50                tal:define="csshover python:portal_css and portal_css.getResource('csshover.css') or None"
51                tal:attributes="checked csshover/getEnabled|nothing" />
52         <label for="enabled" i18n:translate="label_enabled">Enabled</label>
53     </div>
54
55     <div class="formControls"
56             tal:define="process_creation request/process_creation|nothing;">
57         <input class="context"
58                tabindex=""
59                type="submit"
60                value="Save"
61                name="form.button.Save"
62                i18n:attributes="value"
63                tal:attributes="tabindex tabindex/next" />
64     </div>
65
66     <input type="hidden" name="form.submitted" value="1" />
67    </form>
68
69  </div>
70</body>
71</html>
Note: See TracBrowser for help on using the repository browser.