From be0b5673de51ada720d1ef50fc7bb2d53a7bb3a5 Mon Sep 17 00:00:00 2001 From: barnold Date: Mon, 19 Sep 2022 12:26:51 +0100 Subject: [PATCH] Add a little CSS and drop the static index page. --- public/default.css | 3 +++ public/index.html | 11 ----------- templates/layouts/default.html.ep | 5 ++++- 3 files changed, 7 insertions(+), 12 deletions(-) create mode 100644 public/default.css delete mode 100644 public/index.html diff --git a/public/default.css b/public/default.css new file mode 100644 index 0000000..cc3040f --- /dev/null +++ b/public/default.css @@ -0,0 +1,3 @@ +table { + border: 1px solid grey; +} diff --git a/public/index.html b/public/index.html deleted file mode 100644 index e74bb5f..0000000 --- a/public/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - Welcome to the Mojolicious real-time web framework! - - -

Welcome to the Mojolicious real-time web framework!

- This is the static document "public/index.html", - click here to get back to the start. - - diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 2993773..3fe121c 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -1,6 +1,9 @@ - <%= title %> + + <%= title %> + +
<%= content %>