Changeset 16:addd255c39c9

Show
Ignore:
Timestamp:
04/30/11 12:48:19 (13 years ago)
Author:
František Kučera <franta-hg@…>
Branch:
default
Message:

makro měřák: podpora zaostalých prohlížečů

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • šablona/stránka.xsl

    r15 r16  
    2828                <html> 
    2929                        <head> 
     30                                <xsl:if test="$podporaZaostalýchProhlížečů"> 
     31                                        <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> 
     32                                </xsl:if> 
    3033                                <title><xsl:value-of select="g:stránka/g:nadpis"/></title> 
    3134                                <link title="Novinky (Atom)" href="atom.xml" type="application/atom+xml" rel="alternate"/> 
     
    98101                        <xsl:when test="$hodnota &gt;= 0 and $hodnota &lt;= 100">                                
    99102                                <div style="border: 1px solid black; width: {$šířkaGrafu}px; height: 16px; padding: 0px; text-align: center; background-color: #cfc;">                   
    100                                         <div style="margin: 0px; background-color: #A4E666; width: {@hodnota*$šířkaGrafu div 100}px; height: 16px;"/> 
     103                                        <div style="margin: 0px; background-color: #A4E666; width: {@hodnota*$šířkaGrafu div 100}px; height: 16px;"><xsl:call-template name="varováníRetardace"/></div> 
    101104                                        <p style="margin: 0px; font-size: 12px; position: relative; top: -15px;"> 
    102105                                                <xsl:value-of select="@hodnota"/>/100