140 lines
3.5 KiB
Plaintext
140 lines
3.5 KiB
Plaintext
<section class="web-part">
|
|
<%- include('../partials/notification.ejs', {parameter: "titlePhoto"})%>
|
|
|
|
<div class="title-image" style="background-image: url('/dist/images/<%= (typeof queryString.ok !== 'undefined' && queryString.ok == "titlePhoto") ? '01.jpg' : '02.jpg' %>')">
|
|
|
|
<div class="web-part__edit">
|
|
<a href="#setTitlePhotoModal" data-toggle="modal" data-target="#setTitlePhotoModal">
|
|
<i class="fa fa-pencil-square"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<% include ../partials/editor/modals/setTitlePhoto.ejs %>
|
|
</section>
|
|
|
|
<section class="web-part container">
|
|
<a name="aboutUs"></a>
|
|
|
|
<%- include('../partials/notification.ejs', {parameter: "aboutUs"})%>
|
|
|
|
<h2> Adam a Eva </h2>
|
|
<article>
|
|
<p><%- aboutUs %></p>
|
|
</article>
|
|
|
|
<% include ../partials/editor/modals/setAboutUs.ejs %>
|
|
</section>
|
|
|
|
<section class="web-part container text-center">
|
|
|
|
<%- include('../partials/notification.ejs', {parameter: "weddingInfo"})%>
|
|
|
|
<a name="mainInfo"></a>
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
<h2>Kdy?</h2>
|
|
<p><%= wedding.when %></p>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<h2>Kde?</h2>
|
|
<p><%= wedding.where %></p>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<h2>V kolik?</h2>
|
|
<p><%= wedding.at %></p>
|
|
</div>
|
|
|
|
<% include ../partials/editor/modals/mainInfo.ejs %>
|
|
|
|
</div>
|
|
</section>
|
|
|
|
<section class="web-part container">
|
|
|
|
<%- include('../partials/notification.ejs', {parameter: "program"})%>
|
|
|
|
<a name="program"></a>
|
|
<h3 class="text-center my-5">Svatební program</h3>
|
|
|
|
<div class="timeline-container">
|
|
|
|
<div class="timeline timeline-horizontal">
|
|
|
|
<% for(var i in program) { %>
|
|
<div class="timeline__item">
|
|
|
|
<i class="timeline__icon fa fa-2x fa-<%= program[i]['icon']%>"></i>
|
|
|
|
<div class="timeline__content">
|
|
<h3><%= program[i]['time']%></h3>
|
|
<p><%= program[i]['title']%></p>
|
|
</div>
|
|
|
|
</div>
|
|
<% } %>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<% include ../partials/editor/modals/program.ejs %>
|
|
|
|
</section>
|
|
|
|
|
|
<section class="web-part container">
|
|
<h3 class="text-center my-5">Fotogalerie</h3>
|
|
|
|
<div class="gallery__container">
|
|
|
|
<% for(var i = 1; i <= 6; i++) { %>
|
|
<div class="gallery__item">
|
|
<img src="/dist/images/gallery/<%= i %>.jpg" alt="">
|
|
|
|
<a href="/editor/gallery_detail" class="gallery__overlay">
|
|
<h4>Jméno galerie</h4>
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
|
</div>
|
|
|
|
<p class="clearfix"></p>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
<section class="web-part container">
|
|
<h3 class="text-center">Napište nám</h3>
|
|
|
|
<%- include('../partials/notification.ejs', {parameter: "contactForm", notificationText: "Zpráva úspěšně odeslána. Ozveme se co nejdříve."})%>
|
|
|
|
|
|
<form id="contact-form" method="post" role="form">
|
|
<a name="contactForm"></a>
|
|
|
|
<input type="hidden" name="redirectParams" value="ok=contactForm#contactForm">
|
|
|
|
<div class="row">
|
|
<div class="col-md-5">
|
|
<div class="form-group"><label for="name">Jméno a příjmení</label><input type="text" class="form-control">
|
|
</div>
|
|
<div class="form-group"><label for="email">E-mail</label><input type="email" class="form-control"></div>
|
|
</div>
|
|
<div class="col-md-7">
|
|
<div class="form-group">
|
|
<label for="contact-message">Váš text</label>
|
|
<textarea name="message" id="contact-message" style="height: 100%" class="form-control"></textarea></div>
|
|
</div>
|
|
</div>
|
|
<div class="row mt-3">
|
|
<div class="col">
|
|
<button class="btn btn-primary btn-block">Odeslat</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
|
|
</section> |