Skip to content

Commit

Permalink
make header + tab title more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpal committed May 28, 2024
1 parent af7bc48 commit 2551145
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions infra/nightly-resources/handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ async function load_llvm() {
const benchmark = params.get("benchmark");
const runMode = params.get("runmode");

document.title = `${benchmark} | ${runMode}`;
document.getElementById("llvm-header").innerText = `Benchmark: ${benchmark} | Run Mode: ${runMode}`;

if (!benchmark || !runMode) {
console.error("missing query params, this probably shouldn't happen");
return;
Expand Down
2 changes: 1 addition & 1 deletion infra/nightly-resources/llvm.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<title>LLVM</title>

<body onload="load_llvm()">
<h2>LLVM</h2>
<h2 id="llvm-header">LLVM</h2>
<button class="collapsible" onclick="toggleAllPngs(this)">Expand All</button>
<div id="llvm-cfg"></div>
<button type="button" class="collapsible" onclick="toggle(this, '\u25B6 Show LLVM', '\u25BC Hide LLVM')">\u25BC Hide LLVM</button>
Expand Down

0 comments on commit 2551145

Please sign in to comment.