FEATURE: finish template
This commit is contained in:
+14
-7
@@ -1,25 +1,32 @@
|
||||
<section id="{{$page->url}}" style="background-color: #A1A383" class="container content-section text-center">
|
||||
<section id="{{$page->url}}" class="container content-section text-center">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2>{{$page->title}}</h2>
|
||||
<p>
|
||||
{!! $page->content !!}
|
||||
</p>
|
||||
|
||||
<form action="#" method="post" class="contact-form text-left">
|
||||
<form action="{{route('email.send', ['formId' => $page->id])}}" method="post" class="contact-form text-left">
|
||||
{!! csrf_field() !!}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-5 text-right" style="font-size: 150%">
|
||||
<p><i class="fa fa-fw fa-mobile-phone"></i> +420 123 456 789</p>
|
||||
<p><i class="fa fa-fw fa-envelope-o"></i> ja@blabla.cz</p>
|
||||
@if (isset($page->module_settings->phone))
|
||||
<p><i class="fa fa-fw fa-mobile-phone"></i> {{$page->module_settings->phone}}</p>
|
||||
@endif
|
||||
|
||||
@if (isset($page->module_settings->contactEmail))
|
||||
<p><i class="fa fa-fw fa-envelope-o"></i> {{$page->module_settings->contactEmail}}</p>
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-lg-7">
|
||||
<input type="text" placeholder="Vaše jméno" id="name" class="form-control">
|
||||
<input type="text" id="email" placeholder="Váš e-mail" class="form-control">
|
||||
<input type="text" placeholder="Vaše jméno" id="name" name="name" class="form-control">
|
||||
<input type="email" id="email" placeholder="Váš e-mail" name="email" class="form-control">
|
||||
|
||||
<textarea name="" placeholder="Obsah zprávy" id="message" class="form-control" cols="30"
|
||||
<textarea name="message" placeholder="Obsah zprávy" id="message" class="form-control" cols="30"
|
||||
rows="5"></textarea>
|
||||
|
||||
<input type="submit" class="btn pull-right btn-primary" value="Odeslat e-mail">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
@extendVisitor('layout')
|
||||
|
||||
@section('content')
|
||||
<header class="intro">
|
||||
<header class="intro" style="background-image: url('@upload($page->title_photo)')">
|
||||
<div class="intro-body">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<h1 class="brand-heading">{{$page->title}}</h1>
|
||||
<p class="intro-text">{!! $page->content !!}</p>
|
||||
{!! $page->content !!}
|
||||
|
||||
@if(isset($extra['pagesRaw']))
|
||||
<a href="#{{reset($extra['pagesRaw'])->url}}" class="btn btn-circle page-scroll">
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
<section id="{{$page->url}}" style="background-color: #C4C0A9" class="container content-section text-center">
|
||||
<section id="{{$page->url}}" class="container content-section text-center">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2>{{$page->title}}</h2>
|
||||
<p>{!! $page->content !!}</p>
|
||||
{!! $page->content !!}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user