Add settings page
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
04e097eb35
commit
400953548f
@ -24,6 +24,7 @@
|
||||
<div id="sidebar">
|
||||
<a href="/">Home</a>
|
||||
<a href="/find-code.html">Code Search</a>
|
||||
<a href="/settings.html">Settings</a>
|
||||
<a href="/help.html">Help</a>
|
||||
<a href="/issue.html">Report Issue</a>
|
||||
</div>
|
||||
@ -34,13 +35,13 @@
|
||||
<source media="(min-width:800px)" srcset="/images/logo/logo-full-715.png" type="image/png">
|
||||
<source media="(min-width:700px)" srcset="/images/logo/logo-full-512.webp" type="image/webp">
|
||||
<source media="(min-width:700px)" srcset="/images/logo/logo-full-512.png" type="image/png">
|
||||
<source media="(min-width:450px)" srcset="/images/logo/logo-full-256.webp" type="image/png">
|
||||
<source media="(min-width:450px)" srcset="/images/logo/logo-full-256.webp" type="image/webp">
|
||||
<source media="(min-width:450px)" srcset="/images/logo/logo-full-256.png" type="image/png">
|
||||
<img class="titleimg" src="/images/logo/logo-full-512.png" alt="OwlBoard Logo">
|
||||
</picture>
|
||||
<br>
|
||||
<form action="board.html">
|
||||
<input class="lookup-box" type="text" id="crs-lookup" name="stn" placeholder="Enter CRS/TIPLOC"/>
|
||||
<input class="lookup-box" type="text" id="crs-lookup" name="stn" placeholder="Enter CRS/TIPLOC" autocomplete="off"/>
|
||||
<br>
|
||||
<input type="submit" value="Lookup Board" class="lookup-button">
|
||||
</form>
|
||||
|
0
static/js/settings.js
Normal file
0
static/js/settings.js
Normal file
50
static/settings.html
Normal file
50
static/settings.html
Normal file
@ -0,0 +1,50 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="description" content="OwlBoard - Live train departures for traincrew."/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="application-name" content="OwlBoard">
|
||||
<meta name="author" content="Frederick Boniface">
|
||||
<meta name="theme-color" content="#155bb7">
|
||||
<link rel="stylesheet" type="text/css" href="./styles/style.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="./styles/settings.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="./styles/find-code.css"/>
|
||||
<link rel="icon" type="image/png" href="./images/logo/logo-sq-256.png"/>
|
||||
<link rel="manifest" type="application/json" href="./manifest.json"/>
|
||||
<title>OwlBoard - Settings</title>
|
||||
<script src="./js/settings.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="top_button" class="hide_micro">
|
||||
<button aria-label="Back" class="sidebar_control" onclick="history.back()">⇦</button>
|
||||
</div>
|
||||
|
||||
<picture>
|
||||
<source srcset="./images/logo/logo-full-256.webp" type="image/webp">
|
||||
<source srcset="./images/logo/logo-full-256.png" type="image/png">
|
||||
<img class="titleimg" src="./images/logo/logo-full-256.png" alt="OwlBoard Logo">
|
||||
</picture>
|
||||
<h2>Settings</h2>
|
||||
<p>Change your OwlBoard settings.</p>
|
||||
<p>Any settings you apply will only apply to the device you are using now.</p>
|
||||
|
||||
<p>Settings are not yet fully implemented, some options won't apply properly yet.</p>
|
||||
<form>
|
||||
<label>Personal Quick Links:</label><br>
|
||||
<p>Enter one CRS/3ALPHA code per box</p>
|
||||
<input type="text" maxlength="3" id="ql0" name="ql0" autocomplete="off" class="small-box">
|
||||
<input type="text" maxlength="3" id="ql1" name="ql1" autocomplete="off" class="small-box"><br>
|
||||
<input type="text" maxlength="3" id="ql2" name="ql2" autocomplete="off" class="small-box">
|
||||
<input type="text" maxlength="3" id="ql3" name="ql3" autocomplete="off" class="small-box"><br>
|
||||
<input type="text" maxlength="3" id="ql4" name="ql4" autocomplete="off" class="small-box">
|
||||
<input type="text" maxlength="3" id="ql5" name="ql5" autocomplete="off" class="small-box"><br>
|
||||
<input type="text" maxlength="3" id="ql6" name="ql6" autocomplete="off" class="small-box">
|
||||
<input type="text" maxlength="3" id="ql7" name="ql7" autocomplete="off" class="small-box"><br>
|
||||
<input type="text" maxlength="3" id="ql8" name="ql8" autocomplete="off" class="small-box">
|
||||
<input type="text" maxlength="3" id="qp9" name="ql9" autocomplete="off" class="small-box"><br>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
9
static/styles/settings.css
Normal file
9
static/styles/settings.css
Normal file
@ -0,0 +1,9 @@
|
||||
.small-box{
|
||||
max-width: 100px;
|
||||
height: 20px;
|
||||
margin-top: 5px;
|
||||
font-family: urwgothic, sans-serif;
|
||||
text-align: center;
|
||||
border-radius: 40px;
|
||||
text-transform: uppercase;
|
||||
}
|
Reference in New Issue
Block a user