Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
19fed6e
)
feat(uti): Add c&p to offcanvas
96/35996/2
author
Tibor Frank
<tifrank@cisco.com>
Tue, 19 Apr 2022 05:43:31 +0000
(07:43 +0200)
committer
Tibor Frank
<tifrank@cisco.com>
Tue, 19 Apr 2022 05:45:28 +0000
(
05:45
+0000)
Change-Id: I235f78d1e7fab94114958dee8aba004bee6b6b03
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/dash/app/pal/trending/layout.py
patch
|
blob
|
history
diff --git
a/resources/tools/dash/app/pal/trending/layout.py
b/resources/tools/dash/app/pal/trending/layout.py
index
9f246d8
..
8d06ada
100644
(file)
--- a/
resources/tools/dash/app/pal/trending/layout.py
+++ b/
resources/tools/dash/app/pal/trending/layout.py
@@
-744,8
+744,18
@@
class Layout:
metadata = [
dbc.Card(
children=[
- dbc.CardHeader(title),
- dbc.CardBody(children=[txt])
+ dbc.CardHeader(children=[
+ dcc.Clipboard(
+ target_id="tput-lat-metadata",
+ title="Copy",
+ style={"display": "inline-block"}
+ ),
+ title
+ ]),
+ dbc.CardBody(
+ id="tput-lat-metadata",
+ children=[txt]
+ )
]
)
]