Ignore:
Timestamp:
13 Nov 2014, 14:40:27 (10 years ago)
Author:
Henrik Bettermann
Message:

Change of name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/henrik-regista/layout/rules.xml

    r11463 r11949  
    1515  <rules css:if-content="table#layout">
    1616    <theme href="error-zope.html" />
    17     <replace css:theme-children="#kofa-error-message"
     17    <replace css:theme-children="#ikoba-error-message"
    1818             css:content-children="h3" />
    1919  </rules>
     
    2222  <rules css:if-not-content="div">
    2323    <theme href="error-zope.html" />
    24     <replace css:theme-children="#kofa-error-message"
     24    <replace css:theme-children="#ikoba-error-message"
    2525             css:content-children="body" />
    2626  </rules>
    2727
    2828  <!-- regular rules -->
    29   <rules css:if-content="body.kofa-body">
     29  <rules css:if-content="body.ikoba-body">
    3030
    3131    <theme href="theme.html" />
     
    3636
    3737    <!-- 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" />
    4242
    4343    <!-- 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" />
    4646
    4747    <!-- 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" />
    5050
    5151    <!-- breadcrumbs -->
    52     <drop css:theme="div.kofa-breadcrumbs-box-long"
     52    <drop css:theme="div.ikoba-breadcrumbs-box-long"
    5353          css:if-not-content="ul.breadcrumb" />
    54     <drop css:theme="div.kofa-breadcrumbs-box-long"
     54    <drop css:theme="div.ikoba-breadcrumbs-box-long"
    5555          css:if-content="div.wfstatus" />
    56     <drop css:theme="div.kofa-breadcrumbs-box-short"
     56    <drop css:theme="div.ikoba-breadcrumbs-box-short"
    5757          css:if-not-content="ul.breadcrumb" />
    58     <drop css:theme="div.kofa-breadcrumbs-box-short"
     58    <drop css:theme="div.ikoba-breadcrumbs-box-short"
    5959          css:if-not-content="div.wfstatus" />
    60     <replace css:theme-children="ol.kofa-breadcrumbs"
     60    <replace css:theme-children="ol.ikoba-breadcrumbs"
    6161             css:content-children="ul.breadcrumb" />
    6262
    6363    <!-- student status -->
    64     <drop css:theme="div.kofa-student-status-box"
     64    <drop css:theme="div.ikoba-student-status-box"
    6565          css:if-not-content="div.wfstatus" />
    6666    <replace css:theme-children="div.wfstatus"
     
    6969    <!-- sidebar -->
    7070
    71     <drop css:theme="div.kofa-sidebar"
     71    <drop css:theme="div.ikoba-sidebar"
    7272          css:if-not-content="div.sidebar" />
    7373    <replace css:theme-children="div.sidebar-nav"
     
    7878    <!-- drop one of the both content areas, depending on sidebar -->
    7979
    80     <drop css:theme="div.kofa-content-narrow"
     80    <drop css:theme="div.ikoba-content-narrow"
    8181          css:if-not-content="div.sidebar" />
    82     <drop css:theme="div.kofa-content-wide"
     82    <drop css:theme="div.ikoba-content-wide"
    8383          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" />
    8686
    8787
    8888    <!-- scripts -->
    89     <drop css:theme="script.kofa-script-tooltip"
     89    <drop css:theme="script.ikoba-script-tooltip"
    9090          css:if-not-content="[data-toggle='tooltip']" />
    9191
    92     <drop css:theme="script.kofa-script-datepicker"
     92    <drop css:theme="script.ikoba-script-datepicker"
    9393          css:if-not-content="input.datepicker-le-year" />
    9494
    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" />
    9797
    9898<!--
     
    116116    <!-- left top navigation -->
    117117<!--
    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" />
    120120-->
    121121
     
    123123
    124124      quite tricky. We insert a <li> element at beginning of
    125       ul.kofa-navbar-right. This <li> has a header element
     125      ul.ikoba-navbar-right. This <li> has a header element
    126126      (the 'Language' button) and the a number of <li> elements
    127127      representing the supported languages.
     
    136136      creating new nodes (<xsl:element>) with attributes copied over.
    137137    -->
    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">
    140140        <a href="#" class="dropdown-toggle"
    141141           data-toggle="dropdown">
     
    144144        <ul class="dropdown-menu">
    145145          <xsl:for-each css:select=" .language a">
    146             <li class="kofa-language">
     146            <li class="ikoba-language">
    147147              <xsl:element name="a">
    148148                <xsl:attribute name="href">
     
    159159    <!-- Make all data tables responsive -->
    160160
    161     <replace css:content="table.kofa-data-table">
     161    <replace css:content="table.ikoba-data-table">
    162162      <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"/>
    164164      </div>
    165165    </replace>
Note: See TracChangeset for help on using the changeset viewer.