Adding all sorts of goodies.
This commit is contained in:
32
public/pages/404.html
Normal file
32
public/pages/404.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!Doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Page Not Found</title>
|
||||
<link rel="stylesheet" href="./assets/style.css" />
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
||||
<script src="./assets/main.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header id="site-header">
|
||||
<div id="site-name">
|
||||
<a href="/">BatFlip</a>
|
||||
</div>
|
||||
<div id="site-menu">
|
||||
<ul>
|
||||
<li><a href="/scorecards">Past Scorecards</a></li>
|
||||
<li><a href="/add-scorecard">Add New</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
<div id="main-content">
|
||||
<h1>Sorry, this page cannot be found.</h1>
|
||||
<h2>Sorry, this page cannot be found.</h2>
|
||||
<h3>Sorry, this page cannot be found.</h3>
|
||||
<h4>Sorry, this page cannot be found.</h4>
|
||||
<h5>Sorry, this page cannot be found.</h5>
|
||||
<h6>Sorry, this page cannot be found.</h6>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,9 +0,0 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>About</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>This is the about page!</h1>
|
||||
</body>
|
||||
</html>
|
||||
38
public/pages/add-scorecard.html
Normal file
38
public/pages/add-scorecard.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Add New Scorecard</title>
|
||||
{% header %}
|
||||
</head>
|
||||
<body>
|
||||
<header id="site-header">
|
||||
<div id="site-name">
|
||||
<a href="/">BatFlip</a>
|
||||
</div>
|
||||
<div id="site-menu">
|
||||
<ul>
|
||||
<li><a href="/scorecards">Past Scorecards</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
<div id="main-content">
|
||||
<table id="home-scorecard" class="styled-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Date</th>
|
||||
<th>Score</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><input type="text" name="name" placeholder="Name" /></td>
|
||||
<td><input type="text" name="date" placeholder="Date" /></td>
|
||||
<td><input type="text" name="score" placeholder="Score" /></td>
|
||||
<td><input type="submit" value="Add" /></td>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
24
public/pages/index.html
Normal file
24
public/pages/index.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>BatFlip Scoring App</title>
|
||||
{% header %}
|
||||
</head>
|
||||
<body>
|
||||
<header id="site-header">
|
||||
<div id="site-name">
|
||||
<a href="/">BatFlip</a>
|
||||
</div>
|
||||
<div id="site-menu">
|
||||
<ul>
|
||||
<li><a href="/scorecards">Past Scorecards</a></li>
|
||||
<li><a href="/add-scorecard">Add New</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
<div id="main-content">
|
||||
<h1>Live Baseball Scoring App, written in Rust</h1>
|
||||
<img src="./images/fenway.jpg" alt="some image" />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
22
public/pages/scorecards.html
Normal file
22
public/pages/scorecards.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Scorecards</title>
|
||||
{% header %}
|
||||
</head>
|
||||
<body>
|
||||
<header id="site-header">
|
||||
<div id="site-name">
|
||||
<a href="/">BatFlip</a>
|
||||
</div>
|
||||
<div id="site-menu">
|
||||
<ul>
|
||||
<li><a href="/add-scorecard">Add New</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
<div id="main-content">
|
||||
<h1>Scorecards Go Here.</h1>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user