From ede1e7a217dd39e5471e712d86a2ae5b0c7d629b Mon Sep 17 00:00:00 2001
From: "Jill \"oatmealine\" Monoids"
Date: Thu, 5 Jan 2023 19:53:12 +0300
Subject: [PATCH] template stuff polish
---
public/style.css | 11 +++++++++++
public/template/account_management.ecr | 14 ++++++++++++++
public/template/index.ecr | 4 +---
public/template/reupload.ecr | 6 +++++-
public/template/song_search.ecr | 5 ++++-
public/template/song_upload.ecr | 4 +++-
src/crystal-gauntlet.cr | 1 +
src/lib/templates.cr | 16 ++++++++++++++++
src/template_endpoints/account_management.cr | 14 ++++++++++++++
src/template_endpoints/index.cr | 5 +++++
10 files changed, 74 insertions(+), 6 deletions(-)
create mode 100644 public/template/account_management.ecr
create mode 100644 src/lib/templates.cr
create mode 100644 src/template_endpoints/account_management.cr
diff --git a/public/style.css b/public/style.css
index 1578744..1a014ce 100644
--- a/public/style.css
+++ b/public/style.css
@@ -78,4 +78,15 @@ a:hover {
pre {
display: inline;
font-family: monospace;
+}
+
+.dir-header {
+ background-color: rgba(150, 150, 150, 0.15);
+ color: #999;
+ padding: 0.5em;
+ border-radius: 12px;
+ line-height: 1.2;
+}
+.dir-header a {
+ text-decoration: none;
}
\ No newline at end of file
diff --git a/public/template/account_management.ecr b/public/template/account_management.ecr
new file mode 100644
index 0000000..a4d22ba
--- /dev/null
+++ b/public/template/account_management.ecr
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+ Account Management
+
+
+ Account Management
+ hewwo
+
+
diff --git a/public/template/index.ecr b/public/template/index.ecr
index 30b4852..6a10520 100644
--- a/public/template/index.ecr
+++ b/public/template/index.ecr
@@ -42,8 +42,6 @@
-
- Crystal <%= Crystal::VERSION %>
<%= Crystal::BUILD_COMMIT %>
running on
<%= System.hostname %>
for <%= CrystalGauntlet.uptime_s %>
-
+ <%= Templates.footer %>