Compare commits

...

4 commits

Author SHA1 Message Date
3910fcf0a6
added imports.html 2018-11-06 21:19:05 +10:00
869f075317
replaced <link> and <script> tags with template 2018-11-06 21:18:40 +10:00
02879630c6
minor changes to footer 2018-11-06 21:08:36 +10:00
45e3d7b2f8
replaced footer with template embed 2018-11-06 21:08:06 +10:00
6 changed files with 10 additions and 15 deletions

View file

@ -21,9 +21,11 @@ h2 {
position:absolute; position:absolute;
bottom:2.5%; bottom:2.5%;
width:95%; width:95%;
color:#aaa;
font-size:0.8em; font-size:0.8em;
} }
#footer, #footer a {
color: #aaa;
}
#logo-main { #logo-main {
height:300px; height:300px;
width:300px; width:300px;

View file

@ -1,5 +1,4 @@
<div id='footer'> <div id='footer'>
Note that Curious Greg uses a cookie to store your login state. Deleting the cookie used by Curious Greg will log you out of your account. Posting will still function as normal.<br /> Note that Curious Greg uses a cookie to store your login state. 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.<br />
Created by <a href='https://fedi.lynnesbian.space/@lynnesbian'>@lynnesbian@fedi.lynnesbian.space</a> (message her about any bugs you find). Source code is available <a href='https://git.lynnesbian.space/curious-greg'>here</a>, under the <a href='https://www.mozilla.org/en-US/MPL/2.0/'>Mozilla Public License Version 2.0</a>. Created by <a href='https://fedi.lynnesbian.space/@lynnesbian'>@lynnesbian@fedi.lynnesbian.space</a> (message her about any bugs you find). Source code is available <a href='https://git.lynnesbian.space/curious-greg'>here</a>, under the <a href='https://www.mozilla.org/en-US/MPL/2.0/'>Mozilla Public License Version 2.0</a>.
</div> </div>

View file

@ -2,9 +2,7 @@
<html> <html>
<head> <head>
<title>Curious Greg - Home</title> <title>Curious Greg - Home</title>
<link rel='stylesheet' type='text/css' href="{{ url_for('static', filename='style.css') }}" /> {% include 'imports.html' %}
<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> </head>
<body> <body>
<h1>Welcome</h1> <h1>Welcome</h1>

3
templates/imports.html Normal file
View file

@ -0,0 +1,3 @@
<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">

View file

@ -2,9 +2,7 @@
<html> <html>
<head> <head>
<title>Curious Greg</title> <title>Curious Greg</title>
<link rel='stylesheet' type='text/css' href="{{ url_for('static', filename='style.css') }}" /> {% include 'imports.html' %}
<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> </head>
<body> <body>
<h1>Curious Greg</h1> <h1>Curious Greg</h1>
@ -20,9 +18,6 @@
</form> </form>
<br /><br /> <br /><br />
<a class='button' href='/login'>Log In</a> <a class='button' href='/login'>Log In</a>
<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>

View file

@ -2,9 +2,7 @@
<html> <html>
<head> <head>
<title>Curious Greg - Login</title> <title>Curious Greg - Login</title>
<link rel='stylesheet' type='text/css' href="{{ url_for('static', filename='style.css') }}" /> {% include 'imports.html' %}
<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> </head>
<body> <body>
<h1>Log in</h1> <h1>Log in</h1>