Add powered by link to embedded widgets
This commit is contained in:
parent
a3d1e946bc
commit
f62a6ba000
|
|
@ -4601,7 +4601,7 @@ function log() {
|
|||
},
|
||||
success: function(data, statusText, xhr, $form) {
|
||||
var $submitButton = $form.find('input[type=submit]');
|
||||
|
||||
|
||||
if (data.message) {
|
||||
showMessage(data.message);
|
||||
}
|
||||
|
|
@ -4772,7 +4772,7 @@ function processFormErrors($form, errors)
|
|||
}
|
||||
|
||||
/**
|
||||
* Toggle a submit button disabled/enabled - duh!
|
||||
* Toggle a submit button disabled/enabled
|
||||
*
|
||||
* @param element $submitButton
|
||||
* @returns void
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -4,6 +4,7 @@
|
|||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
}
|
||||
|
|
@ -69,7 +70,7 @@ section h1 {
|
|||
border: none;
|
||||
margin-bottom: 0;
|
||||
margin-top: 20px;
|
||||
color:#fff;
|
||||
color: #fff;
|
||||
background-color: #AF5050;
|
||||
}
|
||||
|
||||
|
|
@ -85,12 +86,12 @@ section h1 {
|
|||
}
|
||||
|
||||
#goLiveBar {
|
||||
background-color: rgba(255,255,255,.9);
|
||||
background-color: rgba(255, 255, 255, .9);
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.adminLink,.adminLink:hover {
|
||||
.adminLink, .adminLink:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -268,14 +269,13 @@ footer, .push {
|
|||
|
||||
.contact_form {
|
||||
display: none;
|
||||
padding:20px;
|
||||
padding: 20px;
|
||||
margin-top: 25px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
.totop {
|
||||
border-radius: 0;
|
||||
background-color: #888;
|
||||
|
|
@ -288,6 +288,15 @@ footer, .push {
|
|||
color: #000;
|
||||
}
|
||||
|
||||
.powered_by_embedded {
|
||||
text-align: center;
|
||||
padding: 4px;
|
||||
|
||||
a {
|
||||
color: #333 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Small devices (tablets, 768px and up)
|
||||
========================================================================== */
|
||||
|
|
@ -315,8 +324,6 @@ Small devices (tablets, 768px and up)
|
|||
|
||||
#organiser_page_wrap {
|
||||
|
||||
|
||||
|
||||
#intro {
|
||||
padding: 30px;
|
||||
margin-top: 0;
|
||||
|
|
@ -410,11 +417,13 @@ Event Listing / Organiser Page
|
|||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.event-list > li {
|
||||
background-color: #F3F3F3;
|
||||
padding: 0px;
|
||||
margin: 0px 0px 20px;
|
||||
}
|
||||
|
||||
.event-list > li > time {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
|
|
@ -426,37 +435,43 @@ Event Listing / Organiser Page
|
|||
.event-list > li > time > span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.event-list > li > time > .day {
|
||||
display: block;
|
||||
font-size: 18pt;
|
||||
font-weight: 100;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.event-list > li time > .month {
|
||||
display: block;
|
||||
font-size: 24pt;
|
||||
font-weight: 900;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.event-list > li > img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.event-list > li > .info {
|
||||
padding-top: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.event-list > li > .info > .title {
|
||||
font-size: 15pt;
|
||||
font-weight: 500;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.event-list > li > .info > .desc {
|
||||
font-size: 10pt;
|
||||
font-weight: 300;
|
||||
margin: 0px;
|
||||
}
|
||||
.event-list > li > .info > ul
|
||||
{
|
||||
|
||||
.event-list > li > .info > ul {
|
||||
display: table;
|
||||
list-style: none;
|
||||
margin: 10px 0px 0px;
|
||||
|
|
@ -474,6 +489,7 @@ Event Listing / Organiser Page
|
|||
font-weight: 300;
|
||||
padding: 3px 0px;
|
||||
}
|
||||
|
||||
.event-list > li > .info > ul > li > a {
|
||||
display: block;
|
||||
width: 100%;
|
||||
|
|
@ -481,13 +497,11 @@ Event Listing / Organiser Page
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
.event-list > li > .info > ul > li:hover {
|
||||
color: rgb(30, 30, 30);
|
||||
background-color: rgb(200, 200, 200);
|
||||
}
|
||||
|
||||
|
||||
@media (min-width: 768px) {
|
||||
|
||||
.event-list > li {
|
||||
|
|
@ -497,19 +511,23 @@ Event Listing / Organiser Page
|
|||
height: 120px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.event-list > li > time,
|
||||
.event-list > li > img {
|
||||
.event-list > li > img {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.event-list > li > time,
|
||||
.event-list > li > img {
|
||||
width: 120px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.event-list > li > .info {
|
||||
background-color: rgb(245, 245, 245);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.event-list > li > time,
|
||||
.event-list > li > img {
|
||||
width: 120px;
|
||||
|
|
@ -517,9 +535,11 @@ Event Listing / Organiser Page
|
|||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.event-list > li > time > .day {
|
||||
font-size: 56pt;
|
||||
}
|
||||
|
||||
.event-list > li > .info {
|
||||
position: relative;
|
||||
height: 120px;
|
||||
|
|
@ -527,10 +547,12 @@ Event Listing / Organiser Page
|
|||
padding-right: 40px;
|
||||
padding-top: 30px;
|
||||
}
|
||||
|
||||
.event-list > li > .info > .title,
|
||||
.event-list > li > .info > .desc {
|
||||
padding: 0px 10px;
|
||||
}
|
||||
|
||||
.event-list > li > .info > ul {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
|
|
@ -538,5 +560,4 @@ Event Listing / Organiser Page
|
|||
background-color: #D2D2D2;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
@section('content')
|
||||
@include('Public.ViewEvent.Partials.EventTicketsSection')
|
||||
@include('Public.ViewEvent.Embedded.Partials.PoweredByEmbedded')
|
||||
@stop
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
@extends('Public.ViewEvent.Layouts.EmbeddedEventPage')
|
||||
|
||||
@section('head')
|
||||
<script type="text/javascript" src="https://js.stripe.com/v2/"></script>
|
||||
<script type="text/javascript" src="https://js.stripe.com/v2/"></script>
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
@include('Public.ViewEvent.Partials.EventCreateOrderSection')
|
||||
<script> var OrderExpires = {{strtotime($expires)}};</script>
|
||||
|
||||
@include('Public.ViewEvent.Partials.EventCreateOrderSection')
|
||||
@include('Public.ViewEvent.Embedded.Partials.PoweredByEmbedded')
|
||||
<script> var OrderExpires = {{strtotime($expires)}};</script>
|
||||
@stop
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
@extends('Public.ViewEvent.Layouts.EmbeddedEventPage')
|
||||
|
||||
@section('content')
|
||||
|
||||
@include('Public.ViewEvent.Partials.EventShareSection')
|
||||
@include('Public.ViewEvent.Partials.EventViewOrderSection')
|
||||
|
||||
@include('Public.ViewEvent.Embedded.Partials.PoweredByEmbedded')
|
||||
@stop
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
{{--Attendize is provided free of charge on the condition the below hyperlink is left in place.--}}
|
||||
{{--See https://www.attendize.com/licence.php for more information.--}}
|
||||
<div class="powered_by_embedded">
|
||||
@include('Shared.Partials.PoweredBy')
|
||||
</div>
|
||||
|
|
@ -6,119 +6,124 @@
|
|||
</div>
|
||||
|
||||
@if($event->start_date->isPast())
|
||||
<div class="alert alert-boring">
|
||||
This event has {{($event->end_date->isFuture() ? 'already started' : 'ended')}}.
|
||||
</div>
|
||||
<div class="alert alert-boring">
|
||||
This event has {{($event->end_date->isFuture() ? 'already started' : 'ended')}}.
|
||||
</div>
|
||||
@else
|
||||
|
||||
@if($tickets->count() > 0)
|
||||
@if($tickets->count() > 0)
|
||||
|
||||
{!! Form::open(['url' => route('postValidateTickets', ['event_id' => $event->id]), 'class' => 'ajax']) !!}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="content">
|
||||
<div class="tickets_table_wrap">
|
||||
<table class="table">
|
||||
<?php
|
||||
$is_free_event = true;
|
||||
?>
|
||||
@foreach($tickets as $ticket)
|
||||
<tr class="ticket" property="offers" typeof="Offer">
|
||||
<td>
|
||||
{!! Form::open(['url' => route('postValidateTickets', ['event_id' => $event->id]), 'class' => 'ajax']) !!}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="content">
|
||||
<div class="tickets_table_wrap">
|
||||
<table class="table">
|
||||
<?php
|
||||
$is_free_event = true;
|
||||
?>
|
||||
@foreach($tickets as $ticket)
|
||||
<tr class="ticket" property="offers" typeof="Offer">
|
||||
<td>
|
||||
<span class="ticket-title semibold" property="name">
|
||||
{{$ticket->title}}
|
||||
</span>
|
||||
<p class="ticket-descripton mb0 text-muted" property="description">
|
||||
{{$ticket->description}}
|
||||
</p>
|
||||
</td>
|
||||
<td style="width:180px; text-align: right;">
|
||||
<div class="ticket-pricing" style="margin-right: 20px;">
|
||||
@if($ticket->is_free)
|
||||
FREE
|
||||
<meta property="price" content="0">
|
||||
@else
|
||||
<?php
|
||||
$is_free_event = false;
|
||||
?>
|
||||
<span title='{{money($ticket->price, $event->currency)}} Ticket Price + {{money($ticket->total_booking_fee, $event->currency)}} Booking Fees'>{{money($ticket->total_price, $event->currency)}} </span>
|
||||
<meta property="priceCurrency" content="{{ $event->currency->code }}">
|
||||
<meta property="price" content="{{ number_format($ticket->price, 2, '.', '') }}">
|
||||
@endif
|
||||
</div>
|
||||
</td>
|
||||
<td style="width:85px;">
|
||||
@if($ticket->is_paused)
|
||||
<p class="ticket-descripton mb0 text-muted" property="description">
|
||||
{{$ticket->description}}
|
||||
</p>
|
||||
</td>
|
||||
<td style="width:180px; text-align: right;">
|
||||
<div class="ticket-pricing" style="margin-right: 20px;">
|
||||
@if($ticket->is_free)
|
||||
FREE
|
||||
<meta property="price" content="0">
|
||||
@else
|
||||
<?php
|
||||
$is_free_event = false;
|
||||
?>
|
||||
<span title='{{money($ticket->price, $event->currency)}} Ticket Price + {{money($ticket->total_booking_fee, $event->currency)}} Booking Fees'>{{money($ticket->total_price, $event->currency)}} </span>
|
||||
<meta property="priceCurrency"
|
||||
content="{{ $event->currency->code }}">
|
||||
<meta property="price"
|
||||
content="{{ number_format($ticket->price, 2, '.', '') }}">
|
||||
@endif
|
||||
</div>
|
||||
</td>
|
||||
<td style="width:85px;">
|
||||
@if($ticket->is_paused)
|
||||
|
||||
<span class="text-danger">
|
||||
<span class="text-danger">
|
||||
Currently Not On Sale
|
||||
</span>
|
||||
|
||||
@else
|
||||
@else
|
||||
|
||||
@if($ticket->sale_status === config('attendize.ticket_status_sold_out'))
|
||||
<span class="text-danger" property="availability" content="http://schema.org/SoldOut">
|
||||
@if($ticket->sale_status === config('attendize.ticket_status_sold_out'))
|
||||
<span class="text-danger" property="availability"
|
||||
content="http://schema.org/SoldOut">
|
||||
Sold Out
|
||||
</span>
|
||||
@elseif($ticket->sale_status === config('attendize.ticket_status_before_sale_date'))
|
||||
<span class="text-danger">
|
||||
@elseif($ticket->sale_status === config('attendize.ticket_status_before_sale_date'))
|
||||
<span class="text-danger">
|
||||
Sales Have Not Started
|
||||
</span>
|
||||
@elseif($ticket->sale_status === config('attendize.ticket_status_after_sale_date'))
|
||||
<span class="text-danger">
|
||||
@elseif($ticket->sale_status === config('attendize.ticket_status_after_sale_date'))
|
||||
<span class="text-danger">
|
||||
Sales Have Ended
|
||||
</span>
|
||||
@else
|
||||
{!! Form::hidden('tickets[]', $ticket->id) !!}
|
||||
<meta property="availability" content="http://schema.org/InStock">
|
||||
<select name="ticket_{{$ticket->id}}" class="form-control" style="text-align: center">
|
||||
@if ($tickets->count() > 1)
|
||||
<option value="0">0</option>
|
||||
@endif
|
||||
@for($i=$ticket->min_per_person; $i<=$ticket->max_per_person; $i++)
|
||||
<option value="{{$i}}">{{$i}}</option>
|
||||
@endfor
|
||||
</select>
|
||||
@endif
|
||||
@else
|
||||
{!! Form::hidden('tickets[]', $ticket->id) !!}
|
||||
<meta property="availability" content="http://schema.org/InStock">
|
||||
<select name="ticket_{{$ticket->id}}" class="form-control"
|
||||
style="text-align: center">
|
||||
@if ($tickets->count() > 1)
|
||||
<option value="0">0</option>
|
||||
@endif
|
||||
@for($i=$ticket->min_per_person; $i<=$ticket->max_per_person; $i++)
|
||||
<option value="{{$i}}">{{$i}}</option>
|
||||
@endfor
|
||||
</select>
|
||||
@endif
|
||||
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
<tr class="checkout">
|
||||
<td colspan="3">
|
||||
@if(!$is_free_event)
|
||||
<div class="hidden-xs pull-left">
|
||||
<img class="" src="{{asset('assets/images/public/EventPage/credit-card-logos.png')}}" />
|
||||
@if($event->enable_offline_payments)
|
||||
<tr class="checkout">
|
||||
<td colspan="3">
|
||||
@if(!$is_free_event)
|
||||
<div class="hidden-xs pull-left">
|
||||
<img class=""
|
||||
src="{{asset('assets/images/public/EventPage/credit-card-logos.png')}}"/>
|
||||
@if($event->enable_offline_payments)
|
||||
|
||||
<div class="help-block" style="font-size: 11px;">
|
||||
Offline Payment Methods Available
|
||||
</div>
|
||||
@endif
|
||||
<div class="help-block" style="font-size: 11px;">
|
||||
Offline Payment Methods Available
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endif
|
||||
{!!Form::submit('Register', ['class' => 'btn btn-lg btn-primary pull-right'])!!}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
{!!Form::submit('Register', ['class' => 'btn btn-lg btn-primary pull-right'])!!}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::hidden('is_embedded', $is_embedded) !!}
|
||||
{!! Form::close() !!}
|
||||
{!! Form::hidden('is_embedded', $is_embedded) !!}
|
||||
{!! Form::close() !!}
|
||||
|
||||
@else
|
||||
@else
|
||||
|
||||
<div class="alert alert-boring">
|
||||
Tickets are currently unavailable.
|
||||
</div>
|
||||
<div class="alert alert-boring">
|
||||
Tickets are currently unavailable.
|
||||
</div>
|
||||
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue