Skip to content

Commit 8310610

Browse files
[pages] Add anchor for finding IDs
1 parent 1dd6197 commit 8310610

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/flamebin/render.clj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
:isDiffgraph false
1616
:userTransforms ""
1717
:idToFrame idToFrame
18+
:config "null"
1819
:stacks data}))]
1920
(-> (slurp (io/resource "flamegraph-rendering/template.html"))
2021
(cljap.render/render-template {:script full-js}))))

src/flamebin/web/pages.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
[:center [:h1 "Flamebin"]]
5757
[:center [:h5 "Pastebin for your flamegraphs"]]
5858
[:div {:style "display:flex; justify-content:center"}
59-
[:ul
59+
[:ul {:id "flamegraph-list"}
6060
(for [p (core/list-public-profiles)]
6161
[:li (format-ts (:upload_ts p)) " - " [:a {:href (format "/%s" (:id p))} (:id p)] ])]]
6262
[:center [:p [:a {:href "/profiles/upload"} "Upload another"]]]]))

0 commit comments

Comments
 (0)