0.4.2-devel #34

Merged
fred.boniface merged 21 commits from 0.4.2-devel into online 2022-10-05 21:09:38 +01:00
6 changed files with 19 additions and 14 deletions

View File

@ -17,11 +17,12 @@
<?php require "./page-blocks/title-image.php";?>
<br>
<br>
<br>
<br>
<input class="lookup-box" type="text" id="crs-lookup" name="crs-lookup" placeholder="Enter CRS/TIPLOC"/>
<br>
<button class="lookup-button" onclick="getTextEntry()">Lookup Departure Board</button>
<br>
<br>

View File

@ -31,7 +31,7 @@
sendInput($title,$body);
// Redirect to submit-done.php
echo "<script>setTimeout(function(){window.location.href = '/submit-done.php';}, 100);</script>";
echo "<script>setTimeout(function(){window.location.href = '/submit-done.php';}, 10);</script>";
};
?>

View File

@ -3,8 +3,8 @@
echo '<div class="dropdown">';
echo ' <button onclick="myFunction()" class="dropbtn">Menu</button>';
echo ' <div id="myDropdown" class="dropdown-content">';
echo ' <a href="/">Home</a>';
echo ' <a class="dropdown-first" href="/">Home</a>';
echo ' <a href="/issue.php">Report Issue</a>';
echo ' <a class="dropdown-last" href="/help.php">Help</a>';
echo ' <a href="/help.php">Help</a>';
echo ' </div>';
echo '</div>';

View File

@ -1,2 +1,2 @@
<?php
$athenaVersion = '0.4.1-alpha';
$athenaVersion = '0.4.2-alpha';

View File

@ -9,7 +9,7 @@ body {
.titleimg {
width: 80%;
padding-top: 50px;
padding-bottom: 50px;
padding-bottom: 10px;
max-width: 500px;
transition: 0.2s;
}
@ -17,6 +17,7 @@ body {
.lookup-box {
text-align: center;
border: black;
padding-top: 40px;
border-radius: 40px;
padding: 10px;
margin-bottom: 5px;
@ -117,7 +118,7 @@ body {
/* START MENU STYLE */
/* Dropdown Button */
/* Menu Button */
.dropbtn {
position: fixed;
top: 0;
@ -126,12 +127,12 @@ body {
color: white;
padding: 12px;
font-size: 12px;
box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.2);
border: none;
border-bottom-left-radius: 10px;
cursor: pointer;
}
/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
background-color: #0280e5;
}
@ -146,6 +147,9 @@ body {
.dropdown-content {
display: none;
position: absolute;
top: -80px;
/*right: -190px;*/
left: 150px;
background-color: #7fa7e6;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
@ -158,12 +162,12 @@ body {
padding: 12px 16px;
text-decoration: none;
display: block;
border-top: 1px solid black;
border-bottom: 1px solid black;
}
/*Final item of the dropdown has bottom border*/
.dropdown-last {
border-bottom: 1px solid black;
.dropdown-first {
border-top: 1px solid black;
}
/* Change color of dropdown links on hover */

View File

@ -23,13 +23,13 @@
<p>You're helping to make Athena better for everyone.</p>
<br>
<br>
<p>You will be redirected to the homepage in five seconds.</p>
<p>You will be redirected to the homepage in three seconds.</p>
</div>
<script>
setTimeout(function(){
window.location.href = '/';
}, 5000);
}, 3000);
</script>
<!-- Footer -->