Changeset 3630 in products for quintagroup.dropdownmenu


Ignore:
Timestamp:
Feb 13, 2013 4:23:54 PM (11 years ago)
Author:
kroman0
Message:

Wraped mobile menu in div

Location:
quintagroup.dropdownmenu/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.dropdownmenu/trunk/docs/HISTORY.txt

    r3628 r3630  
    1313 
    1414* Cleanup templates [kroman0] 
     15 
     16* Wraped mobile menu in div [kroman0] 
    1517 
    16181.2.11 - August 10,2012 
  • quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/templates/sections.pt

    r3628 r3630  
    1010            >DropDown Menu</li 
    1111        ></ul 
    12     ><select id="portal-globalnav-mobile" 
    13              tal:condition="view/conf/mobile_menu" 
    14              tal:content="structure view/createMenuMobile" 
    15              onchange="location = this.options[this.selectedIndex].value;" 
    16         ><option value="" selected="selected" 
    17             >Menu</option 
    18         ></select 
    19     ></tal:tabs> 
     12    ><div class="mobileMenu" 
     13        ><select id="portal-globalnav-mobile" 
     14                 tal:condition="view/conf/mobile_menu" 
     15                tal:content="structure view/createMenuMobile" 
     16                onchange="location = this.options[this.selectedIndex].value;" 
     17            ><option value="" selected="selected" 
     18                >Menu</option 
     19            ></select 
     20        ></div 
     21    ></tal:tabs 
     22> 
  • quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/templates/sections_mobile.pt

    r3628 r3630  
    1818                    ><tal:span tal:content="node/Title" 
    1919                        >Selected Item Title</tal:span 
    20                 ></option 
    21             ><option tal:attributes="value python:item_url; 
    22                                      title node/Description;" 
    23                      selected="selected" 
    24                      tal:condition="is_current" 
    25                 ><tal:span tal:repeat="l python:range(level-2)" 
    26                     >&nbsp;&nbsp;</tal:span 
    27                 ><tal:span tal:condition="python:level>1" 
    28                     >&minus;&nbsp;</tal:span 
    29                 ><tal:span tal:content="node/Title" 
    30                     >Selected Item Title</tal:span 
    31                 ></option 
    32             ><option tal:condition="python: len(children) > 0 and show_children" 
    33                      tal:replace="structure python:view.mobile(children=children, level=level+1)" 
    34                 >SubMenu</option 
    35             ></tal:option 
    36         ></tal:navitem 
    37     ></metal:main 
    38 ></tal:master> 
     20                    ></option 
     21                ><option tal:attributes="value python:item_url; 
     22                                         title node/Description;" 
     23                         selected="selected" 
     24                         tal:condition="is_current" 
     25                    ><tal:span tal:repeat="l python:range(level-2)" 
     26                        >&nbsp;&nbsp;</tal:span 
     27                    ><tal:span tal:condition="python:level>1" 
     28                        >&minus;&nbsp;</tal:span 
     29                    ><tal:span tal:content="node/Title" 
     30                        >Selected Item Title</tal:span 
     31                    ></option 
     32                ><option tal:condition="python: len(children) > 0 and show_children" 
     33                         tal:replace="structure python:view.mobile(children=children, level=level+1)" 
     34                    >SubMenu</option 
     35                ></tal:option 
     36            ></tal:navitem 
     37        ></metal:main 
     38    ></tal:master 
     39> 
  • quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/templates/sections_recurse.pt

    r3628 r3630  
    2727                                tal:attributes="class python: plonefour and show_icons and item_type and 'contenttype-'+ item_type or nothing" 
    2828                            >Selected Item Title</span 
    29                     ></a 
    30                 ><ul tal:attributes="class python:'globalSectionsLevel'+str(level)" 
    31                        tal:condition="python: len(children) > 0 and show_children" 
    32                     ><li tal:replace="structure python:view.recurse(children=children, level=level+1)" 
    33                         >SubMenu</li 
    34                     ></ul 
    35                 ></tal:level 
    36             ></li 
    37         ></tal:navitem 
    38     ></metal:main 
    39 ></tal:master> 
     29                        ></a 
     30                    ><ul tal:attributes="class python:'globalSectionsLevel'+str(level)" 
     31                         tal:condition="python: len(children) > 0 and show_children" 
     32                        ><li tal:replace="structure python:view.recurse(children=children, level=level+1)" 
     33                            >SubMenu</li 
     34                        ></ul 
     35                    ></tal:level 
     36                ></li 
     37            ></tal:navitem 
     38        ></metal:main 
     39    ></tal:master 
     40> 
Note: See TracChangeset for help on using the changeset viewer.