Add a little CSS and drop the static index page.

This commit is contained in:
barnold 2022-09-19 12:26:51 +01:00
parent 2ac594269d
commit be0b5673de
3 changed files with 7 additions and 12 deletions

3
public/default.css Normal file
View File

@ -0,0 +1,3 @@
table {
border: 1px solid grey;
}

View File

@ -1,11 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>Welcome to the Mojolicious real-time web framework!</title>
</head>
<body>
<h2>Welcome to the Mojolicious real-time web framework!</h2>
This is the static document "public/index.html",
<a href="/">click here</a> to get back to the start.
</body>
</html>

View File

@ -1,6 +1,9 @@
<!DOCTYPE html>
<html>
<head><title><%= title %></title></head>
<head>
<title><%= title %></title>
<link rel="stylesheet" href="/default.css">
</head>
<body>
<div>
<%= content %>