fix alot
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>GhostShare | Admin</title>
|
||||
<title>Admin</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<style>
|
||||
* { border-radius: 0 !important; }
|
||||
@@ -27,6 +27,7 @@
|
||||
<header class="mb-8 border-b-4 border-black pb-2 flex justify-between items-end">
|
||||
<h1 class="text-3xl font-black uppercase tracking-tighter">System Console</h1>
|
||||
<a href="/" class="nav-link text-xs">← BACK TO UPLOADER</a>
|
||||
<a href="/logout" class="nav-link text-xs">LOGOUT</a>
|
||||
</header>
|
||||
|
||||
<div class="box overflow-x-auto">
|
||||
@@ -44,7 +45,7 @@
|
||||
<tbody>
|
||||
{{range .Files}}
|
||||
<tr>
|
||||
<td class="font-mono">{{.Filename}}</td>
|
||||
<td class="font-mono"><a href="/admin/download/{{.ID}}" target="_blank">{{.Filename}}</a></td>
|
||||
<td>{{.CreatedAt.Format "Jan 02, 15:04"}}</td>
|
||||
<td>{{.ExpiresAt.Format "Jan 02, 15:04"}}</td>
|
||||
<td>{{.DownloadCount}} {{if .DeleteAfterDownload}}(1-SHOT){{end}}</td>
|
||||
@@ -61,7 +62,6 @@
|
||||
<button type="submit">TERMINATE</button>
|
||||
</form>
|
||||
{{else}}
|
||||
-
|
||||
{{end}}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -71,7 +71,7 @@
|
||||
</div>
|
||||
|
||||
<footer class="mt-4 text-[10px] text-gray-500 uppercase font-bold">
|
||||
Total Records: {{len .Files}} | Database: SQLite
|
||||
Total Records: {{len .Files}}
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user