Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
feat(uti): Add c&p to offcanvas
[csit.git]
/
resources
/
tools
/
dash
/
app
/
pal
/
trending
/
layout.py
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=[
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]
+ )
]
)
]
]
)
]