Web Interface: Fix width attributes of images

This commit is contained in:
Florian Festi 2018-03-05 19:57:32 +01:00
parent 3c8ffb8ce4
commit 49f5ecc476
1 changed files with 4 additions and 4 deletions

View File

@ -163,7 +163,7 @@ class BServer:
<a href="./"><h1>Boxes.py</h1></a>
</div>
<div style="width: 150px; float: right;">
<img alt="self-Logo" src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e8/Gray_shaded_3D_cube.svg/2000px-Gray_shaded_3D_cube.svg.png" width="150px" >
<img alt="self-Logo" src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e8/Gray_shaded_3D_cube.svg/2000px-Gray_shaded_3D_cube.svg.png" width="150" >
</div>
<div>
<div class="clear"></div>
@ -192,7 +192,7 @@ class BServer:
<!--
<div style="width: 5%; float: left;"></div>
<div style="width: 35%; float: left;">
<img alt="sample" src="examples/box.svg" width="300px" >
<img alt="sample" src="examples/box.svg" width="300" >
<span id="sicherheitshinweise">hier kommt dann der AJAX-Inhalt</span>
</div>
-->
@ -257,7 +257,7 @@ Create boxes and more with a laser cutter!
</div>
<div style="width: 30%; float: left;">
<img alt="self-Logo" src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e8/Gray_shaded_3D_cube.svg/2000px-Gray_shaded_3D_cube.svg.png" width="300px" >
<img alt="self-Logo" src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e8/Gray_shaded_3D_cube.svg/2000px-Gray_shaded_3D_cube.svg.png" width="300" >
</div>
<div>
<div class="clear"></div>
@ -268,7 +268,7 @@ Create boxes and more with a laser cutter!
result.append('''<h3 onclick="showHide('%s')">%s</h3>\n<div id="%s">\n''' % (nr, group.title, nr))
result.append("""
<div style="width: 20%%; float: right;">
<img width="100%%" id="sample-%s" src="static/nothing.png" alt="" />
<img style="width: 100%%;" id="sample-%s" src="static/nothing.png" alt="" />
</div>\n<ul>\n""" % (group.name))
for box in group.generators:
name = box.__class__.__name__