Skip to content

Commit

Permalink
Update header layout and text in web server view
Browse files Browse the repository at this point in the history
Revised the header to use a div with flex display and added padding for better alignment. Changed the text to "Hivemapper - Powered by The Graph Substreams," removing the image for a cleaner look.
  • Loading branch information
billettc committed Sep 16, 2024
1 parent 2d46b5f commit 5297961
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions web/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,15 @@ const tmpl = `
<div class="row-container">
<div class="first-row">
<img src="https://cdn.prod.website-files.com/649aef4c9068091b737a9baf/64c3e6ca809ba2f4f2d76359_streamingfast-p-500.png" width=150 height=63></img>
<span>Hivemaper Dashboard</span>
<div style="display: flex; align-items: center; padding-left: 40px; padding-top: 20px; padding-bottom: 20px;">
<!-- img src="https://cdn.prod.website-files.com/649aef4c9068091b737a9baf/64c3e6ca809ba2f4f2d76359_streamingfast-p-500.png" width=150 height=63></img -->
<span style="font-family:sans-serif; font-weight: bold; font-size: 26px; color:#4F5671;">Hivemapper - Powered by The Graph Substreams</span>
</div>
<div style="padding-left: 25px;">
<button class="round-button" onclick="window.location.href='./'">Overview</button>
<button class="round-button" onclick="window.location.href='./?dashboard=33'">Fleet Dashboard</button>
<button class="round-button" onclick="window.location.href='./?dashboard=34'">Driver Dashboard</button>
</div>
</div>
<iframe
Expand Down

0 comments on commit 5297961

Please sign in to comment.