From: Philipp Klaus Date: Mon, 21 Aug 2017 12:04:06 +0000 (+0200) Subject: DASH: SVG graphical view (1st version) X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=61d8f5abac7299ef5bbee8bb12d82ff7ed4177f8;p=mvd_epics.git DASH: SVG graphical view (1st version) --- diff --git a/python_suite/dashboard/dashboard.py b/python_suite/dashboard/dashboard.py index 3ffcc33..927a688 100755 --- a/python_suite/dashboard/dashboard.py +++ b/python_suite/dashboard/dashboard.py @@ -105,6 +105,11 @@ def list_pvs(page): return abort(404, 'Page not found') return {'config': CONFIG, 'req_page': page} +@route('/gview/') +@view('gview.jinja2') +def gview(name): + return {'config': CONFIG, 'svg': name} + @route('/api/values.json') def index(): return CONFIG diff --git a/python_suite/dashboard/static/gview/cooling.svg b/python_suite/dashboard/static/gview/cooling.svg new file mode 100644 index 0000000..0c45c04 --- /dev/null +++ b/python_suite/dashboard/static/gview/cooling.svg @@ -0,0 +1,418 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + Huber CC-405 + + deg C + 14.00 + + + + + + + + + + + + + + T + T + l/min + 0.000 + l/min + 0.000 + + deg C + 14.00 + + + deg C + 14.00 + + + + + + + + rpm + 0000 + + PRESTO Heatsink + + + + + + +