Script rewrite
This commit is contained in:
34
templates/note.html
Normal file
34
templates/note.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<link rel="stylesheet" href="${root}/bootstrap/css/bootstrap.min.css"/>
|
||||
<link rel="stylesheet" href="${root}/highlight.css"/>
|
||||
<link rel="stylesheet" href="${root}/stylesheet.css"/>
|
||||
<script src="${root}/jquery.js"></script>
|
||||
<script src="${root}/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
<script>
|
||||
window.MathJax = {
|
||||
options: {
|
||||
enableMenu: false,
|
||||
enableEnrichment: false
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script src="${root}/mathjax/es5/tex-mml-chtml.js"></script>
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body>
|
||||
<header class="container-fluid">
|
||||
<h1 id="cabinet"><img id="cabinet-icon" src="${root}/cabinet.png"/>Cabinet</h1>
|
||||
</header>
|
||||
<nav class="container-fluid">
|
||||
<a class="button" id="back" href="${root}/index.html">← Back</a>
|
||||
<span id="path">${breadcrumbs}</span>
|
||||
<a class="button" id="pdf" href="${pdf}">↓ PDF</a>
|
||||
</nav>
|
||||
<main class="container">
|
||||
${body}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user