sxbin/templates/file.html

30 lines
806 B
HTML
Raw Permalink Normal View History

2024-09-08 13:15:49 +02:00
<!DOCTYPE html>
<html lang="en" class="dark-mode">
2024-09-08 13:15:49 +02:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>File Content</title>
2024-09-08 13:15:49 +02:00
<style>
/* Copy the entire style section from content.html */
/* ... */
2024-09-08 13:15:49 +02:00
</style>
</head>
<body>
<div class="container">
<h1>File: {{ name }}</h1>
<p>Size: {{ size }} bytes</p>
<p>Modified at: {{ modified_at }}</p>
<div class="button-container">
<a href="{{ url }}" download><button>Download File</button></a>
2024-09-08 13:15:49 +02:00
</div>
</div>
<button id="theme-toggle">Toggle Theme</button>
2024-09-08 13:15:49 +02:00
<script>
// Copy the script section from content.html, but remove the copyToClipboard function
// ...
</script>
</body>
2024-09-08 13:15:49 +02:00
</html>