fix html wrpmode

This commit is contained in:
Antoni Sawicki 2024-07-14 14:54:31 -07:00
parent f56c958aba
commit a0eb33fe51

View File

@ -77,7 +77,7 @@
<FONT SIZE="-2"> <FONT SIZE="-2">
<A HREF="/?url=https://github.com/tenox7/wrp/&w={{.Width}}&h={{.Height}}&s={{printf "%.1f" .Zoom}}&c={{.NColors}}&t={{.ImgType}}">Web Rendering Proxy {{.Version}}</A> | <A HREF="/?url=https://github.com/tenox7/wrp/&w={{.Width}}&h={{.Height}}&s={{printf "%.1f" .Zoom}}&c={{.NColors}}&t={{.ImgType}}">Web Rendering Proxy {{.Version}}</A> |
<A HREF="/shutdown/">Shutdown WRP</A> | <A HREF="/shutdown/">Shutdown WRP</A> |
{{ if ne .ImgType "txt" }} {{ if eq .WrpMode "ismap" }}
<A HREF="/">Page Height: {{.PageHeight}}</A> | <A HREF="/">Page Height: {{.PageHeight}}</A> |
<A HREF="/">Img Size: {{.ImgSize}}</A> <A HREF="/">Img Size: {{.ImgSize}}</A>
{{end}} {{end}}