Imporve the admin cp styles
Squashed commit of the following:
commit ebd17a5b03f42e4221ff79762467c688126ca7b0
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Jan 11 11:35:49 2018 +0000
Update changelog
commit c7324880f8e7f5c027b0ebe90fa7194af5a41ddc
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Jan 11 11:34:25 2018 +0000
Use buttons instead of submit inputs
commit 03ab29238fb3658f0c477bad13d7a438cfeda8c8
Merge: 884a438 1440742
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Jan 11 11:24:08 2018 +0000
Merge branch 'develop' into feature/admin-cp-styles
commit 884a438389195f3599038a9b5defc7c1799dda12
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Wed Jan 10 19:06:17 2018 +0000
update admin form HTML and add some new styles
This commit is contained in:
parent
1440742b32
commit
4289816f87
17 changed files with 336 additions and 242 deletions
|
@ -12,35 +12,28 @@
|
|||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
<form action="/admin/notes" method="post" accept-charset="utf-8">
|
||||
<form action="/admin/notes" method="post" accept-charset="utf-8" class="admin-form form">
|
||||
{{ csrf_field() }}
|
||||
<fieldset>
|
||||
<legend>New Note</legend>
|
||||
<div>
|
||||
<label for="in-reply-to" accesskey="r">Reply-to: </label>
|
||||
<input type="text"
|
||||
name="in-reply-to"
|
||||
id="in-reply-to"
|
||||
placeholder="in-reply-to-1 in-reply-to-2 …"
|
||||
>
|
||||
</div>
|
||||
<div>
|
||||
<label for="content" accesskey="n">Note: </label>
|
||||
<textarea name="content"
|
||||
id="content"
|
||||
placeholder="Note"
|
||||
autofocus="autofocus">
|
||||
{{ old('content') }}
|
||||
</textarea>
|
||||
</div>
|
||||
<div>
|
||||
<div>
|
||||
<button type="submit"
|
||||
name="submit"
|
||||
id="submit"
|
||||
value="Submit"
|
||||
>Submit</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div>
|
||||
<label for="in-reply-to" accesskey="r">Reply-to: </label>
|
||||
<input type="text"
|
||||
name="in-reply-to"
|
||||
id="in-reply-to"
|
||||
placeholder="in-reply-to-1 in-reply-to-2 …"
|
||||
>
|
||||
</div>
|
||||
<div>
|
||||
<label for="content" accesskey="n">Note: </label>
|
||||
<textarea name="content"
|
||||
id="content"
|
||||
placeholder="Note"
|
||||
autofocus="autofocus"
|
||||
>{{ old('content') }}</textarea>
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit"
|
||||
name="submit"
|
||||
>Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
@stop
|
||||
|
|
|
@ -3,23 +3,31 @@
|
|||
@section('title')Edit Note « Admin CP « @stop
|
||||
|
||||
@section('content')
|
||||
<form action="/admin/notes/{{ $note->id }}" method="post" accept-charset="utf-8">
|
||||
<form action="/admin/notes/{{ $note->id }}" method="post" accept-charset="utf-8" class="admin-form form">
|
||||
{{ csrf_field() }}
|
||||
{{ method_field('PUT') }}
|
||||
<fieldset>
|
||||
<legend>Edit Note</legend>
|
||||
<label for="in-reply-to" accesskey="r">Reply-to: </label><input type="text" name="in-reply-to" id="in-reply-to" placeholder="in-reply-to-1 in-reply-to-2 …" tabindex="1" value="{{ $note->in_reply_to }}"><br>
|
||||
<label for="content" accesskey="n">Note: </label><textarea name="content" id="content" placeholder="Note" tabindex="2">{{ $note->originalNote }}</textarea><br>
|
||||
<label for="webmentions" accesskey="w">Send webmentions: </label><input type="checkbox" name="webmentions" id="webmentions" checked="checked" tabindex="3"><br>
|
||||
<label for="kludge"></label><input type="submit" value="Submit" id="kludge" tabindex="6">
|
||||
</fieldset>
|
||||
<div>
|
||||
<label for="in-reply-to" accesskey="r">Reply-to: </label>
|
||||
<input type="text" name="in-reply-to" id="in-reply-to" placeholder="in-reply-to-1 in-reply-to-2 …" tabindex="1" value="{{ $note->in_reply_to }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="content" accesskey="n">Note: </label>
|
||||
<textarea name="content" id="content" placeholder="Note" tabindex="2">{{ $note->originalNote }}</textarea>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="webmentions" accesskey="w">Send webmentions: </label>
|
||||
<input type="checkbox" name="webmentions" id="webmentions" checked="checked" tabindex="3">
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" name="submit">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
<form action="/admin/notes/{{ $note->id }}" method="post" accept-charset="utf-8">
|
||||
<hr>
|
||||
<form action="/admin/notes/{{ $note->id }}" method="post" accept-charset="utf-8" class="form">
|
||||
{{ csrf_field() }}
|
||||
{{ method_field('DELETE') }}
|
||||
<fieldset>
|
||||
<legend>Delete Note</legend>
|
||||
<label for="kludge"></label><input type="submit" value="Delete" id="kludge">
|
||||
</fieldset>
|
||||
<div>
|
||||
<button type="submit" name="delete">Delete</button>
|
||||
</div>
|
||||
</form>
|
||||
@stop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue