diff --git a/css/frs.css b/css/frs.css index 0cc2cd7..939de9f 100644 --- a/css/frs.css +++ b/css/frs.css @@ -93,3 +93,17 @@ h3 .material-icons { font-size: 0.9em; vertical-align: -0.15em; } + +.frs-content { + position: relative; +} + +#frs-button-send { + position: absolute; + display: block; + right: 0; + bottom: 0; + margin-right: 40px; + margin-bottom: 40px; + z-index: 900; +} diff --git a/index.php b/index.php index 9060e45..816b268 100644 --- a/index.php +++ b/index.php @@ -62,10 +62,10 @@ if (!$tpl_done && isset($_SESSION['access_token']) && $_SESSION['access_token']) $client->setAccessToken($_SESSION['access_token']); if ($client->isAccessTokenExpired()) { - // TODO: Save everything in session + // TODO: Save everything (POST data) in session // TODO: Redirect to $client->createAuthUrl(); to reauthenticate - echo "Token expired!"; - session_destroy(); + echo "Token expired! createAuthUrl() . "\">Request new one."; + #session_destroy(); die(); } diff --git a/templates/hotel_html.mustache b/templates/hotel_html.mustache index fc9a4c4..6eb2c50 100644 --- a/templates/hotel_html.mustache +++ b/templates/hotel_html.mustache @@ -8,23 +8,31 @@
+ +