Changeset 14446
- Timestamp:
- 24 Jan 2017, 07:24:59 (8 years ago)
- Location:
- main/kofacustom.coewarri/trunk/layout
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.coewarri/trunk/layout/rules.xml
r13519 r14446 102 102 css:if-not-content="table.kofa-data-table" /> 103 103 104 <drop css:theme="script.kofa-filterByText" 105 css:if-not-content="input.kofa-filterbox" /> 104 106 105 107 <!-- … … 119 121 --> 120 122 121 <!-- the language selector122 123 quite tricky. We insert a <li> element at beginning of124 ul.kofa-navbar-right. This <li> has a header element125 (the 'Language' button) and the a number of <li> elements126 representing the supported languages.127 We change the input content of format128 129 <a href="foo" title="Lang">Abbrev</a>130 131 to132 133 <a href="foo">Lang</a>134 135 creating new nodes (<xsl:element>) with attributes copied over.136 -->137 <before css:theme-children="ul.kofa-navbar-right">138 <li class="dropdown kofa-langselect">139 <a href="#" class="dropdown-toggle"140 data-toggle="dropdown">141 <img src="/static/img/earth.png" />142 </a>143 <ul class="dropdown-menu">144 <xsl:for-each css:select=" .language a">145 <li class="kofa-language">146 <xsl:element name="a">147 <xsl:attribute name="href">148 <xsl:value-of select="@href" />149 </xsl:attribute>150 <xsl:value-of select="@title" />151 </xsl:element>152 </li>153 </xsl:for-each>154 </ul>155 </li>156 </before>157 158 123 <!-- Make all data tables responsive --> 159 124 -
main/kofacustom.coewarri/trunk/layout/theme.html
r13519 r14446 318 318 </div> 319 319 320 <br><br> 321 322 <h3>Filtered Select Box</h3> 323 <br> 324 <input id="filterbox" class="kofa-filterbox form-control half" 325 placeholder="Enter search text, then select item below." 326 type="text" /> 327 <br /> 328 <select id="filteredselect" class="form-control half" size=2> 329 <option value="1">1</option> 330 <option value="1234567890">1234567890</option> 331 <option value="better">better</option> 332 <option value="world">world</option> 333 </select> 320 334 321 335 </div><!-- /tab-content --> … … 345 359 </div> 346 360 <div>...content that spans the whole page.</div> 361 362 <br><br> 363 <h3>Accordions</h3> 364 <div class="panel-group" id="accordion" role="tablist" 365 aria-multiselectable="true"> 366 <div class="panel panel-default"> 367 <div class="panel-heading" role="tab" id="headingTwo"> 368 <h4 class="panel-title"> 369 <a class="collapsed" data-toggle="collapse" 370 data-parent="#accordion" href="#collapseTwo" 371 aria-expanded="false" aria-controls="collapseTwo"> 372 Collapsible Group 373 </a> 374 </h4> 375 </div> 376 <div id="collapseTwo" class="panel-collapse collapse" 377 role="tabpanel" aria-labelledby="headingTwo"> 378 <div class="panel-body"> 379 Anim pariatur cliche reprehenderit, enim eiusmod high life 380 terry richardson ad squid. 3 wolf moon officia aute, non 381 skateboard dolor brunch. Food truck quinoa laborum eiusmod. 382 </div> 383 </div> 384 </div> 385 </div> 386 347 387 <br><br> 348 388 <h3>A Sample Data Table</h3> … … 528 568 </tbody> 529 569 </table> 570 <br> 571 <div class="documentation"> 572 <a href="#" target="_blank"> 573 Kofa Docs for this page 574 </a> 575 </div> 530 576 </div> <!-- /well kofa-content--> 531 577 </div> <!-- /kofa-content-wide --> … … 563 609 src="static/js/kofa-datepicker.js"> 564 610 </script> 611 <script class="kofa-filterByText" 612 src="static/js/kofa-filterByText.js"> 613 </script> 565 614 </body> 566 615 </html>
Note: See TracChangeset for help on using the changeset viewer.