From 355bc28db006c6242eaa32cc3f1897444f1e9534 Mon Sep 17 00:00:00 2001 From: Ruben Date: Sat, 11 Mar 2017 22:04:12 +0100 Subject: [PATCH] Fixes/workarounds for IE --- colour.py | 3 ++- templates/index.html | 24 +++++++++++++++++------- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/colour.py b/colour.py index c52a01b..e467d58 100644 --- a/colour.py +++ b/colour.py @@ -121,7 +121,8 @@ def getSvgFromDbImages(images, elId = ""): # for c in loadColoursFromDbImages(images): # allColours += c # box 160, because center or circle = 100 => +/- 50 => + r of colour circle (max: 10) => 160 - svg = '' % (elId, ) + # svg = '' % (elId, ) + svg = '' # because of IE this is fully defined here radius = 100 diff --git a/templates/index.html b/templates/index.html index f945af1..78d4cde 100644 --- a/templates/index.html +++ b/templates/index.html @@ -249,7 +249,7 @@ - + @@ -271,24 +271,29 @@