Compare commits

..

No commits in common. "0d18fd6c2699eac81b40ebcfe1265c22c2538648" and "5e293d902bfa386310bd1f6ba6d4f2a0509898db" have entirely different histories.

4 changed files with 7 additions and 12 deletions

View File

@ -32,21 +32,21 @@ http {
proxy_pass http://localhost:8460; proxy_pass http://localhost:8460;
proxy_cache_key $scheme://$host$uri$is_args$query_string; proxy_cache_key $scheme://$host$uri$is_args$query_string;
proxy_ignore_headers Cache-Control; proxy_ignore_headers Cache-Control;
proxy_cache_valid 200 10080m; proxy_cache_valid 200 1440m;
} }
location /api/ { location /api/ {
proxy_pass http://localhost:8460; proxy_pass http://localhost:8460;
proxy_cache_key $scheme://$host$uri$is_args$query_string; proxy_cache_key $scheme://$host$uri$is_args$query_string;
proxy_ignore_headers Cache-Control; proxy_ignore_headers Cache-Control;
proxy_cache_valid 200 5m; proxy_cache_valid 200 1m;
} }
location /api/v1/list/ { location /api/v1/list/ {
proxy_pass http://localhost:8460; proxy_pass http://localhost:8460;
proxy_cache_key $scheme://$host$uri$is_args$query_string; proxy_cache_key $scheme://$host$uri$is_args$query_string;
proxy_ignore_headers Cache-Control; proxy_ignore_headers Cache-Control;
proxy_cache_valid 200 10080m; proxy_cache_valid 200 1440m;
} }
} }
} }

View File

@ -6,7 +6,7 @@
<meta name="application-name" content="OwlBoard"> <meta name="application-name" content="OwlBoard">
<meta name="author" content="Frederick Boniface"> <meta name="author" content="Frederick Boniface">
<meta name="theme-color" content="#155bb7"> <meta name="theme-color" content="#155bb7">
<title>OwlBoard - Loading</title> <title id="pgTitle">OwlBoard - Loading</title>
<script src="./js/board.js"></script> <script src="./js/board.js"></script>
<link rel="stylesheet" type="text/css" href="./styles/style.css"/> <link rel="stylesheet" type="text/css" href="./styles/style.css"/>
<link rel="stylesheet" type="text/css" href="./styles/boards.css"/> <link rel="stylesheet" type="text/css" href="./styles/boards.css"/>
@ -36,9 +36,9 @@
<div id="error_notice" class="main-notice hidden-while-loading"> <div id="error_notice" class="main-notice hidden-while-loading">
<h1 class="error">Oops</h1> <h1 class="error">Oops</h1>
<p class="error">There was an error with your request</p> <p class="error">There was an error with your request</p>
<p id="err_not_found" class="notices-hidden">The station you are searching for cannot be found</p> <p id="err_not_found">The station you are searching for cannot be found</p>
<p id="err_no_data" class="notices-hidden">The station has no data. It may not be in operation yet/anymore.</p> <p id="err_no_data">The station has no data. It may not be in operation yet/anymore.</p>
<p id="err_conn" class="notices-hidden">Connection Error, check your data connection. Retrying.</p> <p id="err_conn">Connection Error, check your data connection. Retrying.</p>
</div> </div>
<div id="no_services" class="main-notice hidden-whille-loading"> <div id="no_services" class="main-notice hidden-whille-loading">
<p>There are no scheduled train services from this station</p> <p>There are no scheduled train services from this station</p>

View File

@ -66,7 +66,6 @@
<div class="text-description"> <div class="text-description">
<p>This is a development release and is under testing.</p> <p>This is a development release and is under testing.</p>
<p>Departure boards do not yet work.</p> <p>Departure boards do not yet work.</p>
<p>API Responses are being cached for a long time, any data you access may be stale</p>
</div> </div>
<!-- Footer --> <!-- Footer -->

View File

@ -45,10 +45,6 @@
margin-top: 150px; margin-top: 150px;
} }
.notices-hidden {
display: none;
}
#no_services { #no_services {
width: 75%; width: 75%;
margin: auto; margin: auto;