summaryrefslogtreecommitdiffstats
path: root/modules-available/roomplanner/templates
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/roomplanner/templates')
-rw-r--r--modules-available/roomplanner/templates/edit-composed-room.html2
-rw-r--r--modules-available/roomplanner/templates/svg-plan.html6
2 files changed, 4 insertions, 4 deletions
diff --git a/modules-available/roomplanner/templates/edit-composed-room.html b/modules-available/roomplanner/templates/edit-composed-room.html
index 64a02d61..3b87cfea 100644
--- a/modules-available/roomplanner/templates/edit-composed-room.html
+++ b/modules-available/roomplanner/templates/edit-composed-room.html
@@ -31,7 +31,7 @@
<div class="name text-nowrap small">{{locationname}}</div>
<div class="img">
<input type="hidden" class="sort-val" name="sort[{{locationid}}]">
- <img src="api.php?do=roomplanner&amp;show=svg&amp;locationid={{locationid}}&amp;scale=2.2">
+ <img src="api.php?do=roomplanner&amp;show=svg&amp;locationid={{locationid}}&amp;scale=2.2&amp;fallback=1">
</div>
<div class="clearfix"></div>
</div>
diff --git a/modules-available/roomplanner/templates/svg-plan.html b/modules-available/roomplanner/templates/svg-plan.html
index 16899e5c..a2ecd5a7 100644
--- a/modules-available/roomplanner/templates/svg-plan.html
+++ b/modules-available/roomplanner/templates/svg-plan.html
@@ -33,9 +33,9 @@
<stop offset="100%" stop-color="#074" />
</radialGradient>
</defs>
- <g transform="scale({{scale}}) rotate({{rotate}} {{centerX}} {{centerY}}) translate({{shiftX}} {{shiftY}})">
- <line x1="{{line.x1}}" y1="{{line.y1}}"
- x2="{{line.x2}}" y2="{{line.y2}}"
+ <g transform="scale({{scale}}) rotate({{rotate}} {{centerX}} {{centerY}})">
+ <line x1="0" y1="{{line.y}}"
+ x2="{{line.x}}" y2="{{line.y}}"
style="stroke:#555;stroke-width:.2;opacity:.5" />
{{#machines}}
<g transform="translate({{gridCol}} {{gridRow}})">