commit ed3f2fa665c47fc1ad2a898f06bcd00efd756358 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Oct 24 14:13:45 2016 +0100 Delete bower folder commit 9166de3f0ac24c9959cf635a4e54ef063486c072 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Oct 24 14:12:42 2016 +0100 populate frontend folder, gzip on different machine also produces different .gz files for existing assets commit 0b1958b01e372886f564f7c08c435c52412e3a30 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Oct 24 14:11:22 2016 +0100 use frotnend asset folder instead of bower commit 60a7b81b876ebb01991ca524d0e49b81f8aefd76 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Oct 24 13:53:58 2016 +0100 Move frontend package management to yarn/npm
44 lines
1.5 KiB
PHP
44 lines
1.5 KiB
PHP
@extends('master')
|
||
|
||
@section('title')
|
||
New Note « Jonny Barnes
|
||
@stop
|
||
|
||
@section('content')
|
||
<p>This is my UI for posting new notes, hopefully you’ll soon be able to use this if your site supports the micropub API.</p>
|
||
@if($errors->endpoint->first() != '')
|
||
<p class="error">{{ $errors->endpoint->first() }}</p>
|
||
@endif
|
||
@if($errors->indieauth->first() != '')
|
||
<p class="error">{{ $errors->indieauth->first() }}</p>
|
||
@endif
|
||
@if($url === null)
|
||
<form action="/beginauth" method="post" id="login">
|
||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||
<fieldset>
|
||
<legend>IndieAuth</legend>
|
||
<label for="indie_auth_url" accesskey="a">Web Address: </label><input type="text" name="me" id="indie_auth_url" placeholder="yourdomain.com">
|
||
<label for="kludge"></label><button type="submit" name="sign-in" id="sign-in" value="Sign in">Sign in</button>
|
||
</fieldset>
|
||
</form>
|
||
@else
|
||
<p>You are authenticated as <code>{{ $url }}</code>, <a href="/logout">log out</a>.</p>
|
||
@endif
|
||
@include('templates.new-note-form', [
|
||
'micropub' => true,
|
||
'action' => '/notes/new',
|
||
'id' => 'newnote'
|
||
])
|
||
@stop
|
||
|
||
@section('scripts')
|
||
@include('templates.mapbox-links')
|
||
|
||
<script src="/assets/frontend/fetch.js"></script>
|
||
<script src="/assets/frontend/store2.min.js"></script>
|
||
<script src="/assets/frontend/alertify.js"></script>
|
||
<script src="/assets/js/form-save.js"></script>
|
||
<script src="/assets/js/newnote.js"></script>
|
||
|
||
<link rel="stylesheet" href="/assets/frontend/alertify.css">
|
||
@stop
|