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
|
@ -4,22 +4,27 @@
|
|||
|
||||
@section('content')
|
||||
@if(isset($message)) <p class="error">{{ $message }}</p>@endif
|
||||
<form action="/admin/blog/" method="post" accept-charset="utf-8" enctype="multipart/form-data" id="newarticle">
|
||||
<form action="/admin/blog/" method="post" accept-charset="utf-8" enctype="multipart/form-data" class="admin-form form">
|
||||
{{ csrf_field() }}
|
||||
<label for="title">Title (URL):</label>
|
||||
<br>
|
||||
<input type="text" name="title" id="title" value="{{ old('title') }}" placeholder="Title here">
|
||||
<br>
|
||||
<input type="text" name="url" id="url" value="{{ old('url') }}" placeholder="Article URL">
|
||||
<br>
|
||||
<label for="main">Main:</label>
|
||||
<br>
|
||||
<textarea name="main" id="main" placeholder="Article here">{{ old('main') }}</textarea>
|
||||
<br>
|
||||
<label for="published">Published:</label><input type="checkbox" name="published" id="published" value="1">
|
||||
<br>
|
||||
<p>Or you can upload an <code>.md</code> file:</p><input type="file" accept=".md" name="article">
|
||||
<br>
|
||||
<button type="submit" name="save">Save</button>
|
||||
<div>
|
||||
<label for="title">Title (URL):</label>
|
||||
<input type="text" name="title" id="title" value="{{ old('title') }}" placeholder="Title here">
|
||||
<input type="text" name="url" id="url" value="{{ old('url') }}" placeholder="Article URL">
|
||||
</div>
|
||||
<div>
|
||||
<label for="main">Main:</label>
|
||||
<textarea name="main" id="main" placeholder="Article here">{{ old('main') }}</textarea>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="published">Published:</label>
|
||||
<input type="checkbox" name="published" id="published" value="1">
|
||||
</div>
|
||||
<p>Or you can upload an <code>.md</code> file:</p>
|
||||
<div>
|
||||
<input type="file" accept=".md" name="article">
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" name="save">Save</button>
|
||||
</div>
|
||||
</form>
|
||||
@stop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue