hist: fix anchor placement

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

8
index
View File

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