hist: fix anchor placement

This commit is contained in:
Vincent Riquer 2014-06-23 15:16:55 +02:00
parent 9c5c4b8c3a
commit 838118a388

18
index
View File

@ -107,7 +107,7 @@ then
</tr>
</table>
</div>
<div style="position:absolute; top:3em">
<div style="position:absolute; top:3em; heigth:-3em">
EOHTML
readarray -t lastupdatelines < <(
rrdtool lastupdate $rrdfile
@ -448,7 +448,7 @@ then
</tr>
</table>
</div>
<div style="position:absolute; top:4.5em">
<div style="position:absolute; top:5em">
EOHTML
if (( show_all ))
@ -495,14 +495,12 @@ then
height=155
fi
cat <<-EOHTML
<div>
<img
src="?graph=$stat&amp;start=$start&amp;end=$end"
width="$(( graph_width + 97 ))"
height="$height"
id="$stat"
alt="Ingress $stat evolution" />
</div>
<div id="$stat" style="position:relative; top: -5em" />
<img
src="?graph=$stat&amp;start=$start&amp;end=$end"
width="$(( graph_width + 97 ))"
height="$height"
alt="Ingress $stat evolution" />
EOHTML
done
fi