Ignore:
Timestamp:
2011-06-10T16:27:50+12:00 (13 years ago)
Author:
sjm84
Message:

Adding authenication to the oran skin (and some other tidying)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/transform/layouts/header.xsl

    r24137 r24149  
    2121    </xsl:variable>
    2222   
    23     <!-- Creates a header for -->
     23    <!-- Creates a header for the html page -->
    2424    <xsl:template name="create-html-header">
    2525        <title><xsl:call-template name="pageTitle"/> :: <xsl:call-template name="siteName"/></title>
    2626        <link rel="stylesheet" href="interfaces/{$interface_name}/style/core.css" type="text/css"/>
    2727        <link rel="shortcut icon" href="favicon.ico"/>
    28         <script type="text/javascript" src="interfaces/oran/js/jquery-1.4.2.js"><xsl:text> </xsl:text></script>
     28        <!--<script type="text/javascript" src="interfaces/oran/js/jquery-1.4.2.js"><xsl:text> </xsl:text></script>
    2929        <script type="text/javascript" src="interfaces/oran/js/jquery-ui-1.8rc1/ui/jquery-ui.js"><xsl:text> </xsl:text></script>
    30         <script type="text/javascript" src="interfaces/oran/js/jquery.selectboxes.js"><xsl:text> </xsl:text></script>
     30        <script type="text/javascript" src="interfaces/oran/js/jquery.selectboxes.js"><xsl:text> </xsl:text></script>-->
    3131    </xsl:template>
    3232       
     
    135135                    <xsl:choose>
    136136                        <xsl:when test="string-length($pageTitleVar) &lt; 20">
    137                             font-size: 24px; line-height: 26px;
     137                            <xsl:text>font-size: 1.5em; line-height: 1.5em;</xsl:text>
    138138                        </xsl:when>
    139139                        <xsl:when test="string-length($pageTitleVar) &lt; 30">
    140                             font-size: 22px; line-height: 24px;
     140                            <xsl:text>font-size: 1.4em; line-height: 1.4em;</xsl:text>
    141141                        </xsl:when>
    142142                        <xsl:when test="string-length($pageTitleVar) &lt; 40">
    143                             font-size: 20px; line-height: 22px;
     143                            <xsl:text>font-size: 1.3em; line-height: 1.3em;</xsl:text>
    144144                        </xsl:when>
    145145                        <xsl:when test="string-length($pageTitleVar) &lt; 50">
    146                             font-size: 18px; line-height: 20px;
     146                            <xsl:text>font-size: 1.2em; line-height: 1.2em;</xsl:text>
    147147                        </xsl:when>
    148148                        <xsl:when test="string-length($pageTitleVar) &lt; 60">
    149                             font-size: 16px; line-height: 18px;
     149                            <xsl:text>font-size: 1.1em; line-height: 1.2em;</xsl:text>
    150150                        </xsl:when>
    151151                        <xsl:when test="string-length($pageTitleVar) &lt; 70">
    152                             font-size: 15px; line-height: 17px;
     152                            <xsl:text>font-size: 1em; line-height: 1.1em;</xsl:text>
    153153                        </xsl:when>
    154154                        <xsl:when test="string-length($pageTitleVar) &lt; 80">
    155                             font-size: 14px; line-height: 16px;
     155                            <xsl:text>font-size: 0.9em; line-height: 1em;</xsl:text>
    156156                        </xsl:when>
    157157                        <xsl:when test="string-length($pageTitleVar) &lt; 90">
    158                             font-size: 13px; line-height: 15px;
     158                            <xsl:text>font-size: 0.8em; line-height: 0.9em;</xsl:text>
    159159                        </xsl:when>
    160160                        <xsl:otherwise>
    161                             font-size: 12px; line-height: 14px;
     161                            <xsl:text>font-size: 0.7em; line-height: 0.9em;</xsl:text>
    162162                        </xsl:otherwise>
    163163                    </xsl:choose>
Note: See TracChangeset for help on using the changeset viewer.