From 69abfc7fa99a3c519f2ef2b453869c46eeff5186 Mon Sep 17 00:00:00 2001 From: Philipp Klaus Date: Tue, 10 Oct 2017 15:27:23 +0200 Subject: [PATCH] DASH: show copy-to-clipboard btn next to PV name (pv_details) --- .../dashboard/views/pv_details_bootstrap.jinja2 | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/python_suite/dashboard/views/pv_details_bootstrap.jinja2 b/python_suite/dashboard/views/pv_details_bootstrap.jinja2 index 33e519b..8dbd807 100644 --- a/python_suite/dashboard/views/pv_details_bootstrap.jinja2 +++ b/python_suite/dashboard/views/pv_details_bootstrap.jinja2 @@ -27,12 +27,6 @@ {% if PV.alias %}
{{ pv_name }}
{% endif %}
-
- - -
Current Value: {% if 'switch' in PV.classes %} @@ -55,7 +49,16 @@ {% for key in PV %}
{{ property_name_mapping[key] or key }}{% if key in epics_ioc_terminology %} ({{epics_ioc_terminology[key]}}){%endif%}
-
{{ PV[key]|string }}
+
+ {{ PV[key]|string }} + {% if key == 'name' %} +
+ +
+ {% endif %} +
{% endfor %}
-- 2.43.0