Improve code
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<link rel="stylesheet" href="stylesheet.css"/>
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1 id="cabinet">Cabinet file manager</h1>
|
||||
<a class="button" id="back" href="../index.html">← Back</a>
|
||||
<span id="path">${path}</span>
|
||||
</header>
|
||||
<main>
|
||||
${content}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
@@ -2,14 +2,14 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<link rel="stylesheet" href="stylesheet.css"/>
|
||||
<link rel="stylesheet" href="${root}stylesheet.css"/>
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1 id="cabinet">Cabinet file manager</h1>
|
||||
<div>
|
||||
<a class="button" id="back" href="index.html">← Back</a>
|
||||
<a class="button" id="back" href="${root}index.html">← Back</a>
|
||||
<span id="path">${path}</span>
|
||||
<a class="button" id="pdf" href="${pdf}">↓ PDF</a>
|
||||
</div>
|
||||
|
16
templates/index.html
Normal file
16
templates/index.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<link rel="stylesheet" href="stylesheet.css"/>
|
||||
<title>Cabinet</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1 style="margin: 0;" id="cabinet">Cabinet file manager</h1>
|
||||
</header>
|
||||
<body>
|
||||
${toc}
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user