Minor style updates to public organiser pages
This commit is contained in:
parent
3e79c2c5cc
commit
9878e41397
|
|
@ -295,6 +295,9 @@ Small devices (tablets, 768px and up)
|
|||
}
|
||||
|
||||
#organiser_page_wrap {
|
||||
|
||||
|
||||
|
||||
#intro {
|
||||
padding: 30px;
|
||||
margin-top: 0;
|
||||
|
|
@ -303,6 +306,9 @@ Small devices (tablets, 768px and up)
|
|||
font-size: 2.236em;
|
||||
padding: 15px;
|
||||
}
|
||||
#events {
|
||||
min-height: 350px;
|
||||
}
|
||||
}
|
||||
|
||||
#event_page_wrap {
|
||||
|
|
|
|||
|
|
@ -1,32 +1,39 @@
|
|||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h1 class="event-listing-heading">{{ $panel_title }}</h1>
|
||||
<ul class="event-list">
|
||||
|
||||
@foreach($events as $event)
|
||||
@if(count($events))
|
||||
|
||||
<li>
|
||||
<time datetime="{{ $event->start_date }}">
|
||||
<span class="day">{{ $event->start_date->format('d') }}</span>
|
||||
<span class="month">{{ $event->start_date->format('M') }}</span>
|
||||
<span class="year">{{ $event->start_date->format('Y') }}</span>
|
||||
<span class="time">{{ $event->start_date->format('h:i') }}</span>
|
||||
</time>
|
||||
@if(count($event->images))
|
||||
<img class="hide" alt="{{ $event->title }}" src="{{ asset($event->images->first()['image_path']) }}"/>
|
||||
@endif
|
||||
<div class="info">
|
||||
<h2 class="title ellipsis">
|
||||
<a href="{{$event->event_url }}">{{ $event->title }}</a>
|
||||
</h2>
|
||||
<p class="desc ellipsis">{{ $event->venue_name }}</p>
|
||||
<ul>
|
||||
<li style="width:50%;"><a href="{{$event->event_url }}">Tickets</a></li>
|
||||
<li style="width:50%;"><a href="{{$event->event_url }}">Information</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
@endforeach
|
||||
@foreach($events as $event)
|
||||
<li>
|
||||
<time datetime="{{ $event->start_date }}">
|
||||
<span class="day">{{ $event->start_date->format('d') }}</span>
|
||||
<span class="month">{{ $event->start_date->format('M') }}</span>
|
||||
<span class="year">{{ $event->start_date->format('Y') }}</span>
|
||||
<span class="time">{{ $event->start_date->format('h:i') }}</span>
|
||||
</time>
|
||||
@if(count($event->images))
|
||||
<img class="hide" alt="{{ $event->title }}" src="{{ asset($event->images->first()['image_path']) }}"/>
|
||||
@endif
|
||||
<div class="info">
|
||||
<h2 class="title ellipsis">
|
||||
<a href="{{$event->event_url }}">{{ $event->title }}</a>
|
||||
</h2>
|
||||
<p class="desc ellipsis">{{ $event->venue_name }}</p>
|
||||
<ul>
|
||||
<li style="width:50%;"><a href="{{$event->event_url }}">Tickets</a></li>
|
||||
<li style="width:50%;"><a href="{{$event->event_url }}">Information</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
@endforeach
|
||||
@else
|
||||
<div class="alert alert-info">
|
||||
There are no {{ $panel_title }} to display.
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<section class="container">
|
||||
<section id="events" class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-8">
|
||||
@include('Public.ViewOrganiser.Partials.EventListingPanel',
|
||||
|
|
|
|||
Loading…
Reference in New Issue