equal
deleted
inserted
replaced
25 <!-- Celý dokument: --> |
25 <!-- Celý dokument: --> |
26 <xsl:template match="/"> |
26 <xsl:template match="/"> |
27 <xsl:variable name="konfigurace" select="document(concat($vstup, 'web.conf'))"/> |
27 <xsl:variable name="konfigurace" select="document(concat($vstup, 'web.conf'))"/> |
28 <html> |
28 <html> |
29 <head> |
29 <head> |
|
30 <xsl:if test="$podporaZaostalýchProhlížečů"> |
|
31 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> |
|
32 </xsl:if> |
30 <title><xsl:value-of select="g:stránka/g:nadpis"/></title> |
33 <title><xsl:value-of select="g:stránka/g:nadpis"/></title> |
31 <link title="Novinky (Atom)" href="atom.xml" type="application/atom+xml" rel="alternate"/> |
34 <link title="Novinky (Atom)" href="atom.xml" type="application/atom+xml" rel="alternate"/> |
32 <link title="Novinky (RSS)" href="rss.xml" type="application/rss+xml" rel="alternate"/> |
35 <link title="Novinky (RSS)" href="rss.xml" type="application/rss+xml" rel="alternate"/> |
33 <xsl:apply-templates select="$konfigurace/g:web/g:js"/> |
36 <xsl:apply-templates select="$konfigurace/g:web/g:js"/> |
34 <xsl:apply-templates select="$konfigurace/g:web/g:css"/> |
37 <xsl:apply-templates select="$konfigurace/g:web/g:css"/> |
95 <xsl:variable name="hodnota" select="number(@hodnota)"/> |
98 <xsl:variable name="hodnota" select="number(@hodnota)"/> |
96 <xsl:variable name="šířkaGrafu" select="128"/> |
99 <xsl:variable name="šířkaGrafu" select="128"/> |
97 <xsl:choose> |
100 <xsl:choose> |
98 <xsl:when test="$hodnota >= 0 and $hodnota <= 100"> |
101 <xsl:when test="$hodnota >= 0 and $hodnota <= 100"> |
99 <div style="border: 1px solid black; width: {$šířkaGrafu}px; height: 16px; padding: 0px; text-align: center; background-color: #cfc;"> |
102 <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> |
101 <p style="margin: 0px; font-size: 12px; position: relative; top: -15px;"> |
104 <p style="margin: 0px; font-size: 12px; position: relative; top: -15px;"> |
102 <xsl:value-of select="@hodnota"/>/100 |
105 <xsl:value-of select="@hodnota"/>/100 |
103 </p> |
106 </p> |
104 </div> |
107 </div> |
105 </xsl:when> |
108 </xsl:when> |