Update composer and move themes to under views

This commit is contained in:
Deon George
2020-04-14 17:14:43 +10:00
parent 26365c57ff
commit 4dfa8f1122
61 changed files with 52 additions and 153 deletions

View File

@@ -0,0 +1,30 @@
<!-- BEGIN RECENT WORKS -->
<div class="row recent-work margin-bottom-40">
<div class="col-md-3">
<h2><a href="portfolio.html">Recent Activity</a></h2>
<p>{{ $so->activity_intro }}</p>
</div>
<div class="col-md-9">
<div class="owl-carousel owl-carousel3">
{{-- @todo These should scroll --}}
@php($c=0)
@foreach ($so->activities as $o)
<div class="recent-work-item">
<em>
<img src="{{ $o['image_small'] }}" alt="{{ $o['title'] }}" class="img-responsive">
<a href="#"><i class="fa fa-link"></i></a>
{{-- If this is a jpeg instead of a URL, it renders a nice popup --}}
<a href="{{ $o['image_large'] }}/{{$c}}.jpg" class="fancybox-button" title="Project Name #{{$c}}" data-rel="fancybox-button"><i class="fa fa-search"></i></a>
</em>
<a class="recent-work-description" href="javascript:;">
<strong>{{ $o['title'] }}</strong>
<b>{{ $o['subtitle'] }}</b>
</a>
</div>
@php($c++)
@endforeach
</div>
</div>
</div>
<!-- END RECENT WORKS -->

View File

@@ -0,0 +1,14 @@
<!-- BEGIN BLOCKQUOTE BLOCK -->
<div class="row quote-v1 margin-bottom-30" style="background: #002090;">
@foreach ($so->block_quotes as $o)
<div class="col-md-9">
<span>{{ $o['title'] }}</span>
</div>
@if($o['image'])
<div class="col-md-3 text-right">
<a class="btn-transparent" href="#" target="_blank"><i class="fa fa-rocket margin-right-10"></i><img src="{{ $o['image'] }}" style="height: 50px;"></a>
</div>
@endif
@endforeach
</div>
<!-- END BLOCKQUOTE BLOCK -->

View File

@@ -0,0 +1,38 @@
{{-- This is not working unless site_slider is running. Might be a problem with the carousel --}}
<!-- BEGIN CLIENTS -->
<div class="row margin-bottom-40 our-clients">
<div class="col-md-3">
<h2><a href="javascript:;">Our Clients</a></h2>
<p>{{ $so->clients_intro }}</p>
</div>
{{-- @todo make sure this scrolls --}}
<div class="col-md-9">
<div class="owl-carousel owl-carousel6-brands">
@foreach($so->clients as $c)
<div class="client-item">
<a href="javascript:;">
<img src="{{ $c['image'] }}" class="img-responsive" alt="">
<img src="{{ $c['hover'] }}" class="color-img img-responsive" alt="">
</a>
</div>
@endforeach
</div>
</div>
</div>
<!-- END CLIENTS -->
@section('scripts')
<!-- END SLIDER -->
@css('/site/js/jquery/plugins/owl.carousel/2.0.0/css/owl.carousel.css')
@css('/site/css/animate.css')
@js('/site/js/jquery/plugins/owl.carousel/2.0.0/js/owl.carousel.min.js','jq-owl-carousel','jquery')
<script type="text/javascript">
jQuery(document).ready(function() {
// Layout.initOWL();
});
</script>
@append

View File

@@ -0,0 +1,9 @@
<fieldset class="form-group col-sm-12">
<label>ADSL</label>
<div class="form-group col-sm-12 {{ $errors->has('options.address') ? 'has-error' : '' }}">
<label for="options.address">Site Address</label>
<input type="text" class="form-control" id="options.address" name="options[address]" placeholder="Site Address" value="{{ old('options.address') }}">
<span class="help-block">{{ $errors->first('options.address') }}</span>
</div>
</fieldset>

View File

@@ -0,0 +1,21 @@
<fieldset class="form-group">
<label class="col-md-12">VOIP</label>
<div class="form-group col-sm-6 {{ $errors->has('options.phonenumber') ? 'has-error' : '' }}">
<label for="options.phonenumber">Phone Number</label>
<input type="text" class="form-control" id="options.phonenumber" name="options[phonenumber]" placeholder="Phone Number with Area Code" value="{{ old('options.phonenumber') }}">
<span class="help-block">{{ $errors->first('options.phonenumber') }}</span>
</div>
<div class="form-group col-sm-6 {{ $errors->has('options.supplier') ? 'has-error' : '' }}">
<label for="options.supplier">Existing Supplier</label>
<input type="text" class="form-control" id="options.supplier" name="options[supplier]" placeholder="eg: Telstra" value="{{ old('options.supplier') }}">
<span class="help-block">{{ $errors->first('options.supplier') }}</span>
</div>
<div class="form-group col-sm-6 {{ $errors->has('options.supplieraccnum') ? 'has-error' : '' }}">
<label for="options.supplieraccnum">Suppliers Account Number</label>
<input type="text" class="form-control" id="options.supplieraccnum" name="options[supplieraccnum]" placeholder="Refer to Bill" value="{{ old('options.supplieraccnum') }}">
<span class="help-block">{{ $errors->first('options.supplieraccnum') }}</span>
</div>
</fieldset>

View File

@@ -0,0 +1,37 @@
<div class="col-md-12">
<p>{!! $o->description !!}</p>
</div>
<table class="table table-condensed">
<tr>
<th>Type</th>
<td class="text-right">{{ $o->product_type }}</td>
</tr>
<tr>
<th>Setup Charges <sup>*</sup></th>
<td class="text-right">${{ is_numeric($o->setup_cost) ? number_format($o->setup_cost,2) : $o->setup_cost }}</td>
</tr>
<tr>
<th>Cost <sup>+</sup></th>
<td class="text-right">${{ is_numeric($o->default_cost) ? number_format($o->default_cost,2) : $o->default_cost }}</td>
</tr>
<tr>
<th>Default Billing</th>
<td class="text-right">{{ is_numeric($o->default_billing) ? number_format($o->default_billing,2) : $o->default_billing }}</td>
</tr>
<tr>
<th>Contract Term</th>
<td class="text-right">{{ $o->contract_term }} mths</td>
</tr>
<tr>
<th>Minimum Costs <sup>+*</sup></th>
<td class="text-right">${{ is_numeric($o->minimum_cost) ? number_format($o->minimum_cost,2) : $o->minimum_cost }}</td>
</tr>
<tfoot>
<tr><td colspan="2"><sup>
* Additional setup charges may apply for complex installations.<br>
+ Additional charges may apply for regional installations.
</sup></td></tr>
</tfoot>
</table>

View File

@@ -0,0 +1,30 @@
<div class="col-md-12">
<p>{!! $o->description !!}</p>
</div>
<table class="table table-condensed">
<tr>
<th>Type</th>
<td class="text-right">VOIP</td>
</tr>
<tr>
<th>Setup Charges</th>
<td class="text-right">${{ is_numeric($o->setup_cost) ? number_format($o->setup_cost,2) : $o->setup_cost }}</td>
</tr>
<tr>
<th>Cost</th>
<td class="text-right">${{ is_numeric($o->default_cost) ? number_format($o->default_cost,2) : $o->default_cost }}</td>
</tr>
<tr>
<th>Default Billing</th>
<td class="text-right">{{ is_numeric($o->default_billing) ? number_format($o->default_billing,2) : $o->default_billing }}</td>
</tr>
<tr>
<th>Contract Term</th>
<td class="text-right">{{ $o->contract_term }} mths</td>
</tr>
<tr>
<th>Minimum Costs</th>
<td class="text-right">${{ is_numeric($o->minimum_cost) ? number_format($o->minimum_cost,2) : $o->minimum_cost }}</td>
</tr>
</table>

View File

@@ -0,0 +1,13 @@
@if(View::exists('widgets.product.'.$o->category))
<div class="col-md-12">
<div class="box box-primary">
<div class="box-body">
{{-- Return Category Requirements --}}
@include('widgets.product.'.$o->category)
{{-- Return Supplier Requirements --}}
{{-- Return Product Requirements --}}
</div>
</div>
</div>
@endif

View File

@@ -0,0 +1,18 @@
@if(View::exists('widgets.order.'.$o->category))
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">Order Configuration</h3>
</div>
<div class="box-body">
{{-- Return Category Requirements --}}
@include('widgets.order.'.$o->category)
{{-- Return Supplier Requirements --}}
{{-- Return Product Requirements --}}
</div>
</div>
</div>
@endif

View File

@@ -0,0 +1,14 @@
<!-- BEGIN SERVICE BOX -->
<div class="row service-box margin-bottom-40">
@foreach ($so->services as $o)
<div class="col-md-4 col-sm-4">
<div class="service-box-heading">
<em><i class="{{ $o['icon'] }}"></i></em>
<span>{{ $o['title'] }}</span>
</div>
<p>{{ $o['text'] }}</p>
<img src="{{ $o['image'] }}" class="col-md-10">
</div>
@endforeach
</div>
<!-- END SERVICE BOX -->

View File

@@ -0,0 +1,82 @@
<!-- BEGIN SLIDER -->
<div class="page-slider margin-bottom-40">
<div id="carousel-example-generic" class="carousel slide carousel-slider">
<!-- Indicators -->
<ol class="carousel-indicators carousel-indicators-frontend">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
@foreach ($so->site_slider as $ss)
@switch($ss['style'])
@case(1)
<div class="item carousel-item active" style="background: {{ $ss['image'] }};">
<div class="container">
<div class="carousel-position-six text-uppercase text-center" style="background: #000; color: #888; opacity: 0.5; font-style: bold;">
<h2 class="margin-bottom-20 animate-delay carousel-title-v1" data-animation="animated fadeInDown">
{!! $ss['title'] !!}
</h2>
<p class="carousel-subtitle-v5 border-top-bottom margin-bottom-30" data-animation="animated fadeInDown">{!! $ss['text'] !!}</p>
@isset($ss['button'])
<a class="carousel-btn-green" href="{{ $ss['button']['url'] }}" data-animation="animated fadeInUp">{!! $ss['button']['text'] !!}</a>
@endisset
</div>
</div>
</div>
@break
@case(2)
<div class="item carousel-item" style="background: {{ $ss['image'] }};">
<div class="container">
<div class="carousel-position-six">
<h2 class="animate-delay carousel-title-v6 text-uppercase" data-animation="animated fadeInDown">
{!! $ss['title'] !!}
</h2>
<p class="carousel-subtitle-v6 text-uppercase" data-animation="animated fadeInDown">
{!! $ss['text'] !!}
</p>
<p class="carousel-subtitle-v7 margin-bottom-30" data-animation="animated fadeInDown">
{!! $ss['text2'] !!}
</p>
@isset($ss['button'])
<a class="carousel-btn-green" href="{{ $ss['button']['url'] }}" data-animation="animated fadeInUp">{!! $ss['button']['text'] !!}</a>
@endisset
</div>
</div>
</div>
@break
@endswitch
@endforeach
</div>
<!-- Controls -->
<a class="left carousel-control carousel-control-shop carousel-control-frontend" href="#carousel-example-generic" role="button" data-slide="prev">
<i class="fa fa-angle-left" aria-hidden="true"></i>
</a>
<a class="right carousel-control carousel-control-shop carousel-control-frontend" href="#carousel-example-generic" role="button" data-slide="next">
<i class="fa fa-angle-right" aria-hidden="true"></i>
</a>
</div>
</div>
@section('scripts')
<!-- END SLIDER -->
@css('/site/js/jquery/plugins/owl.carousel/2.0.0/css/owl.carousel.css')
@css('/site/css/animate.css')
@js('/site/js/jquery/plugins/owl.carousel/2.0.0/js/owl.carousel.min.js','jq-owl-carousel','jquery')<!-- slider for products -->
@js('/pages/js/bs-carousel.js','bs-carousel','jq-owl-carousel')
<script type="text/javascript">
jQuery(document).ready(function() {
Layout.initOWL();
});
</script>
@append

View File

@@ -0,0 +1,15 @@
<!-- BEGIN STEPS -->
<div class="row margin-bottom-40 front-steps-wrapper front-steps-count-3">
{{-- Dynamically count the steps and choose the appropriate col-md-x --}}
@php($c=0)
@foreach ($so->steps as $o)
<div class="col-md-4 col-sm-4 front-step-col">
<div class="front-step front-step{{ ++$c }}">
<h2>{{ $o['title'] }}</h2>
<p>{{ $o['description'] }}</p>
<br>
</div>
</div>
@endforeach
</div>
<!-- END STEPS -->

View File

@@ -0,0 +1,29 @@
<!-- TABS -->
<div class="col-md-7 tab-style-1">
<ul class="nav nav-tabs">
@php($c=0)
@foreach ($so->page_tabs as $o)
<li @if(! $c++) class="active" @endif><a href="#tab-{{ $c }}" data-toggle="tab">{{ $o['title'] }}</a></li>
@endforeach
</ul>
<div class="tab-content">
@php($c=0)
@foreach ($so->page_tabs as $o)
<div class="tab-pane row fade in @if(! $c++) active @endif" id="tab-{{ $c }}">
<div class="col-md-3 col-sm-3">
<a href="{{ $o['image'] }}" class="fancybox-button" title="{{ $o['title'] }}" data-rel="fancybox-button">
<img class="img-responsive" src="{{ $o['image'] }}" alt="">
</a>
</div>
<div class="col-md-9 col-sm-9">
<p class="margin-bottom-10">{{ $o['text'] }}</p>
<p><a class="more" href="javascript:;">Read more <i class="icon-angle-right"></i></a></p>
</div>
</div>
@endforeach
</div>
</div>
<!-- END TABS -->

View File

@@ -0,0 +1,27 @@
<!-- TESTIMONIALS -->
<div class="col-md-5 testimonials-v1">
<div id="myCarousel" class="carousel slide">
<!-- Carousel items -->
<div class="carousel-inner">
@php($c=0)
@foreach($so->testimonials as $o)
<div class="item @if(! $c++) active @endif">
<blockquote><p>{{ $o['quote'] }}</p></blockquote>
<div class="carousel-info">
<img class="pull-left" src="{{ $o['photo'] }}" alt="">
<div class="pull-left">
<span class="testimonials-name">{{ $o['name'] }}</span>
<span class="testimonials-post">{{ $o['title'] }}</span>
</div>
</div>
</div>
@endforeach
</div>
<!-- Carousel nav -->
<a class="left-btn" href="#myCarousel" data-slide="prev"></a>
<a class="right-btn" href="#myCarousel" data-slide="next"></a>
</div>
</div>
<!-- END TESTIMONIALS -->
{{-- @todo move the required javascript here --}}