Add PDF generation
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<body>
|
||||
<header>
|
||||
<h1 id="cabinet">Cabinet file manager</h1>
|
||||
<a id="back" href="../index.html">← Back</a>
|
||||
<a class="button" id="back" href="../index.html">← Back</a>
|
||||
<span id="path">${path}</span>
|
||||
</header>
|
||||
<main>
|
||||
|
@@ -8,11 +8,13 @@
|
||||
<body>
|
||||
<header>
|
||||
<h1 id="cabinet">Cabinet file manager</h1>
|
||||
<a id="back" href="index.html">← Back</a>
|
||||
<div>
|
||||
<a class="button" id="back" href="index.html">← Back</a>
|
||||
<span id="path">${path}</span>
|
||||
<a class="button" id="pdf" href="${pdf}">↓ PDF</a>
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<h1>${title}<h1>
|
||||
${content}
|
||||
</main>
|
||||
</body>
|
||||
|
@@ -14,11 +14,27 @@ a {
|
||||
color: #3b7fdd;
|
||||
}
|
||||
|
||||
.button {
|
||||
padding: .4em;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
#pdf {
|
||||
background-color: red;
|
||||
color: white;
|
||||
right: 0;
|
||||
bottom: -.4em;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
header div {
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#back {
|
||||
background-color: #3b7fdd;
|
||||
color: black;
|
||||
padding: .4em;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
#path {
|
||||
|
Reference in New Issue
Block a user