Initial commit to new repo
This commit is contained in:
parent
a267f9bfcc
commit
a5173c981b
292 changed files with 17472 additions and 0 deletions
21
resources/views/singleplace.blade.php
Normal file
21
resources/views/singleplace.blade.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
@extends('master')
|
||||
|
||||
@section('title')
|
||||
{{ $place->name }} « Places « Jonny Barnes
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<div class="h-card">
|
||||
<h1 class="p-name">{{ $place->name }}</h1>
|
||||
<p class="p-note">{{ $place->description or 'No description'}}</p>
|
||||
<div class="map" data-latitude="{{ $place->latitude }}" data-longitude="{{ $place->longitude }}"></div>
|
||||
<p class="latlnginfo">Latitude: <span class="p-latitude">{{ $place->latitude }}</span>, longitude: <span class="p-longitude">{{ $place->longitude }}</span></p>
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@section('scripts')
|
||||
<script src="https://api.mapbox.com/mapbox.js/v2.2.3/mapbox.js"></script>
|
||||
<link rel="stylesheet" href="https://api.mapbox.com/mapbox.js/v2.2.3/mapbox.css">
|
||||
|
||||
<script src="{{ elixir('assets/js/maps.js') }}"></script>
|
||||
@stop
|
Loading…
Add table
Add a link
Reference in a new issue