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
|
@ -2,6 +2,7 @@
|
|||
|
||||
## Version {next}
|
||||
- Update micropub endpoint to support access tokens being sent in either acceptable form
|
||||
- Improve admin control panel forms
|
||||
|
||||
## Version 0.15.1 (2018-01-06)
|
||||
- Update dependencies and recompile frontend assets, fix tests
|
||||
|
|
2
public/assets/css/app.css
vendored
2
public/assets/css/app.css
vendored
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"version":3,"sources":["../../../resources/assets/sass/_border-box.scss","../../../resources/assets/sass/_base-font.scss","../../../resources/assets/sass/_header.scss","../../../resources/assets/sass/_variables.scss","../../../resources/assets/sass/_main.scss","../../../resources/assets/sass/_hovercard.scss","../../../resources/assets/sass/_notes.scss","../../../resources/assets/sass/_pagination.scss","../../../resources/assets/sass/_contacts-page.scss","../../../resources/assets/sass/_projects.scss","../../../resources/assets/sass/_footer.scss","../../../resources/assets/sass/_bridgy-links.scss","../../../resources/assets/sass/_emoji.scss","../../../resources/assets/sass/_mapbox.scss","../../../resources/assets/sass/_colors.scss","../../../resources/assets/sass/_styles.scss","../../../resources/assets/sass/_tags.scss"],"names":[],"mappings":"AAKA,KACI,8BAAsB,AAAtB,qBAAsB,CACzB,qBAKG,2BAAmB,AAAnB,kBAAmB,CACtB,KCVG,eACA,gCAAiC,CACpC,gBAGG,oBAAqB,CACxB,WCNG,oBACA,AADA,oBACA,AADA,aACA,8BACA,AADA,6BACA,AADA,kBACA,AADA,cACA,yBACA,AADA,sBACA,AADA,mBACA,WACA,eCJgB,CDKnB,cAGG,eACA,cAAe,CAClB,eAGG,cAAe,CAClB,KEdG,oBACA,AADA,oBACA,AADA,aACA,4BACA,AADA,6BACA,AADA,0BACA,AADA,sBACA,0BACA,AADA,uBACA,AADA,oBACA,gBACA,cACA,gBAAiB,CACpB,SAGG,cAAe,CAClB,WAIG,gBAAiB,CACpB,aCfG,iBAAkB,CACrB,qBAGG,iBAAkB,CACrB,2BAGG,WAAY,CACf,WAGG,kBACA,8BACA,AADA,6BACA,AADA,uBACA,AADA,mBACA,yBACA,AADA,sBACA,AADA,8BACA,sBACA,AADA,mBACA,AADA,qBACA,iBACA,YACA,WACA,UACA,WACA,uBACA,kBACA,2CACA,AADA,mCACA,YAAa,CAChB,8BAGG,oBAAa,AAAb,oBAAa,AAAb,YAAa,CAChB,0BAGG,WACA,WAAY,CACf,sBAGG,YAAa,CCnCjB,MACI,oBACA,AADA,oBACA,AADA,aACA,4BACA,AADA,6BACA,AADA,0BACA,AADA,sBACA,cAAe,CAClB,UAGG,eACA,eAAgB,CACnB,eAGG,oBACA,AADA,oBACA,AADA,aACA,8BACA,AADA,6BACA,AADA,uBACA,AADA,mBACA,yBAA8B,AAA9B,sBAA8B,AAA9B,6BAA8B,CACjC,MAGG,WACA,UAAW,CACd,YCtBG,oBACA,AADA,oBACA,AADA,aACA,8BACA,AADA,6BACA,AADA,uBACA,AADA,mBACA,8BACA,AADA,2BACA,AADA,6BACA,eACA,oBAAqB,CACxB,cCLG,eACA,oBACA,AADA,oBACA,AADA,aACA,8BACA,AADA,8BACA,AADA,+BACA,AADA,2BACA,yBACA,AADA,sBACA,AADA,8BACA,eAAgB,CACnB,kBAGG,WACA,WAAY,CACf,UCVG,cAAe,CAClB,gBCDG,gBACA,cACA,gBAAiB,CACpB,OAGG,gBACA,cACA,oBACA,AADA,oBACA,AADA,aACA,4BACA,AADA,6BACA,AADA,0BACA,AADA,sBACA,yBAAmB,AAAnB,sBAAmB,AAAnB,kBAAmB,CACtB,qDCVG,YAAa,CAChB,2BCAG,iBAAkB,CACrB,gFAIG,kBACA,cACA,UACA,aACA,OACA,cACA,qBACA,yBACA,oBACA,4CACA,AADA,oCACA,yBACA,kCACA,WACA,cACA,0CAAkC,AAAlC,iCAAkC,CACrC,2BAGG,KACI,aACA,6BACA,wCACA,0BACA,8BAAkC,AAAlC,qBAAkC,CAGtC,GACI,aACA,kCACA,yBACA,WACA,4CAAgD,AAAhD,mCAAgD,CAAA,CAIxD,AApBC,mBAGG,KACI,aACA,6BACA,wCACA,0BACA,8BAAkC,AAAlC,qBAAkC,CAGtC,GACI,aACA,kCACA,yBACA,WACA,4CAAgD,AAAhD,mCAAgD,CAAA,CAIxD,aACI,kCACI,kCAAmC,CACtC,CC9CL,KACI,YAAa,CAChB,oBAGG,kBAAmB,CACtB,QAGG,y4HACA,wBACA,WACA,WAAY,CACf,UAGG,kBACA,MACA,OACA,iBACA,cAAe,CAClB,gBAGG,gBACA,gBAAiB,CACpB,KCzBG,gCACA,kBAAmB,CACtB,WAGG,8BACA,kBAAmB,CACtB,YAIG,iBAAkB,CACrB,KCZG,oBAAqB,CACxB,aAGG,oBAAqB,CACxB,MCHG,SACA,gBACA,SAAU,CACb,SAGG,WACA,oBAAqB,CACxB,kBAIG,wBACA,0BACA,mBACA,qBACA,cACA,mBACA,sBACA,kBACA,qBACA,qBACA,8BAAsB,AAAtB,qBAAsB,CACzB,YAGG,0BACA,uCACA,oCACA,oCACA,WACA,kBACA,QACA,KAAM,CACT,WAGG,4BACA,kBAAmB,CACtB,kBAGG,4BAA6B,CAChC","file":"app.css"}
|
||||
{"version":3,"sources":["../../../resources/assets/sass/_border-box.scss","../../../resources/assets/sass/_base-font.scss","../../../resources/assets/sass/_header.scss","../../../resources/assets/sass/_variables.scss","../../../resources/assets/sass/_main.scss","../../../resources/assets/sass/_hovercard.scss","../../../resources/assets/sass/_notes.scss","../../../resources/assets/sass/_pagination.scss","../../../resources/assets/sass/_contacts-page.scss","../../../resources/assets/sass/_projects.scss","../../../resources/assets/sass/_footer.scss","../../../resources/assets/sass/_admin-form.scss","../../../resources/assets/sass/_form.scss","../../../resources/assets/sass/_bridgy-links.scss","../../../resources/assets/sass/_emoji.scss","../../../resources/assets/sass/_mapbox.scss","../../../resources/assets/sass/_colors.scss","../../../resources/assets/sass/_styles.scss","../../../resources/assets/sass/_tags.scss"],"names":[],"mappings":"AAKA,KACI,8BAAsB,AAAtB,qBAAsB,CACzB,qBAKG,2BAAmB,AAAnB,kBAAmB,CACtB,KCVG,eACA,gCAAiC,CACpC,gBAGG,oBAAqB,CACxB,WCNG,oBACA,AADA,oBACA,AADA,aACA,8BACA,AADA,6BACA,AADA,kBACA,AADA,cACA,yBACA,AADA,sBACA,AADA,mBACA,WACA,eCJgB,CDKnB,cAGG,eACA,cAAe,CAClB,eAGG,cAAe,CAClB,KEdG,oBACA,AADA,oBACA,AADA,aACA,4BACA,AADA,6BACA,AADA,0BACA,AADA,sBACA,0BACA,AADA,uBACA,AADA,oBACA,gBACA,cACA,iBACA,cAAe,CAClB,WAIG,gBAAiB,CACpB,aCZG,iBAAkB,CACrB,qBAGG,iBAAkB,CACrB,2BAGG,WAAY,CACf,WAGG,kBACA,8BACA,AADA,6BACA,AADA,uBACA,AADA,mBACA,yBACA,AADA,sBACA,AADA,8BACA,sBACA,AADA,mBACA,AADA,qBACA,iBACA,YACA,WACA,UACA,WACA,uBACA,kBACA,2CACA,AADA,mCACA,YAAa,CAChB,8BAGG,oBAAa,AAAb,oBAAa,AAAb,YAAa,CAChB,0BAGG,WACA,WAAY,CACf,sBAGG,YAAa,CCnCjB,MACI,oBACA,AADA,oBACA,AADA,aACA,4BACA,AADA,6BACA,AADA,0BACA,AADA,sBACA,cAAe,CAClB,UAGG,eACA,eAAgB,CACnB,eAGG,oBACA,AADA,oBACA,AADA,aACA,8BACA,AADA,6BACA,AADA,uBACA,AADA,mBACA,yBAA8B,AAA9B,sBAA8B,AAA9B,6BAA8B,CACjC,MAGG,WACA,UAAW,CACd,YCtBG,oBACA,AADA,oBACA,AADA,aACA,8BACA,AADA,6BACA,AADA,uBACA,AADA,mBACA,8BACA,AADA,2BACA,AADA,6BACA,eACA,oBAAqB,CACxB,cCLG,eACA,oBACA,AADA,oBACA,AADA,aACA,8BACA,AADA,8BACA,AADA,+BACA,AADA,2BACA,yBACA,AADA,sBACA,AADA,8BACA,eAAgB,CACnB,kBAGG,WACA,WAAY,CACf,UCVG,cAAe,CAClB,gBCDG,gBACA,cACA,gBAAiB,CACpB,OAGG,gBACA,cACA,oBACA,AADA,oBACA,AADA,aACA,4BACA,AADA,6BACA,AADA,0BACA,AADA,sBACA,yBAAmB,AAAnB,sBAAmB,AAAnB,kBAAmB,CACtB,YCXG,gBACA,kBAAmB,CACtB,MCFG,oBACA,AADA,oBACA,AADA,aACA,4BAAsB,AAAtB,6BAAsB,AAAtB,0BAAsB,AAAtB,qBAAsB,CACzB,UAGG,oBACA,AADA,oBACA,AADA,aACA,4BAAsB,AAAtB,6BAAsB,AAAtB,0BAAsB,AAAtB,qBAAsB,CACzB,aAGG,8BAAmB,AAAnB,6BAAmB,AAAnB,uBAAmB,AAAnB,kBAAmB,CACtB,qDCVG,YAAa,CAChB,2BCAG,iBAAkB,CACrB,gFAIG,kBACA,cACA,UACA,aACA,OACA,cACA,qBACA,yBACA,oBACA,4CACA,AADA,oCACA,yBACA,kCACA,WACA,cACA,0CAAkC,AAAlC,iCAAkC,CACrC,2BAGG,KACI,aACA,6BACA,wCACA,0BACA,8BAAkC,AAAlC,qBAAkC,CAGtC,GACI,aACA,kCACA,yBACA,WACA,4CAAgD,AAAhD,mCAAgD,CAAA,CAIxD,AApBC,mBAGG,KACI,aACA,6BACA,wCACA,0BACA,8BAAkC,AAAlC,qBAAkC,CAGtC,GACI,aACA,kCACA,yBACA,WACA,4CAAgD,AAAhD,mCAAgD,CAAA,CAIxD,aACI,kCACI,kCAAmC,CACtC,CC9CL,KACI,YAAa,CAChB,oBAGG,kBAAmB,CACtB,QAGG,y4HACA,wBACA,WACA,WAAY,CACf,UAGG,kBACA,MACA,OACA,iBACA,cAAe,CAClB,gBAGG,gBACA,gBAAiB,CACpB,KCzBG,gCACA,kBAAmB,CACtB,WAGG,8BACA,kBAAmB,CACtB,YAIG,iBAAkB,CACrB,KCZG,oBAAqB,CACxB,aAGG,oBAAqB,CACxB,MCHG,SACA,gBACA,SAAU,CACb,SAGG,WACA,oBAAqB,CACxB,kBAIG,wBACA,0BACA,mBACA,qBACA,cACA,mBACA,sBACA,kBACA,qBACA,qBACA,8BAAsB,AAAtB,qBAAsB,CACzB,YAGG,0BACA,uCACA,oCACA,oCACA,WACA,kBACA,QACA,KAAM,CACT,WAGG,4BACA,kBAAmB,CACtB,kBAGG,4BAA6B,CAChC","file":"app.css"}
|
6
resources/assets/sass/_admin-form.scss
vendored
Normal file
6
resources/assets/sass/_admin-form.scss
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
//admin-form.scss
|
||||
|
||||
.admin-form {
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
15
resources/assets/sass/_form.scss
vendored
Normal file
15
resources/assets/sass/_form.scss
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
//form.scss
|
||||
|
||||
.form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.form > div {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
div.form-row {
|
||||
flex-direction: row;
|
||||
}
|
3
resources/assets/sass/_main.scss
vendored
3
resources/assets/sass/_main.scss
vendored
|
@ -7,9 +7,6 @@ main {
|
|||
max-width: $body-width;
|
||||
margin: 0 auto;
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
|
||||
.h-entry {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
|
|
2
resources/assets/sass/app.scss
vendored
2
resources/assets/sass/app.scss
vendored
|
@ -16,6 +16,8 @@
|
|||
@import "contacts-page";
|
||||
@import "projects";
|
||||
@import "footer";
|
||||
@import "admin-form";
|
||||
@import "form";
|
||||
|
||||
//hide the custom bridgy posse content
|
||||
@import "bridgy-links";
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -3,29 +3,32 @@
|
|||
@section('title')Edit Article « Admin CP « @stop
|
||||
|
||||
@section('content')
|
||||
<form action="/admin/blog/{{ $id }}" method="post" accept-charset="utf-8">
|
||||
<form action="/admin/blog/{{ $id }}" method="post" accept-charset="utf-8" class="admin-form form">
|
||||
{{ csrf_field() }}
|
||||
{{ method_field('PUT') }}
|
||||
<label for="title">Title (URL):</label>
|
||||
<br>
|
||||
<input type="text" name="title" id="title" value="{!! $post['0']['title'] !!}">
|
||||
<br>
|
||||
<input type="url" name="url" id="url" value="{!! $post['0']['url'] !!}">
|
||||
<br>
|
||||
<label for="main">Main:</label>
|
||||
<br>
|
||||
<textarea name="main" id="main">{{ $post['0']['main'] }}</textarea>
|
||||
<br>
|
||||
<label for="published">Published:</label><input type="checkbox" name="published" value="1"@if($post['0']['published'] == '1') checked="checked"@endif>
|
||||
<br>
|
||||
<input type="submit" name="save" value="Save">
|
||||
<div>
|
||||
<label for="title">Title (URL):</label>
|
||||
<input type="text" name="title" id="title" value="{!! $post['0']['title'] !!}">
|
||||
<input type="url" name="url" id="url" value="{!! $post['0']['url'] !!}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="main">Main:</label>
|
||||
<textarea name="main" id="main">{{ $post['0']['main'] }}</textarea>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="published">Published:</label>
|
||||
<input type="checkbox" name="published" value="1"@if($post['0']['published'] == '1') checked="checked"@endif>
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" name="save">Save</button>
|
||||
</div>
|
||||
</form>
|
||||
<hr>
|
||||
<form action="/admin/blog/{{ $id }}" method="post">
|
||||
<form action="/admin/blog/{{ $id }}" method="post" class="admin-form form">
|
||||
{{ csrf_field() }}
|
||||
{{ method_field('DELETE') }}
|
||||
<button type="submit" name="submit">
|
||||
Delete
|
||||
</button>
|
||||
<div>
|
||||
<button type="submit" name="delete">Delete</button>
|
||||
</div>
|
||||
</form>
|
||||
@stop
|
||||
|
|
|
@ -4,10 +4,18 @@
|
|||
|
||||
@section('content')
|
||||
<h1>New Client</h1>
|
||||
<form action="/admin/clients/" method="post" accept-charset="utf-8">
|
||||
<form action="/admin/clients/" method="post" accept-charset="utf-8" class="admin-form form">
|
||||
{{ csrf_field() }}
|
||||
<input type="text" name="client_url" id="client_url" placeholder="client_url"><br>
|
||||
<input type="text" name="client_name" id="client_name" placeholder="client_name"><br>
|
||||
<input type="submit" name="submit" value="Submit">
|
||||
<div>
|
||||
<label for="client_url">Client URL:</label>
|
||||
<input type="text" name="client_url" id="client_url" placeholder="client_url">
|
||||
</div>
|
||||
<div>
|
||||
<label for="client_name">Client Name:</label>
|
||||
<input type="text" name="client_name" id="client_name" placeholder="client_name">
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" name="submit">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
@stop
|
||||
|
|
|
@ -4,17 +4,25 @@
|
|||
|
||||
@section('content')
|
||||
<h1>Edit Client</h1>
|
||||
<form action="/admin/clients/{{ $id }}" method="post" accept-charset="utf-8">
|
||||
<form action="/admin/clients/{{ $id }}" method="post" accept-charset="utf-8" class="admin-form form">
|
||||
{{ csrf_field() }}
|
||||
{{ method_field('PUT') }}
|
||||
<input type="text" name="client_url" id="client_url" value="{{ $client_url }}"><br>
|
||||
<input type="text" name="client_name" id="client_name" value="{{ $client_name }}"><br>
|
||||
<input type="submit" name="submit" value="Edit">
|
||||
<div>
|
||||
<label for="client_url">Client URL:</label>
|
||||
<input type="text" name="client_url" id="client_url" value="{{ $client_url }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="client_name">Client Name:</label>
|
||||
<input type="text" name="client_name" id="client_name" value="{{ $client_name }}">
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" name="edit">Edit</button>
|
||||
</div>
|
||||
</form>
|
||||
<hr>
|
||||
<form action="/admin/clients/{{ $id }}" method="post">
|
||||
{{ csrf_field() }}
|
||||
{{ method_field('DELETE') }}
|
||||
<button type="submit">Delete Client</button>
|
||||
<button type="submit" name="delete">Delete Client</button>
|
||||
</form>
|
||||
@stop
|
||||
|
|
|
@ -4,12 +4,26 @@
|
|||
|
||||
@section('content')
|
||||
<h1>New Contact</h1>
|
||||
<form action="/admin/contacts/" method="post" accept-charset="utf-8">
|
||||
<form action="/admin/contacts/" method="post" accept-charset="utf-8" class="admin-form form">
|
||||
{{ csrf_field() }}
|
||||
<label for="name">Real Name:</label> <input type="text" name="name" id="name" placeholder="Real Name"><br>
|
||||
<label for="nick">Nick:</label> <input type="text" name="nick" id="nick" placeholder="local_nick"><br>
|
||||
<label for="homepage">Homepage:</label> <input type="text" name="homepage" id="homepage" placeholder="https://homepage.com"><br>
|
||||
<label for="twitter">Twitter Nick:</label> <input type="text" name="twitter" id="twitter" placeholder="Twitter handle"><br>
|
||||
<input type="submit" name="submit" value="Submit">
|
||||
<div>
|
||||
<label for="name">Real Name:</label>
|
||||
<input type="text" name="name" id="name" placeholder="Real Name">
|
||||
</div>
|
||||
<div>
|
||||
<label for="nick">Nick:</label>
|
||||
<input type="text" name="nick" id="nick" placeholder="local_nick">
|
||||
</div>
|
||||
<div>
|
||||
<label for="homepage">Homepage:</label>
|
||||
<input type="text" name="homepage" id="homepage" placeholder="https://homepage.com">
|
||||
</div>
|
||||
<div>
|
||||
<label for="twitter">Twitter Nick:</label>
|
||||
<input type="text" name="twitter" id="twitter" placeholder="Twitter handle">
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" name="submit">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
@stop
|
||||
|
|
|
@ -4,37 +4,36 @@
|
|||
|
||||
@section('content')
|
||||
<h1>Edit Contact</h1>
|
||||
<form action="/admin/contacts/{{ $contact->id }}" method="post" enctype="multipart/form-data" accept-charset="utf-8">
|
||||
<form action="/admin/contacts/{{ $contact->id }}" method="post" enctype="multipart/form-data" accept-charset="utf-8" class="admin-form form">
|
||||
{{ csrf_field() }}
|
||||
{{ method_field('PUT') }}
|
||||
<fieldset class="note-ui">
|
||||
<legend>Conctact</legend>
|
||||
<div>
|
||||
<label for="name">Real Name:</label>
|
||||
<input type="text" name="name" id="name" placeholder="Real Name" value="{{ $contact->name }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="nick">Nick:</label>
|
||||
<input type="text" name="nick" id="nick" placeholder="local_nick" value="{{ $contact->nick }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="homepage">Website:</label>
|
||||
<input type="text" name="homepage" id="homepage" placeholder="https://homepage.com" value="{{ $contact->homepage }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="twitter">Twitter Nick:</label>
|
||||
<input type="text" name="twitter" id="twitter" placeholder="Twitter handle" value="{{ $contact->twitter }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="facebook">Facebook Profile ID:</label>
|
||||
<input type="text" name="facebook" id="facebook" placeholder="Facebook ID" value="{{ $contact->facebook }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="avatar">Avatar:</label>
|
||||
<input type="file" accept="image/*" value="Upload" name="avatar" id="avatar">
|
||||
</div>
|
||||
<input type="submit" name="submit" value="Submit">
|
||||
</fieldset>
|
||||
<div>
|
||||
<label for="name">Real Name:</label>
|
||||
<input type="text" name="name" id="name" placeholder="Real Name" value="{{ $contact->name }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="nick">Nick:</label>
|
||||
<input type="text" name="nick" id="nick" placeholder="local_nick" value="{{ $contact->nick }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="homepage">Website:</label>
|
||||
<input type="text" name="homepage" id="homepage" placeholder="https://homepage.com" value="{{ $contact->homepage }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="twitter">Twitter Nick:</label>
|
||||
<input type="text" name="twitter" id="twitter" placeholder="Twitter handle" value="{{ $contact->twitter }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="facebook">Facebook Profile ID:</label>
|
||||
<input type="text" name="facebook" id="facebook" placeholder="Facebook ID" value="{{ $contact->facebook }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="avatar">Avatar:</label>
|
||||
<input type="file" accept="image/*" value="Upload" name="avatar" id="avatar">
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" name="submit">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
<p>Instead of uploading an image, you can <a href="/admin/contacts/edit/{{ $contact->id }}/getavatar">grab from their homepage</a>?</p>
|
||||
@stop
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -4,15 +4,31 @@
|
|||
|
||||
@section('content')
|
||||
<h1>New Place</h1>
|
||||
<form action="/admin/places/" method="post" accept-charset="utf-8">
|
||||
<form action="/admin/places/" method="post" accept-charset="utf-8" class="admin-form form">
|
||||
{{ csrf_field() }}
|
||||
<label for="name">Name:</label> <input type="text" name="name" id="name" placeholder="Place Name"><br>
|
||||
<label for="description">Description:</label> <input type="text" name="description" id="description" placeholder="Description"><br>
|
||||
<label for="latitude">Latitude:</label> <input type="text" name="latitude" id="latitude" placeholder="Latitude"><br>
|
||||
<label for="longitude">Longitude:</label> <input type="text" name="longitude" id="longitude" placeholder="Longitude"><br>
|
||||
<input type="submit" name="submit" value="Submit">
|
||||
<div>
|
||||
<label for="name">Name:</label>
|
||||
<input type="text" name="name" id="name" placeholder="Place Name">
|
||||
</div>
|
||||
<div>
|
||||
<label for="description">Description:</label>
|
||||
<input type="text" name="description" id="description" placeholder="Description">
|
||||
</div>
|
||||
<div>
|
||||
<label for="latitude">Latitude:</label>
|
||||
<input type="text" name="latitude" id="latitude" placeholder="Latitude">
|
||||
</div>
|
||||
<div>
|
||||
<label for="longitude">Longitude:</label>
|
||||
<input type="text" name="longitude" id="longitude" placeholder="Longitude">
|
||||
</div>
|
||||
<div>
|
||||
<input type="submit" name="submit" value="Submit">
|
||||
</div>
|
||||
<h2>Location</h2>
|
||||
<button type="button" name="locate" id="locate">Locate</button>
|
||||
<div>
|
||||
<button type="button" name="locate" id="locate">Locate</button>
|
||||
</div>
|
||||
</form>
|
||||
@stop
|
||||
|
||||
|
|
|
@ -4,118 +4,137 @@
|
|||
|
||||
@section('content')
|
||||
<h1>Edit Place</h1>
|
||||
<form action="/admin/places/{{ $place->id }}" method="post" accept-charset="utf-8">
|
||||
<form action="/admin/places/{{ $place->id }}" method="post" accept-charset="utf-8" class="admin-form form">
|
||||
{{ csrf_field() }}
|
||||
{{ method_field('PUT') }}
|
||||
<p>Name</p>
|
||||
<input type="text" name="name" id="name" value="{{ $place->name }}"><br>
|
||||
<p>Description</p>
|
||||
<textarea name="description" id="description">{{ $place->description }}</textarea><br>
|
||||
<p>Location</p>
|
||||
<div class="map" data-latitude="{{ $place->latitude }}" data-longitude="{{ $place->longitude }}" data-id="{{ $place->id }}"></div>
|
||||
<script>
|
||||
var geojson{{ $place->id }} = {
|
||||
"type": "FeatureCollection",
|
||||
"features": [{
|
||||
"type": "Feature",
|
||||
"geometry": {
|
||||
"type": "Point",
|
||||
"coordinates": [{{ $place->longitude }}, {{ $place->latitude }}]
|
||||
},
|
||||
"properties": {
|
||||
"title": "{{ $place->name }}",
|
||||
"icon": "{{ $place->icon ?? 'marker' }}"
|
||||
}
|
||||
}]
|
||||
}
|
||||
</script>
|
||||
<input type="text" name="latitude" id="latitude" value="{{ $place->latitude }}"><br>
|
||||
<input type="text" name="longitude" id="longitude" value="{{ $place->longitude }}"><br>
|
||||
<p>Map Icon</p>
|
||||
<select name="icon" id="icon">
|
||||
<option value="airfield"@if($place->icon == 'airfield')selected @endif>airfield</option>
|
||||
<option value="airport"@if($place->icon == 'airport')selected @endif>airport</option>
|
||||
<option value="alcohol-shop"@if($place->icon == 'alcohol-shop')selected @endif>alcohol-shop</option>
|
||||
<option value="amusement-park"@if($place->icon == 'amusement-park')selected @endif>amusement-park</option>
|
||||
<option value="aquarium"@if($place->icon == 'aquarium')selected @endif>aquarium</option>
|
||||
<option value="art-gallery"@if($place->icon == 'art-gallery')selected @endif>art-gallery</option>
|
||||
<option value="attraction"@if($place->icon == 'attraction')selected @endif>attraction</option>
|
||||
<option value="bakery"@if($place->icon == 'bakery')selected @endif>bakery</option>
|
||||
<option value="bank"@if($place->icon == 'bank')selected @endif>bank</option>
|
||||
<option value="bar"@if($place->icon == 'bar')selected @endif>bar</option>
|
||||
<option value="beer"@if($place->icon == 'beer')selected @endif>beer</option>
|
||||
<option value="bicycle"@if($place->icon == 'bicycle')selected @endif>bicycle</option>
|
||||
<option value="bicycle-share"@if($place->icon == 'bicycle-share')selected @endif>bicycle-share</option>
|
||||
<option value="bus"@if($place->icon == 'bus')selected @endif>bus</option>
|
||||
<option value="cafe"@if($place->icon == 'cafe')selected @endif>cafe</option>
|
||||
<option value="campsite"@if($place->icon == 'campsite')selected @endif>campsite</option>
|
||||
<option value="car"@if($place->icon == 'car')selected @endif>car</option>
|
||||
<option value="castle"@if($place->icon == 'castle')selected @endif>castle</option>
|
||||
<option value="cemetery"@if($place->icon == 'cemetery')selected @endif>cemetery</option>
|
||||
<option value="cinema"@if($place->icon == 'cinema')selected @endif>cinema</option>
|
||||
<option value="circle"@if($place->icon == 'circle')selected @endif>circle</option>
|
||||
<option value="circle-stroked"@if($place->icon == 'circle-stroked')selected @endif>circle-stroked</option>
|
||||
<option value="clothing-store"@if($place->icon == 'clothing-store')selected @endif>clothing-store</option>
|
||||
<option value="college"@if($place->icon == 'college')selected @endif>college</option>
|
||||
<option value="dentist"@if($place->icon == 'dentist')selected @endif>dentist</option>
|
||||
<option value="doctor"@if($place->icon == 'doctor')selected @endif>doctor</option>
|
||||
<option value="dog-park"@if($place->icon == 'dog-park')selected @endif>dog-park</option>
|
||||
<option value="drinking-water"@if($place->icon == 'drinking-water')selected @endif>drinking-water</option>
|
||||
<option value="embassy"@if($place->icon == 'embassy')selected @endif>embassy</option>
|
||||
<option value="entrance"@if($place->icon == 'entrance')selected @endif>entrance</option>
|
||||
<option value="fast-food"@if($place->icon == 'fast-food')selected @endif>fast-food</option>
|
||||
<option value="ferry"@if($place->icon == 'ferry')selected @endif>ferry</option>
|
||||
<option value="fire-station"@if($place->icon == 'fire-station')selected @endif>fire-station</option>
|
||||
<option value="fuel"@if($place->icon == 'fuel')selected @endif>fuel</option>
|
||||
<option value="garden"@if($place->icon == 'garden')selected @endif>garden</option>
|
||||
<option value="golf"@if($place->icon == 'golf')selected @endif>golf</option>
|
||||
<option value="grocery"@if($place->icon == 'grocery')selected @endif>grocery</option>
|
||||
<option value="harbor"@if($place->icon == 'harbor')selected @endif>harbor</option>
|
||||
<option value="heliport"@if($place->icon == 'heliport')selected @endif>heliport</option>
|
||||
<option value="hospital"@if($place->icon == 'hospital')selected @endif>hospital</option>
|
||||
<option value="ice-cream"@if($place->icon == 'ice-cream')selected @endif>ice-cream</option>
|
||||
<option value="information"@if($place->icon == 'information')selected @endif>information</option>
|
||||
<option value="laundry"@if($place->icon == 'laundry')selected @endif>laundry</option>
|
||||
<option value="library"@if($place->icon == 'library')selected @endif>library</option>
|
||||
<option value="lodging"@if($place->icon == 'lodging')selected @endif>lodging</option>
|
||||
<option value="marker"@if($place->icon == 'marker')selected @endif>marker</option>
|
||||
<option value="monument"@if($place->icon == 'monument')selected @endif>monument</option>
|
||||
<option value="mountain"@if($place->icon == 'mountain')selected @endif>mountain</option>
|
||||
<option value="museum"@if($place->icon == 'museum')selected @endif>museum</option>
|
||||
<option value="music"@if($place->icon == 'music')selected @endif>music</option>
|
||||
<option value="park"@if($place->icon == 'park')selected @endif>park</option>
|
||||
<option value="pharmacy"@if($place->icon == 'pharmacy')selected @endif>pharmacy</option>
|
||||
<option value="picnic-site"@if($place->icon == 'picnic-site')selected @endif>picnic-site</option>
|
||||
<option value="place-of-worship"@if($place->icon == 'place-of-worship')selected @endif>place-of-worship</option>
|
||||
<option value="playground"@if($place->icon == 'playground')selected @endif>playground</option>
|
||||
<option value="police"@if($place->icon == 'police')selected @endif>police</option>
|
||||
<option value="post"@if($place->icon == 'post')selected @endif>post</option>
|
||||
<option value="prison"@if($place->icon == 'prison')selected @endif>prison</option>
|
||||
<option value="rail"@if($place->icon == 'rail')selected @endif>rail</option>
|
||||
<option value="rail-light"@if($place->icon == 'rail-light')selected @endif>rail-light</option>
|
||||
<option value="rail-metro"@if($place->icon == 'rail-metro')selected @endif>rail-metro</option>
|
||||
<option value="religious-christian"@if($place->icon == 'religious-christian')selected @endif>religious-christian</option>
|
||||
<option value="religious-jewish"@if($place->icon == 'religious-jewish')selected @endif>religious-jewish</option>
|
||||
<option value="religious-muslim"@if($place->icon == 'religious-muslim')selected @endif>religious-muslim</option>
|
||||
<option value="restaurant"@if($place->icon == 'restaurant')selected @endif>restaurant</option>
|
||||
<option value="rocket"@if($place->icon == 'rocket')selected @endif>rocket</option>
|
||||
<option value="school"@if($place->icon == 'school')selected @endif>school</option>
|
||||
<option value="shop"@if($place->icon == 'shop')selected @endif>shop</option>
|
||||
<option value="stadium"@if($place->icon == 'stadium')selected @endif>stadium</option>
|
||||
<option value="star"@if($place->icon == 'star')selected @endif>star</option>
|
||||
<option value="suitcase"@if($place->icon == 'suitcase')selected @endif>suitcase</option>
|
||||
<option value="swimming"@if($place->icon == 'swimming')selected @endif>swimming</option>
|
||||
<option value="theatre"@if($place->icon == 'theatre')selected @endif>theatre</option>
|
||||
<option value="toilet"@if($place->icon == 'toilet')selected @endif>toilet</option>
|
||||
<option value="town-hall"@if($place->icon == 'town-hall')selected @endif>town-hall</option>
|
||||
<option value="triangle"@if($place->icon == 'triangle')selected @endif>triangle</option>
|
||||
<option value="triangle-stroked"@if($place->icon == 'triangle-stroked')selected @endif>triangle-stroked</option>
|
||||
<option value="veterinary"@if($place->icon == 'veterinary')selected @endif>veterinary</option>
|
||||
<option value="volcano"@if($place->icon == 'volcano')selected @endif>volcano</option>
|
||||
<option value="zoo"@if($place->icon == 'zoo')selected @endif>zoo</option>
|
||||
</select><br>
|
||||
<input type="submit" name="edit" value="Edit"><br><br>
|
||||
<input type="submit" name="delete" value="Delete">
|
||||
<div>
|
||||
<label for="name">Name:</label>
|
||||
<input type="text" name="name" id="name" value="{{ $place->name }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="description">Description</label>
|
||||
<textarea name="description" id="description">{{ $place->description }}</textarea>
|
||||
</div>
|
||||
<div>
|
||||
<p>Location</p>
|
||||
<div class="map" data-latitude="{{ $place->latitude }}" data-longitude="{{ $place->longitude }}" data-id="{{ $place->id }}"></div>
|
||||
<script>
|
||||
var geojson{{ $place->id }} = {
|
||||
"type": "FeatureCollection",
|
||||
"features": [{
|
||||
"type": "Feature",
|
||||
"geometry": {
|
||||
"type": "Point",
|
||||
"coordinates": [{{ $place->longitude }}, {{ $place->latitude }}]
|
||||
},
|
||||
"properties": {
|
||||
"title": "{{ $place->name }}",
|
||||
"icon": "{{ $place->icon ?? 'marker' }}"
|
||||
}
|
||||
}]
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<label for="latitude">Latitude:</label>
|
||||
<input type="text" name="latitude" id="latitude" value="{{ $place->latitude }}">
|
||||
</div>
|
||||
<div>
|
||||
<label for="longitude">Longitude:</label>
|
||||
<input type="text" name="longitude" id="longitude" value="{{ $place->longitude }}">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="icon">Map Icon</label>
|
||||
<select name="icon" id="icon">
|
||||
<option value="airfield"@if($place->icon == 'airfield')selected @endif>airfield</option>
|
||||
<option value="airport"@if($place->icon == 'airport')selected @endif>airport</option>
|
||||
<option value="alcohol-shop"@if($place->icon == 'alcohol-shop')selected @endif>alcohol-shop</option>
|
||||
<option value="amusement-park"@if($place->icon == 'amusement-park')selected @endif>amusement-park</option>
|
||||
<option value="aquarium"@if($place->icon == 'aquarium')selected @endif>aquarium</option>
|
||||
<option value="art-gallery"@if($place->icon == 'art-gallery')selected @endif>art-gallery</option>
|
||||
<option value="attraction"@if($place->icon == 'attraction')selected @endif>attraction</option>
|
||||
<option value="bakery"@if($place->icon == 'bakery')selected @endif>bakery</option>
|
||||
<option value="bank"@if($place->icon == 'bank')selected @endif>bank</option>
|
||||
<option value="bar"@if($place->icon == 'bar')selected @endif>bar</option>
|
||||
<option value="beer"@if($place->icon == 'beer')selected @endif>beer</option>
|
||||
<option value="bicycle"@if($place->icon == 'bicycle')selected @endif>bicycle</option>
|
||||
<option value="bicycle-share"@if($place->icon == 'bicycle-share')selected @endif>bicycle-share</option>
|
||||
<option value="bus"@if($place->icon == 'bus')selected @endif>bus</option>
|
||||
<option value="cafe"@if($place->icon == 'cafe')selected @endif>cafe</option>
|
||||
<option value="campsite"@if($place->icon == 'campsite')selected @endif>campsite</option>
|
||||
<option value="car"@if($place->icon == 'car')selected @endif>car</option>
|
||||
<option value="castle"@if($place->icon == 'castle')selected @endif>castle</option>
|
||||
<option value="cemetery"@if($place->icon == 'cemetery')selected @endif>cemetery</option>
|
||||
<option value="cinema"@if($place->icon == 'cinema')selected @endif>cinema</option>
|
||||
<option value="circle"@if($place->icon == 'circle')selected @endif>circle</option>
|
||||
<option value="circle-stroked"@if($place->icon == 'circle-stroked')selected @endif>circle-stroked</option>
|
||||
<option value="clothing-store"@if($place->icon == 'clothing-store')selected @endif>clothing-store</option>
|
||||
<option value="college"@if($place->icon == 'college')selected @endif>college</option>
|
||||
<option value="dentist"@if($place->icon == 'dentist')selected @endif>dentist</option>
|
||||
<option value="doctor"@if($place->icon == 'doctor')selected @endif>doctor</option>
|
||||
<option value="dog-park"@if($place->icon == 'dog-park')selected @endif>dog-park</option>
|
||||
<option value="drinking-water"@if($place->icon == 'drinking-water')selected @endif>drinking-water</option>
|
||||
<option value="embassy"@if($place->icon == 'embassy')selected @endif>embassy</option>
|
||||
<option value="entrance"@if($place->icon == 'entrance')selected @endif>entrance</option>
|
||||
<option value="fast-food"@if($place->icon == 'fast-food')selected @endif>fast-food</option>
|
||||
<option value="ferry"@if($place->icon == 'ferry')selected @endif>ferry</option>
|
||||
<option value="fire-station"@if($place->icon == 'fire-station')selected @endif>fire-station</option>
|
||||
<option value="fuel"@if($place->icon == 'fuel')selected @endif>fuel</option>
|
||||
<option value="garden"@if($place->icon == 'garden')selected @endif>garden</option>
|
||||
<option value="golf"@if($place->icon == 'golf')selected @endif>golf</option>
|
||||
<option value="grocery"@if($place->icon == 'grocery')selected @endif>grocery</option>
|
||||
<option value="harbor"@if($place->icon == 'harbor')selected @endif>harbor</option>
|
||||
<option value="heliport"@if($place->icon == 'heliport')selected @endif>heliport</option>
|
||||
<option value="hospital"@if($place->icon == 'hospital')selected @endif>hospital</option>
|
||||
<option value="ice-cream"@if($place->icon == 'ice-cream')selected @endif>ice-cream</option>
|
||||
<option value="information"@if($place->icon == 'information')selected @endif>information</option>
|
||||
<option value="laundry"@if($place->icon == 'laundry')selected @endif>laundry</option>
|
||||
<option value="library"@if($place->icon == 'library')selected @endif>library</option>
|
||||
<option value="lodging"@if($place->icon == 'lodging')selected @endif>lodging</option>
|
||||
<option value="marker"@if($place->icon == 'marker')selected @endif>marker</option>
|
||||
<option value="monument"@if($place->icon == 'monument')selected @endif>monument</option>
|
||||
<option value="mountain"@if($place->icon == 'mountain')selected @endif>mountain</option>
|
||||
<option value="museum"@if($place->icon == 'museum')selected @endif>museum</option>
|
||||
<option value="music"@if($place->icon == 'music')selected @endif>music</option>
|
||||
<option value="park"@if($place->icon == 'park')selected @endif>park</option>
|
||||
<option value="pharmacy"@if($place->icon == 'pharmacy')selected @endif>pharmacy</option>
|
||||
<option value="picnic-site"@if($place->icon == 'picnic-site')selected @endif>picnic-site</option>
|
||||
<option value="place-of-worship"@if($place->icon == 'place-of-worship')selected @endif>place-of-worship</option>
|
||||
<option value="playground"@if($place->icon == 'playground')selected @endif>playground</option>
|
||||
<option value="police"@if($place->icon == 'police')selected @endif>police</option>
|
||||
<option value="post"@if($place->icon == 'post')selected @endif>post</option>
|
||||
<option value="prison"@if($place->icon == 'prison')selected @endif>prison</option>
|
||||
<option value="rail"@if($place->icon == 'rail')selected @endif>rail</option>
|
||||
<option value="rail-light"@if($place->icon == 'rail-light')selected @endif>rail-light</option>
|
||||
<option value="rail-metro"@if($place->icon == 'rail-metro')selected @endif>rail-metro</option>
|
||||
<option value="religious-christian"@if($place->icon == 'religious-christian')selected @endif>religious-christian</option>
|
||||
<option value="religious-jewish"@if($place->icon == 'religious-jewish')selected @endif>religious-jewish</option>
|
||||
<option value="religious-muslim"@if($place->icon == 'religious-muslim')selected @endif>religious-muslim</option>
|
||||
<option value="restaurant"@if($place->icon == 'restaurant')selected @endif>restaurant</option>
|
||||
<option value="rocket"@if($place->icon == 'rocket')selected @endif>rocket</option>
|
||||
<option value="school"@if($place->icon == 'school')selected @endif>school</option>
|
||||
<option value="shop"@if($place->icon == 'shop')selected @endif>shop</option>
|
||||
<option value="stadium"@if($place->icon == 'stadium')selected @endif>stadium</option>
|
||||
<option value="star"@if($place->icon == 'star')selected @endif>star</option>
|
||||
<option value="suitcase"@if($place->icon == 'suitcase')selected @endif>suitcase</option>
|
||||
<option value="swimming"@if($place->icon == 'swimming')selected @endif>swimming</option>
|
||||
<option value="theatre"@if($place->icon == 'theatre')selected @endif>theatre</option>
|
||||
<option value="toilet"@if($place->icon == 'toilet')selected @endif>toilet</option>
|
||||
<option value="town-hall"@if($place->icon == 'town-hall')selected @endif>town-hall</option>
|
||||
<option value="triangle"@if($place->icon == 'triangle')selected @endif>triangle</option>
|
||||
<option value="triangle-stroked"@if($place->icon == 'triangle-stroked')selected @endif>triangle-stroked</option>
|
||||
<option value="veterinary"@if($place->icon == 'veterinary')selected @endif>veterinary</option>
|
||||
<option value="volcano"@if($place->icon == 'volcano')selected @endif>volcano</option>
|
||||
<option value="zoo"@if($place->icon == 'zoo')selected @endif>zoo</option>
|
||||
</select>
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" name="edit">Edit</button>
|
||||
</div>
|
||||
<hr>
|
||||
<div>
|
||||
<button type="submit" name="delete">Delete</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<p><a href="/admin/places/{{ $place->id }}/merge">Merge with another place?</a></p>
|
||||
|
|
Loading…
Add table
Reference in a new issue