From 2e04b2c23c66a42372d0ecaea2b0f4b2c7b7c7e5 Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Tue, 24 Dec 2024 11:52:50 +0100 Subject: delete files --- template/browse_head.html | 1 + template/browse_item.html | 1 + template/delete_head.html | 14 ++++++++++++++ template/head.html | 7 ++++++- 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 template/delete_head.html (limited to 'template') diff --git a/template/browse_head.html b/template/browse_head.html index 972ed51..6775012 100644 --- a/template/browse_head.html +++ b/template/browse_head.html @@ -7,6 +7,7 @@ Name Size + diff --git a/template/browse_item.html b/template/browse_item.html index 4a6bd77..1af8c89 100644 --- a/template/browse_item.html +++ b/template/browse_item.html @@ -2,4 +2,5 @@ @@name@@ @@size@@ + diff --git a/template/delete_head.html b/template/delete_head.html new file mode 100644 index 0000000..50f5426 --- /dev/null +++ b/template/delete_head.html @@ -0,0 +1,14 @@ +

Delete

+

path

+
@@path@@
+
+
+
+
+

Deleting content cannot be undone. Proceed anyway?

+
+
+ +
+
+
diff --git a/template/head.html b/template/head.html index 6c6ef5b..a36c475 100644 --- a/template/head.html +++ b/template/head.html @@ -24,7 +24,12 @@ 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;} +th.file-size { + width:2em; + white-space:nowrap; + text-align:right; +} +th.file-delete {width:1em} td.file-size { text-align:right; white-space:nowrap; -- cgit v1.2.3