Compare commits

...

2 Commits

Author SHA1 Message Date
Fred Boniface f5a8bcdec3 Changed form styling. 2022-09-20 21:12:38 +01:00
Fred Boniface 19c59d2eb6 Removed help info from index. 2022-09-20 21:08:43 +01:00
3 changed files with 18 additions and 20 deletions

View File

@ -42,24 +42,6 @@
<p>This is an Alpha release and is under testing.</p>
<p>Some features may not work and some stations may not be available.</p>
<!-- Popup Boxes (Usually Hidden with CSS) -->
<div id="popup-about" class="popup-info">
<img onclick="closeAboutPopup()" class="popup-close" src="/assets/icons/close-circle.png"></img>
<h2>Help</h2>
<p>Just type in a three character CRS code or a TIPLOC into the text
box and tap the Lookup button.</p>
<p>If you enter a TIPLOC, this will not be verified - if it is
incorrect or unavailable on Tiger, you will be redirected to a
blank board. CRS codes will be verified against a lookup file
before redirecting.</p>
<p>Some stations are not on Tiger and these stations are not supported
here either. Notably TfW and Chiltern stations that border the GWR
network. Most GWR Central served stations are now available to
lookup.</p>
<p>I am working on a new version that will provide data for every
station in the National Rail database.</p>
</div>
<!-- Footer -->
<?php include "./page-blocks/footer.php" ?>

View File

@ -42,12 +42,12 @@
<form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>" method="post">
Subject:
<br>
<input type="text" name="subject" value="<?php echo $title;?>">
<input class="form-text-small" type="text" name="subject" value="<?php echo $title;?>">
<br>
<br>
Details:
<br>
<textarea name="detail" rows="5" cols="40"><?php echo $detail;?></textarea>
<textarea class="form-text-large" name="detail" rows="5" cols="40"><?php echo $detail;?></textarea>
<br>
On submission of this form, your browsers User Agent string will be
collected alongside the information you provide above and will be

View File

@ -23,6 +23,22 @@ body {
text-transform: uppercase;
}
.form-text-small {
text-align: center;
border: black;
border-radius: 20px;
padding: 10px;
font-size: 18px;
}
.form-text-large {
text-align: left;
border: black;
border-radius: 20px;
padding: 5px;
font-size: 16px;
}
.lookup-button {
background-color: #3c78d8;
color: #f6f5f4;