Changeset 14714 for main/kofacustom.dspou
- Timestamp:
- 8 Jul 2017, 04:28:19 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspou/trunk/layout/rules.xml
r14451 r14714 121 121 --> 122 122 123 <!-- the language selector124 125 quite tricky. We insert a <li> element at beginning of126 ul.kofa-navbar-right. This <li> has a header element127 (the 'Language' button) and the a number of <li> elements128 representing the supported languages.129 We change the input content of format130 131 <a href="foo" title="Lang">Abbrev</a>132 133 to134 135 <a href="foo">Lang</a>136 137 creating new nodes (<xsl:element>) with attributes copied over.138 -->139 <before css:theme-children="ul.kofa-navbar-right">140 <li class="dropdown kofa-langselect">141 <a href="#" class="dropdown-toggle"142 data-toggle="dropdown">143 <img src="/static/img/earth.png" />144 </a>145 <ul class="dropdown-menu">146 <xsl:for-each css:select=" .language a">147 <li class="kofa-language">148 <xsl:element name="a">149 <xsl:attribute name="href">150 <xsl:value-of select="@href" />151 </xsl:attribute>152 <xsl:value-of select="@title" />153 </xsl:element>154 </li>155 </xsl:for-each>156 </ul>157 </li>158 </before>159 160 123 <!-- Make all data tables responsive --> 161 124
Note: See TracChangeset for help on using the changeset viewer.