Skip to content

Commit 05b5540

Browse files
committed
Use new Rhea widget (again)
Refs pombase/website#2368
1 parent 00b413b commit 05b5540

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

‎rhea_widget/templates/rhea_widget/index.html‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,16 @@
4141
</head>
4242
<body>
4343

44-
<div>
45-
Rhea {{view_type}} for {{rhea_id}}
46-
</div>
44+
<template id="styles">
45+
<style>
46+
.rhea-reaction-source span {
47+
color: blue
48+
}
49+
</style>
50+
</template>
4751

4852
<script src="https://cdn.jsdelivr.net/npm/@swissprot/rhea-reaction-viz-test"></script>
4953

50-
<rhea-{{view_type}} styleid="styles" zoom rheaid="{{rhea_id}}"></rhea-{{view_type}}>
51-
54+
<rhea-visualizer styleid="styles" rheaid="{{rhea_id}}"></rhea-visualizer>
5255
</body>
5356
</html>

0 commit comments

Comments
 (0)