0.4.2-devel (#34)
Fix issues #29, #30, #31. Partial fix for #23 on mobile devices. #23 still needs more work and possible a redesign of the menu. Reviewed-on: #34
This commit is contained in:
parent
7d812b8488
commit
272b4786b7
@ -17,11 +17,12 @@
|
|||||||
<?php require "./page-blocks/title-image.php";?>
|
<?php require "./page-blocks/title-image.php";?>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
<input class="lookup-box" type="text" id="crs-lookup" name="crs-lookup" placeholder="Enter CRS/TIPLOC"/>
|
<input class="lookup-box" type="text" id="crs-lookup" name="crs-lookup" placeholder="Enter CRS/TIPLOC"/>
|
||||||
<br>
|
<br>
|
||||||
<button class="lookup-button" onclick="getTextEntry()">Lookup Departure Board</button>
|
<button class="lookup-button" onclick="getTextEntry()">Lookup Departure Board</button>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
sendInput($title,$body);
|
sendInput($title,$body);
|
||||||
|
|
||||||
// Redirect to submit-done.php
|
// 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>";
|
||||||
};
|
};
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
echo '<div class="dropdown">';
|
echo '<div class="dropdown">';
|
||||||
echo ' <button onclick="myFunction()" class="dropbtn">Menu</button>';
|
echo ' <button onclick="myFunction()" class="dropbtn">Menu</button>';
|
||||||
echo ' <div id="myDropdown" class="dropdown-content">';
|
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 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>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
<?php
|
<?php
|
||||||
$athenaVersion = '0.4.1-alpha';
|
$athenaVersion = '0.4.2-alpha';
|
||||||
|
@ -9,7 +9,7 @@ body {
|
|||||||
.titleimg {
|
.titleimg {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
padding-bottom: 50px;
|
padding-bottom: 10px;
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
transition: 0.2s;
|
transition: 0.2s;
|
||||||
}
|
}
|
||||||
@ -17,6 +17,7 @@ body {
|
|||||||
.lookup-box {
|
.lookup-box {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border: black;
|
border: black;
|
||||||
|
padding-top: 40px;
|
||||||
border-radius: 40px;
|
border-radius: 40px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
@ -117,7 +118,7 @@ body {
|
|||||||
|
|
||||||
/* START MENU STYLE */
|
/* START MENU STYLE */
|
||||||
|
|
||||||
/* Dropdown Button */
|
/* Menu Button */
|
||||||
.dropbtn {
|
.dropbtn {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -126,12 +127,12 @@ body {
|
|||||||
color: white;
|
color: white;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.2);
|
||||||
border: none;
|
border: none;
|
||||||
border-bottom-left-radius: 10px;
|
border-bottom-left-radius: 10px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Dropdown button on hover & focus */
|
|
||||||
.dropbtn:hover, .dropbtn:focus {
|
.dropbtn:hover, .dropbtn:focus {
|
||||||
background-color: #0280e5;
|
background-color: #0280e5;
|
||||||
}
|
}
|
||||||
@ -146,6 +147,9 @@ body {
|
|||||||
.dropdown-content {
|
.dropdown-content {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
top: -80px;
|
||||||
|
/*right: -190px;*/
|
||||||
|
left: 150px;
|
||||||
background-color: #7fa7e6;
|
background-color: #7fa7e6;
|
||||||
min-width: 160px;
|
min-width: 160px;
|
||||||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
||||||
@ -158,12 +162,12 @@ body {
|
|||||||
padding: 12px 16px;
|
padding: 12px 16px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
display: block;
|
display: block;
|
||||||
border-top: 1px solid black;
|
border-bottom: 1px solid black;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Final item of the dropdown has bottom border*/
|
/*Final item of the dropdown has bottom border*/
|
||||||
.dropdown-last {
|
.dropdown-first {
|
||||||
border-bottom: 1px solid black;
|
border-top: 1px solid black;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Change color of dropdown links on hover */
|
/* Change color of dropdown links on hover */
|
||||||
|
@ -23,13 +23,13 @@
|
|||||||
<p>You're helping to make Athena better for everyone.</p>
|
<p>You're helping to make Athena better for everyone.</p>
|
||||||
<br>
|
<br>
|
||||||
<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>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
window.location.href = '/';
|
window.location.href = '/';
|
||||||
}, 5000);
|
}, 3000);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
|
Reference in New Issue
Block a user