finished login form, updated header, minor CSS changes

This commit is contained in:
Lynne Megido 2018-11-06 20:50:46 +10:00
parent 22ff8c6767
commit db54460a85
Signed by: lynnesbian
GPG Key ID: FB7B970303ACE499
3 changed files with 16 additions and 11 deletions

View File

@ -1,6 +1,6 @@
body {
font-family: sans-serif;
margin: 5%;
margin: 2.5%;
text-align: center;
background-color: #282c37;
color: white;
@ -19,8 +19,10 @@ h2 {
}
#footer {
position:absolute;
bottom:5%;
width:90%;
bottom:2.5%;
width:95%;
color:#aaa;
font-size:0.8em;
}
#logo-main {
height:300px;

View File

@ -1,4 +1,5 @@
<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.
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>.
</div>

View File

@ -7,16 +7,18 @@
<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>
<h1>Log in</h1>
<h2>Log in to your Curious Greg 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 action='/internal/do_login' method='POST'>
<label for='acct'>Mastodon Account</label><br />
<input name='acct' placeholder='@you@instan.ce' required /><br />
<label for='pw'>Password</label><br />
<input type='password' placeholder='••••••••' name='pw' required /><br />
<button>Log In</button>
</form>
{% include 'footer.html' %}
</body>