From 0effd40bad7ae753102e7040159afd76be4e8732 Mon Sep 17 00:00:00 2001
From: Vincent Douillet <vincent@vdouillet.fr>
Date: Tue, 20 Feb 2024 21:17:01 +0100
Subject: browse: http page

---
 template/head.html | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 template/head.html

(limited to 'template/head.html')

diff --git a/template/head.html b/template/head.html
new file mode 100644
index 0000000..d77eb49
--- /dev/null
+++ b/template/head.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta charset=utf-8">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+<title>Vault</title>
+<head>
+	<link href="/static/fontawesome-6.5.1/css/fontawesome.css" rel="stylesheet">
+	<link href="/static/fontawesome-6.5.1/css/solid.css" rel="stylesheet">
+</head>
+<style>
+body {
+	margin:1em auto;
+	max-width:40em;
+	padding: 0 .62em;
+	font:1.2em/1.62 sans-serif;
+}
+table#file-list {
+	width:100%;
+	border-collapse:collapse;
+}
+table > thead > tr {border-bottom:1px solid black}
+tr:not(:last-child) {border-bottom:1px solid grey}
+th, td {padding:0.2em}
+th.file-name {text-align:left}
+th.file-icon {width:1em}
+th.file-size {white-space:nowrap;}
+td.file-size {
+	text-align:right;
+	white-space:nowrap;
+}
+</style>
+<body>
-- 
cgit v1.2.3