mirror of
https://github.com/tenox7/wrp.git
synced 2024-11-24 07:30:58 +00:00
do not display image properties when there is no image
This commit is contained in:
parent
abea41f498
commit
2733a84d2d
6
wrp.html
6
wrp.html
@ -60,8 +60,10 @@
|
||||
<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="/shutdown/">Shutdown WRP</A> |
|
||||
{{ if ne .ImgType "txt" }}
|
||||
<A HREF="/">Page Height: {{.PageHeight}}</A> |
|
||||
<A HREF="/">Img Size: {{.ImgSize}}</A>
|
||||
</FONT>
|
||||
{{end}}
|
||||
</FONT>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
Loading…
Reference in New Issue
Block a user