Changeset 11942 for main/kofacustom.wdu/trunk/layout
- Timestamp:
- 10 Nov 2014, 07:23:07 (10 years ago)
- Location:
- main/kofacustom.wdu/trunk/layout
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.wdu/trunk/layout/rules.xml
r11472 r11942 113 113 --> 114 114 115 <!-- the language selector116 117 quite tricky. We insert a <li> element at beginning of118 ul.kofa-navbar-right. This <li> has a header element119 (the 'Language' button) and the a number of <li> elements120 representing the supported languages.121 We change the input content of format122 123 <a href="foo" title="Lang">Abbrev</a>124 125 to126 127 <a href="foo">Lang</a>128 129 creating new nodes (<xsl:element>) with attributes copied over.130 -->131 <before css:theme-children="ul.kofa-navbar-right">132 <li class="dropdown kofa-langselect">133 <a href="#" class="dropdown-toggle"134 data-toggle="dropdown">135 <img src="/static/img/earth.png" />136 </a>137 <ul class="dropdown-menu">138 <xsl:for-each css:select=" .language a">139 <li class="kofa-language">140 <xsl:element name="a">141 <xsl:attribute name="href">142 <xsl:value-of select="@href" />143 </xsl:attribute>144 <xsl:value-of select="@title" />145 </xsl:element>146 </li>147 </xsl:for-each>148 </ul>149 </li>150 </before>151 152 115 <!-- Make all data tables responsive --> 153 116
Note: See TracChangeset for help on using the changeset viewer.