Merge branch 'test.customwristbands.cz' of binarity.cz:/opt/git/internal/cms/minicms into test.customwristbands.cz

This commit is contained in:
Michal Kváček
2016-04-06 17:26:03 +02:00
5 changed files with 42 additions and 11 deletions
+9 -1
View File
@@ -103,7 +103,15 @@ img.thumbnail:focus, img.thumbnail:hover {box-shadow: none; border-color: #fffff
.gallery-image-holder>img {width: 100%; height: 250px; border: 1px solid #414042;} .gallery-image-holder>img {width: 100%; height: 250px; border: 1px solid #414042;}
.gallery-image-holder {margin-bottom: 15px; height: 250px; position: relative; cursor: pointer;} .gallery-image-holder {margin-bottom: 15px; height: 250px; position: relative; cursor: pointer;}
.gallery-image-holder.column:last-child:not(:first-child), .gallery-image-holder.columns:last-child:not(:first-child) {float: left;} .gallery-image-holder.column:last-child:not(:first-child), .gallery-image-holder.columns:last-child:not(:first-child),
.product-category.column:last-child:not(:first-child), .product-category.columns:last-child:not(:first-child) {
float: left;
}
.product-category {margin-bottom: 25px;}
.product-category:nth-child(3n) {text-align:left;}
.product-category:nth-child(3n+1) {text-align:right;}
.product-category:nth-child(3n+2) {text-align:center;}
.gallery-item-data {display: block; opacity: 0; width: calc(100% - 0.9375rem * 2);height: 100%; position: absolute; top: 0; left: 0.9375rem; background-color: rgba(65, 64, 66, 0.71); color: #ffffff;} .gallery-item-data {display: block; opacity: 0; width: calc(100% - 0.9375rem * 2);height: 100%; position: absolute; top: 0; left: 0.9375rem; background-color: rgba(65, 64, 66, 0.71); color: #ffffff;}
.gallery-item-data * {color: #ffffff;} .gallery-item-data * {color: #ffffff;}
.gallery-item-data h5 {text-transform: uppercase; font-size: 1.1rem; text-align: center; padding: 15px 10px 0 10px; font-weight: 700; margin-bottom: 0;} .gallery-item-data h5 {text-transform: uppercase; font-size: 1.1rem; text-align: center; padding: 15px 10px 0 10px; font-weight: 700; margin-bottom: 0;}
@@ -10,7 +10,7 @@
<h2 class="hide-for-large">Kontakt</h2> <h2 class="hide-for-large">Kontakt</h2>
<p class="contact-p green-text"><b>{{$page->module_settings->companyName or "Název společnosti"}}</b></p> <p class="contact-p green-text"><b>{{$page->module_settings->companyName or "Název společnosti"}}</b></p>
<p class="contact-p"> <p class="contact-p">
{!! nl2br($page->module_settings->address) or "Ulice<br>PSČ a Město<br>IČO" !!} {!! nl2br($page->module_settings->address) !!}
<br> <br>
<br> <br>
-<br> -<br>
@@ -9,10 +9,10 @@
<div class="column medium-3 small-6 gallery-image-holder" data-index="{{$index}}" data-img="" data-label="{{$image->description}}"> <div class="column medium-3 small-6 gallery-image-holder" data-index="{{$index}}" data-img="" data-label="{{$image->description}}">
<img src="{{config('app.upload_url')}}/{{$image->filename}}" alt="{{$image->name}}"> <img src="{{config('app.upload_url')}}/{{$image->filename}}" alt="{{$image->name}}">
<div class="gallery-item-data text-center"> <div class="gallery-item-data text-center">
<h5>{{$image->name or "Název"}}</h5> <h5>{{$image->name}}</h5>
<p>{{$image->description or "Popisek"}}</p> <p>{{$image->description}}</p>
<p>počet ks</p> {{--<p>počet ks</p>
<p class="price">cena: 39,-Kč/ks</p> <p class="price">cena: 39,-Kč/ks</p>--}}
</div> </div>
</div> </div>
@endforeach @endforeach
@@ -0,0 +1,28 @@
@extendVisitor('defaultLayout')
@section('content')
<div class="grey-wrapper">
<div class="row column text-center m-b-25">
<h2 id="assortment">{{$page->title}}</h2>
</div>
<div class="row text-center assorment-holder">
@if (!empty($page->subpages()))
@foreach($page->subpages() as $i => $subpage)
<div class="product-category column medium-4 small-12">
<a href="{{$subpage->url}}" class="button success large long rounded small-extra-large">{{$subpage->title}}</a>
</div>
@endforeach
@endif
<div class="clearfix"></div>
<div class="m-b-25 m-t-50 p-lr-50-sm">
{!! $page->content !!}
</div>
</div>
</div>
<div class="green-wrapper clearfix">
<div class="row column text-center" id="questions">
<h4 class="w-t">MÁTE DOTAZY? NEBO NÁM CHCETE ZASLAT RYCHLOU POPTÁVKU?</h4>
<a href="#" class="button secondary m-t-25 large rounded">RYCHLÝ FORMULÁŘ</a>
</div>
</div>
@endsection
@@ -1,5 +0,0 @@
@extendVisitor('visitor.layout')
@section('content')
{!! $page->content !!}
@endsection