Skip to content

Commit

Permalink
Sync b+tree printer index.html (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
lanlou1554 authored Oct 7, 2024
1 parent a46ce28 commit d5f7943
Showing 1 changed file with 27 additions and 9 deletions.
36 changes: 27 additions & 9 deletions tools/wasm-bpt-printer/extra_files/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html>

<head>
<title>BusTub B+Tree Printer</title>
<title>BusTub B+Tree Visualizer</title>
<!-- jQuery -->
<script src="https://unpkg.com/[email protected]/dist/jquery.min.js"></script>
<!-- jQuery Terminal -->
Expand All @@ -19,6 +19,23 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap" rel="stylesheet">

<!-- Preview -->
<meta property="og:site_name" content="CMU 15-445/645" />
<meta property="og:type" content="website" />
<meta property="og:title" content="BusTub B+Tree Visualizer" />
<meta property="og:url" content="https://15445.courses.cs.cmu.edu" />
<meta property="og:description" content="Online visualization tool for BusTub's B+Tree project" />
<meta property="og:image" content="https://15445.courses.cs.cmu.edu/fall2022/images/bustub-shell.png" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@CMUDB">
<meta name="twitter:creator" content="@CMUDB">
<meta name="twitter:domain" content=".">
<meta property="twitter:label1" content="Semester?" />
<meta property="twitter:data1" content="Fall 2024" />
<meta property="twitter:label1" content="Relational?" />
<meta property="twitter:data1" content="Hell Yes" />

<!-- GraphViz -->
<script src="https://unpkg.com/[email protected]/viz.js"></script>
<script src="https://unpkg.com/[email protected]/full.render.js"></script>
Expand Down Expand Up @@ -149,16 +166,17 @@
}
}
}, {
greetings:
`Welcome to the BusTub B+ Tree Printer shell! \u{1F68C}\u{1F6C1}
greetings: `[[@;;;;bustub.svg]]`,
prompt: () => initialized ? "[[b;;]printer> ]" : "leaf_max_size and internal_max_size? (e.g., 3 3) "
})
term.echo(`<hr><h1>BusTub B+Tree Visualizer</h1>`, { raw: true })
term.echo(`
[[b;;]Solution Version:] ${BUSTUB_PRIVATE_VERSION_VAR} . [[b;;]BusTub Version:] ${BUSTUB_PUBLIC_VERSION_VAR} . [[b;;]Built Date:] ${BUSTUB_BUILD_TIME_VAR}
BusTub is a relational database management system built at Carnegie Mellon University for the Introduction to Database Systems (15-445/645) course. This system was developed for educational purposes and should not be used in production environments. [[!;;;;https://github.com/cmu-db/bustub]BusTub on GitHub] [[!;;;;https://15445.courses.cs.cmu.edu/]Course Website] [[!;;;;https://github.com/cmu-db/bustub/issues/new]Report Bugs]
BusTub is a relational database management system built at Carnegie Mellon University for the Introduction to Database Systems (15-445/645) course. This system was developed for educational purposes and should not be used in production environments. &#91;[[!;;;;https://github.com/cmu-db/bustub]BusTub on GitHub]&#93; &#91;[[!;;;;https://15445.courses.cs.cmu.edu/]Course Website]&#93; &#91;[[!;;;;https://github.com/cmu-db/bustub/issues/new]Report Bugs]&#93;
${helpMessage}
This is BusTub reference solution running in your browser. Solution Version: ${BUSTUB_PRIVATE_VERSION_VAR}, BusTub Version: ${BUSTUB_PUBLIC_VERSION_VAR}, built at ${BUSTUB_BUILD_TIME_VAR}.
`,
prompt: () => initialized ? "[[b;;]printer> ]" : "leaf_max_size and internal_max_size? (e.g., 3 3) "
})
`)
})
</script>

Expand All @@ -172,4 +190,4 @@
gtag('config', 'UA-52525161-8');
</script>

</html>
</html>

0 comments on commit d5f7943

Please sign in to comment.