Service Junk Drawer at /attic
This commit is contained in:
@@ -4,35 +4,35 @@
|
||||
|
||||
<head>
|
||||
<meta charset='utf-8' />
|
||||
<title>Junk Drawer</title>
|
||||
<title>Chip's Attic</title>
|
||||
<script src='https://cdn.tailwindcss.com'></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div>
|
||||
<h1 class="text-xl">Junk Drawer Item</h1>
|
||||
<p>The junk drawer item was uploaded {{lastModified}}</p>
|
||||
<h1 class="text-xl">Attic Item</h1>
|
||||
<p>The attic item was uploaded {{lastModified}}</p>
|
||||
<h2>Description</h2>
|
||||
<p class="bg-slate-100 px-2 py-4">{{description}}</p>
|
||||
<p>Right-click copy: <a class="text-blue-500 underline" href='/junk-drawer/{{slug}}'>{{slug}}</a></p>
|
||||
<p>Right-click copy: <a class="text-blue-500 underline" href='/attic/{{slug}}'>{{slug}}</a></p>
|
||||
{{#if items}}
|
||||
<p class="text-lg">Files:</p>
|
||||
<div class="list-disc list-inside ml-1">
|
||||
{{#each items}}
|
||||
<div>
|
||||
<a target="_blank" class="text-emerald-600" href='/junk-drawer/{{../slug}}/{{filename}}'>
|
||||
<a target="_blank" class="text-emerald-600" href='/attic/{{../slug}}/{{filename}}'>
|
||||
<p>
|
||||
{{filename}}
|
||||
</p>
|
||||
{{#if isImage}}
|
||||
<img height="150" width="150" src='/junk-drawer/{{../slug}}/{{filename}}' alt='{{filename}}' />
|
||||
<img height="150" width="150" src='/attic/{{../slug}}/{{filename}}' alt='{{filename}}' />
|
||||
{{/if}}
|
||||
</a>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<p><a class="text-blue-500 underline" href='/junk-drawer'>Upload another file</a></p>
|
||||
<p><a class="text-blue-500 underline" href='/attic'>Upload another file</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
Reference in New Issue
Block a user