moved footer to its own file, created login.html

This commit is contained in:
Lynne Megido 2018-11-06 20:36:30 +10:00
parent 3ab5364ef0
commit 22ff8c6767
Signed by: lynnesbian
GPG key ID: FB7B970303ACE499
3 changed files with 28 additions and 4 deletions

4
templates/footer.html Normal file
View file

@ -0,0 +1,4 @@
<div id='footer'>
Note that Curious Greg requires first-party cookies to be enabled. Deleting the cookie used by Curious Greg will log you out of your account. Posting will still function as normal.<br />
Curious Greg will not function without JavaScript. Please ensure you have JavaScript enabled.
</div>

View file

@ -16,9 +16,6 @@
<div id='body'> <div id='body'>
You haven't posted to Curious Cat in a while, so we'll wait <strong>14 minutes</strong> until we check for new answers. You haven't posted to Curious Cat in a while, so we'll wait <strong>14 minutes</strong> until we check for new answers.
</div> </div>
<div id='footer'> {% include 'footer.html' %}
Note that Curious Greg requires first-party cookies to be enabled. You may safely delete the cookie upon completing the connection process.<br />
Curious Greg will not function without JavaScript. Please ensure you have JavaScript enabled.
</div>
</body> </body>
</html> </html>

23
templates/login.html Normal file
View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<title>Curious Greg - Login</title>
<link rel='stylesheet' type='text/css' href="{{ url_for('static', filename='style.css') }}" />
<script type="text/javascript" src="{{ url_for('static', filename='script.js') }}"></script>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300" rel="stylesheet">
</head>
<body>
<h1>Log In</h1>
<h2>Log in to your existing account.</h2>
<noscript>
Curious Greg will not function without JavaScript. Please ensure you have JavaScript enabled.
</noscript>
<!-- <div id='logo-main'></div> -->
<form onsubmit='cont(); return false'>
<label for='instance'>Instance URL</label><br />
<input name='instance' placeholder='mastodon.social' id='instance-input' /><br />
<button class='loading'>Sign Up</button>
</form>
{% include 'footer.html' %}
</body>
</html>