You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.1 KiB
25 lines
1.1 KiB
<div class="narrow">
|
|
|
|
<div class="jumbotron h-app h-x-app">
|
|
<h1><img src="/images/quill-logo-144.png" height="72" style="margin-bottom: 13px;" class="u-logo p-name" alt="Quill">Quill</h1>
|
|
|
|
<p class="tagline">Quill is a simple app for posting text notes to your website.</p>
|
|
|
|
<? if(session('me')): ?>
|
|
<p>You're already signed in!<p>
|
|
<p><a href="/dashboard" class="btn btn-primary">Continue</a></p>
|
|
<? else: ?>
|
|
<p>To use Quill, sign in with your domain. Your website will need to support <a href="https://indieweb.org/micropub">Micropub</a> for creating new posts.</p>
|
|
|
|
<form action="/auth/start" method="get" class="form-inline">
|
|
<input type="url" name="me" placeholder="https://example.com" value="" class="form-control" onchange="auto_prefix_url_field(this)" autofocus>
|
|
<input type="submit" value="Sign In" class="btn btn-primary">
|
|
<input type="hidden" name="client_id" value="<?= Config::$base_url ?>">
|
|
<input type="hidden" name="redirect_uri" value="<?= Config::$base_url ?>auth/callback">
|
|
</form>
|
|
<? endif; ?>
|
|
|
|
<a href="" class="u-url"></a>
|
|
</div>
|
|
|
|
</div>
|