Skip to content

Commit

Permalink
Fix GO-CAM URL for gocam-viz
Browse files Browse the repository at this point in the history
  • Loading branch information
kimrutherford committed Jan 6, 2025
1 parent 589fda1 commit 51fd268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gocam_viz/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def index(request):
else:
graph_height = 650

gocam_viz_html = f"<wc-gocam-viz style='--button-background: #2598c5; --button-background-hover: #2598c5; -- --button-color: #fff; --panel-header-border-width: 1px; --panel-header-border-color: #ddd; --border-color: #d1c4e9; --panel-header-padding: 0.2em; --panel-header-background: #f2f2f2; --graph-height: {graph_height}px;' id='gocam-1' api-url='/api/v1/dataset/latest/data/gocam/%ID' gocam-id='{gocam_id}'></wc-gocam-viz>"
gocam_viz_html = f"<wc-gocam-viz style='--button-background: #2598c5; --button-background-hover: #2598c5; -- --button-color: #fff; --panel-header-border-width: 1px; --panel-header-border-color: #ddd; --border-color: #d1c4e9; --panel-header-padding: 0.2em; --panel-header-background: #f2f2f2; --graph-height: {graph_height}px;' id='gocam-1' api-url='/api/v1/dataset/latest/data/go-cam/%ID' gocam-id='{gocam_id}'></wc-gocam-viz>"

context = {
# 'full_or_widget': full_or_widget,
Expand Down

0 comments on commit 51fd268

Please sign in to comment.