Changeset 11949 for main/waeup.kofa/branches/henrik-regista/layout
- Timestamp:
- 13 Nov 2014, 14:40:27 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/henrik-regista/layout/rules.xml
r11463 r11949 15 15 <rules css:if-content="table#layout"> 16 16 <theme href="error-zope.html" /> 17 <replace css:theme-children="# kofa-error-message"17 <replace css:theme-children="#ikoba-error-message" 18 18 css:content-children="h3" /> 19 19 </rules> … … 22 22 <rules css:if-not-content="div"> 23 23 <theme href="error-zope.html" /> 24 <replace css:theme-children="# kofa-error-message"24 <replace css:theme-children="#ikoba-error-message" 25 25 css:content-children="body" /> 26 26 </rules> 27 27 28 28 <!-- regular rules --> 29 <rules css:if-content="body. kofa-body">29 <rules css:if-content="body.ikoba-body"> 30 30 31 31 <theme href="theme.html" /> … … 36 36 37 37 <!-- brand (upper left) --> 38 <copy attributes="href" css:theme="a. kofa-brand-link"39 css:content="a. kofa-brand-link" />40 <replace css:theme-children="a. kofa-brand-link"41 css:content-children="a. kofa-brand-link" />38 <copy attributes="href" css:theme="a.ikoba-brand-link" 39 css:content="a.ikoba-brand-link" /> 40 <replace css:theme-children="a.ikoba-brand-link" 41 css:content-children="a.ikoba-brand-link" /> 42 42 43 43 <!-- left top navigation --> 44 <replace css:theme-children="ul. kofa-navbar-left"45 css:content-children="ul. kofa-navbar-left" />44 <replace css:theme-children="ul.ikoba-navbar-left" 45 css:content-children="ul.ikoba-navbar-left" /> 46 46 47 47 <!-- right side top navigation --> 48 <replace css:theme-children="ul. kofa-navbar-right"49 css:content-children="ul. kofa-navbar-right" />48 <replace css:theme-children="ul.ikoba-navbar-right" 49 css:content-children="ul.ikoba-navbar-right" /> 50 50 51 51 <!-- breadcrumbs --> 52 <drop css:theme="div. kofa-breadcrumbs-box-long"52 <drop css:theme="div.ikoba-breadcrumbs-box-long" 53 53 css:if-not-content="ul.breadcrumb" /> 54 <drop css:theme="div. kofa-breadcrumbs-box-long"54 <drop css:theme="div.ikoba-breadcrumbs-box-long" 55 55 css:if-content="div.wfstatus" /> 56 <drop css:theme="div. kofa-breadcrumbs-box-short"56 <drop css:theme="div.ikoba-breadcrumbs-box-short" 57 57 css:if-not-content="ul.breadcrumb" /> 58 <drop css:theme="div. kofa-breadcrumbs-box-short"58 <drop css:theme="div.ikoba-breadcrumbs-box-short" 59 59 css:if-not-content="div.wfstatus" /> 60 <replace css:theme-children="ol. kofa-breadcrumbs"60 <replace css:theme-children="ol.ikoba-breadcrumbs" 61 61 css:content-children="ul.breadcrumb" /> 62 62 63 63 <!-- student status --> 64 <drop css:theme="div. kofa-student-status-box"64 <drop css:theme="div.ikoba-student-status-box" 65 65 css:if-not-content="div.wfstatus" /> 66 66 <replace css:theme-children="div.wfstatus" … … 69 69 <!-- sidebar --> 70 70 71 <drop css:theme="div. kofa-sidebar"71 <drop css:theme="div.ikoba-sidebar" 72 72 css:if-not-content="div.sidebar" /> 73 73 <replace css:theme-children="div.sidebar-nav" … … 78 78 <!-- drop one of the both content areas, depending on sidebar --> 79 79 80 <drop css:theme="div. kofa-content-narrow"80 <drop css:theme="div.ikoba-content-narrow" 81 81 css:if-not-content="div.sidebar" /> 82 <drop css:theme="div. kofa-content-wide"82 <drop css:theme="div.ikoba-content-wide" 83 83 css:if-content="div.sidebar" /> 84 <replace css:theme-children="div. kofa-content"85 css:content-children="div. kofa-content" />84 <replace css:theme-children="div.ikoba-content" 85 css:content-children="div.ikoba-content" /> 86 86 87 87 88 88 <!-- scripts --> 89 <drop css:theme="script. kofa-script-tooltip"89 <drop css:theme="script.ikoba-script-tooltip" 90 90 css:if-not-content="[data-toggle='tooltip']" /> 91 91 92 <drop css:theme="script. kofa-script-datepicker"92 <drop css:theme="script.ikoba-script-datepicker" 93 93 css:if-not-content="input.datepicker-le-year" /> 94 94 95 <drop css:theme="script. kofa-script-datatable"96 css:if-not-content="table. kofa-data-table" />95 <drop css:theme="script.ikoba-script-datatable" 96 css:if-not-content="table.ikoba-data-table" /> 97 97 98 98 <!-- … … 116 116 <!-- left top navigation --> 117 117 <!-- 118 <replace css:theme-children="ul. kofa-navbar-left"119 css:content-children="ul. kofa-navbar-left" />118 <replace css:theme-children="ul.ikoba-navbar-left" 119 css:content-children="ul.ikoba-navbar-left" /> 120 120 --> 121 121 … … 123 123 124 124 quite tricky. We insert a <li> element at beginning of 125 ul. kofa-navbar-right. This <li> has a header element125 ul.ikoba-navbar-right. This <li> has a header element 126 126 (the 'Language' button) and the a number of <li> elements 127 127 representing the supported languages. … … 136 136 creating new nodes (<xsl:element>) with attributes copied over. 137 137 --> 138 <before css:theme-children="ul. kofa-navbar-right">139 <li class="dropdown kofa-langselect">138 <before css:theme-children="ul.ikoba-navbar-right"> 139 <li class="dropdown ikoba-langselect"> 140 140 <a href="#" class="dropdown-toggle" 141 141 data-toggle="dropdown"> … … 144 144 <ul class="dropdown-menu"> 145 145 <xsl:for-each css:select=" .language a"> 146 <li class=" kofa-language">146 <li class="ikoba-language"> 147 147 <xsl:element name="a"> 148 148 <xsl:attribute name="href"> … … 159 159 <!-- Make all data tables responsive --> 160 160 161 <replace css:content="table. kofa-data-table">161 <replace css:content="table.ikoba-data-table"> 162 162 <div class="table-responsive"> 163 <xsl:apply-templates css:select="table. kofa-data-table" mode="raw"/>163 <xsl:apply-templates css:select="table.ikoba-data-table" mode="raw"/> 164 164 </div> 165 165 </replace>
Note: See TracChangeset for help on using the changeset viewer.