Upravy na zaklade posledniho cviceni
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
<div class="heading-budget my-3 col-md-12">
|
||||
<h1>Správa rozpočtu</h1>
|
||||
|
||||
<div class="btn-group">
|
||||
<a href="#addItem" class="btn btn-info btn-lg" data-toggle="modal" data-target="#addItem">
|
||||
Přidat položky
|
||||
</a>
|
||||
<i class="fa fa-plus-circle bigplus"></i>
|
||||
<a href="#addGroup" class="btn btn-info btn-lg" data-toggle="modal" data-target="#addGroup">
|
||||
Upravit skupiny
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%- include('../partials/notification.ejs', {parameter: "newGroup", notifiactionText: "Skupina úspěšně vytvořena."})%>
|
||||
|
||||
@@ -7,4 +7,6 @@
|
||||
<script>
|
||||
// window.weddingTitle = {_ backend.calendar.wedding};
|
||||
// window.weddingDate = {$weddingDate|date:'Y-m-d'};
|
||||
</script>
|
||||
</script>
|
||||
|
||||
<% include ../partials/backend/modals/notImplemented.ejs %>
|
||||
|
||||
@@ -1,21 +1,22 @@
|
||||
|
||||
|
||||
<div class="container-fluid my-5">
|
||||
<h3 class="text-center">Kdo?</h3>
|
||||
<form method="post">
|
||||
<input type="hidden" name="redirectParams" value="ok=aboutUs#aboutUs">
|
||||
|
||||
<div class="row justify-content-center my-5">
|
||||
<div class="col-md-4">
|
||||
<h3 class="text-center">Kdo?</h3>
|
||||
|
||||
<label for="">Ženich</label>
|
||||
<input type="text" class="form-control">
|
||||
<div class="row justify-content-center my-5">
|
||||
<div class="col-md-4">
|
||||
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label for="">Nevěsta</label>
|
||||
<input type="text" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<label for="">Ženich</label>
|
||||
<input type="text" name="partner1" value="<%= partner1 %>" class="form-control">
|
||||
|
||||
<% include ../partials/weddingInfo.ejs %>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label for="">Nevěsta</label>
|
||||
<input type="text" name="partner2" value="<%= partner2 %>" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% include ../partials/weddingInfo.ejs %>
|
||||
</form>
|
||||
</div>
|
||||
@@ -170,4 +170,6 @@
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% include ../partials/backend/modals/notImplemented.ejs %>
|
||||
|
||||
@@ -14,28 +14,7 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div class="gallery__container">
|
||||
|
||||
<%- include('../partials/notification.ejs', {parameter: "newAlbum", notificationText: "Album úspěšně vytvořeno."}) %>
|
||||
<%- include('../partials/notification.ejs', {parameter: "upload", notificationText: "Fotografie úspěšně nahrány do vybraných alb."}) %>
|
||||
|
||||
<% for(var i = 1; i <= 7; i++) { %>
|
||||
<% if (i < 7 || (typeof queryString.ok !== 'undefined' && queryString.ok == "newAlbum")) { %>
|
||||
|
||||
<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>
|
||||
|
||||
<% include ../partials/editor/modals/newGallery.ejs %>
|
||||
<% include ../partials/editor/modals/uploadPhoto.ejs %>
|
||||
<% include ../partials/editor/album.ejs %>
|
||||
|
||||
</section>
|
||||
@@ -14,7 +14,7 @@
|
||||
Přesunout fotografie
|
||||
</button>
|
||||
|
||||
<button type="button" class="btn m-3 js-move-done-button-trigger btn-primary" hidden>
|
||||
<button type="button" class="btn m-3 js-move-done-button-trigger btn-primary hidden">
|
||||
Hotovo
|
||||
</button>
|
||||
|
||||
@@ -22,11 +22,14 @@
|
||||
<i class="fa fa-plus"></i> Nahrát fotografie
|
||||
</button>
|
||||
|
||||
<button type="button" class="btn m-3 btn-secondary hidden js-delete-button-cancel" data-dismiss="modal">Storno</button>
|
||||
|
||||
|
||||
<button type="button" class="btn m-3 js-delete-button-trigger btn-danger">
|
||||
Smazat fotografie
|
||||
</button>
|
||||
|
||||
<button type="button" class="btn m-3 js-delete-button-confirmation btn-primary" data-toggle="modal" data-target="#deletePhotosModal" hidden>
|
||||
<button type="button" class="btn m-3 js-delete-button-confirmation btn-primary hidden" data-toggle="modal" data-target="#deletePhotosModal">
|
||||
Odstranit vybrané
|
||||
</button>
|
||||
<!--</div>-->
|
||||
@@ -43,10 +46,10 @@
|
||||
|
||||
<div class="gallery__item draggable">
|
||||
|
||||
<div class="gallery__buttons">
|
||||
<label class="gallery__buttons">
|
||||
<input class="gallery__buttons__item js-delete-checkbox" type="checkbox">
|
||||
<i class="gallery__buttons__item js-move-button sort-handle fa fa-arrows"></i>
|
||||
</div>
|
||||
<i class="gallery__buttons__item js-move-button fa fa-arrows"></i>
|
||||
</label>
|
||||
|
||||
<a href="/dist/images/gallery/<%= i %>.jpg" data-lightbox="gallery">
|
||||
<img src="/dist/images/gallery/<%= i %>.jpg" alt="">
|
||||
|
||||
+87
-84
@@ -1,140 +1,143 @@
|
||||
<section class="web-part">
|
||||
<%- include('../partials/notification.ejs', {parameter: "titlePhoto"})%>
|
||||
<%- 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="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 %>
|
||||
<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"})%>
|
||||
<%- include('../partials/notification.ejs', {parameter: "aboutUs"}) %>
|
||||
|
||||
<h2> Adam a Eva </h2>
|
||||
<article>
|
||||
<p><%- aboutUs %></p>
|
||||
</article>
|
||||
<h2><%= partner1 %> a <%= partner2 %></h2>
|
||||
<article>
|
||||
<p><%- aboutUs %></p>
|
||||
</article>
|
||||
|
||||
<% include ../partials/editor/modals/setAboutUs.ejs %>
|
||||
<% include ../partials/editor/modals/setAboutUs.ejs %>
|
||||
</section>
|
||||
|
||||
<section class="web-part container text-center">
|
||||
|
||||
<%- include('../partials/notification.ejs', {parameter: "weddingInfo"})%>
|
||||
<%- 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>
|
||||
<div class="row">
|
||||
todo dodelat parsovani data
|
||||
<% var date = new Date (wedding.when) %>
|
||||
<div class="col-md-4">
|
||||
<h2>Kdy?</h2>
|
||||
<p><%= date.getDate () %>. <%= date.getMonth () + 1 %>. <%= date.getFullYear () %> </p>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h2>V kolik?</h2>
|
||||
<p><%= date.getHours () %>
|
||||
:<%= date.getMinutes () < 10 ? '0' + date.getMinutes () : date.getMinutes () %></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>
|
||||
</div>
|
||||
|
||||
<% include ../partials/editor/modals/mainInfo.ejs %>
|
||||
<% include ../partials/editor/modals/mainInfo.ejs %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="web-part container">
|
||||
|
||||
<%- include('../partials/notification.ejs', {parameter: "program"})%>
|
||||
<%- 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-container">
|
||||
|
||||
<div class="timeline timeline-horizontal">
|
||||
<div class="timeline timeline-horizontal">
|
||||
|
||||
<% for(var i in program) { %>
|
||||
<div class="timeline__item">
|
||||
<% for(var i in program) { %>
|
||||
<div class="timeline__item">
|
||||
|
||||
<i class="timeline__icon fa fa-2x fa-<%= program[i]['icon']%>"></i>
|
||||
<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 class="timeline__content">
|
||||
<h3><%= program[i]['time'] %></h3>
|
||||
<p><%= program[i]['title'] %></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% include ../partials/editor/modals/program.ejs %>
|
||||
<% include ../partials/editor/modals/program.ejs %>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
<section class="web-part container">
|
||||
<h3 class="text-center my-5">Fotogalerie</h3>
|
||||
<a name="newAlbum"></a>
|
||||
<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>
|
||||
<%- include ../partials/editor/album.ejs %>
|
||||
|
||||
<div class="row my-4">
|
||||
<div class="col text-center">
|
||||
<button type="button" data-target="#newGalleryModal" data-toggle="modal" class="btn btn-secondary">
|
||||
Přidat album
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
<section class="web-part container">
|
||||
<h3 class="text-center">Napište nám</h3>
|
||||
<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."})%>
|
||||
<div class="alert alert-info text-center">
|
||||
<i class="fa fa-info-circle"></i>
|
||||
|
||||
Zpráva od hosta bude odeslána na e-mail <strong>adam@email.cz</strong>.
|
||||
</div>
|
||||
|
||||
<%- 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">
|
||||
<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>
|
||||
<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>
|
||||
@@ -14,7 +14,7 @@
|
||||
<body>
|
||||
<!-- Sidebar -->
|
||||
|
||||
<div class="back-to-dashboard"><a href="/"><i class="fa fa-home back-to-dashboard__icon" ></i></a></div>
|
||||
<div class="back-to-dashboard"><a href="/"><i class="fa fa-home back-to-dashboard__icon" ></i> návrat do administrace</a></div>
|
||||
|
||||
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||||
<a class="navbar-brand" href="/editor/index">Adam & Eva </a>
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<div class="modal fade opened" id="notImplemented" tabindex="-1" role="dialog" aria-labelledby="notImplementedModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="notImplementedModalLabel">Neimplementována</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="modal-body">
|
||||
|
||||
Tato funcionalita nebyla implementována.
|
||||
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Zavřít</button>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,31 @@
|
||||
<%- include('../partials/notification.ejs', {parameter: "newAlbum", notificationText: "Album úspěšně vytvořeno."}) %>
|
||||
<%- include('../partials/notification.ejs', {parameter: "upload", notificationText: "Fotografie úspěšně nahrány do vybraných alb."}) %>
|
||||
|
||||
|
||||
<% if (albumsCount > 0) { %>
|
||||
<div class="gallery__container">
|
||||
|
||||
<% for(var i = 1; i <= albumsCount; 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>
|
||||
<% } else { %>
|
||||
<div class="alert alert-info text-center">
|
||||
Zatím nebylo vytvořeno žádné album. Vytvořte ho a nahrajte do něj své fotografie!
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
|
||||
<% include ../editor/modals/newGallery.ejs %>
|
||||
<% include ../editor/modals/uploadPhoto.ejs %>
|
||||
|
||||
<p class="clearfix"></p>
|
||||
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Ne</button>
|
||||
<button type="button" class="btn btn-secondary js-delete-button-cancel" data-dismiss="modal">Ne</button>
|
||||
<button type="button" class="btn btn-primary js-delete-button-confirmation-trigger" data-dismiss="modal">Ano, smazat
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<form method="post">
|
||||
<input type="hidden" name="redirectParams" value="ok=newAlbum">
|
||||
<form method="post" action="/editor/album">
|
||||
<input type="hidden" name="redirectParams" value="ok=newAlbum#newAlbum">
|
||||
|
||||
|
||||
<div class="modal-body">
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
<div class="form-group">
|
||||
<label for="gallery_name">Vyberte fotografie</label>
|
||||
<input type="file" multiple required class="form-control">
|
||||
<input type="file" multiple accept="image/*" required class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
@@ -1,33 +1,47 @@
|
||||
<div class="web-part__edit">
|
||||
<a href="#aboutUsModal" data-toggle="modal" data-target="#aboutUsModal">
|
||||
<i class="fa fa-pencil-square"></i>
|
||||
</a>
|
||||
<a href="#aboutUsModal" data-toggle="modal" data-target="#aboutUsModal">
|
||||
<i class="fa fa-pencil-square"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="aboutUsModal" tabindex="-1" role="dialog" aria-labelledby="aboutUsModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="aboutUsModalLabel">Editovat text</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="aboutUsModalLabel">Editovat text</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<form method="post">
|
||||
|
||||
<input type="hidden" name="redirectParams" value="ok=aboutUs#aboutUs">
|
||||
|
||||
<div class="modal-body">
|
||||
<textarea class="wysiwyg" name="aboutUs"><%= aboutUs %></textarea>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Storno</button>
|
||||
<button type="submit" class="btn btn-primary">Uložit</button>
|
||||
</div>
|
||||
<div class="row justify-content-center my-2">
|
||||
<div class="col-md-6">
|
||||
|
||||
<label for="">Ženich</label>
|
||||
<input type="text" name="partner1" value="<%= partner1 %>" class="form-control">
|
||||
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label for="">Nevěsta</label>
|
||||
<input type="text" name="partner2" value="<%= partner2 %>" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<textarea class="wysiwyg" name="aboutUs"><%= aboutUs %></textarea>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Storno</button>
|
||||
<button type="submit" class="btn btn-primary">Uložit</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -31,7 +31,7 @@
|
||||
<td>
|
||||
|
||||
<select name="album" class="form-control">
|
||||
<% for (var i = 0; i < 6; i++) { %>
|
||||
<% for (var i = 0; i < albumsCount; i++) { %>
|
||||
<option value="<%= i %>">Album <%= i %></option>
|
||||
<% } %>
|
||||
</select>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||||
<a class="navbar-brand" href="javascript:void(0);">Svatbonet</a>
|
||||
<a class="navbar-brand" href="/">Svatbonet</a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Čas</th>
|
||||
<th>Ikona</th>
|
||||
<th>Název události</th>
|
||||
@@ -12,9 +11,6 @@
|
||||
|
||||
<% for(var i in program) { %>
|
||||
<tr class="template draggable template-container__item">
|
||||
<td>
|
||||
<i class="fa fa-ellipsis-v sort-handle"></i>
|
||||
</td>
|
||||
<td style="position: relative">
|
||||
<input type="text" class="form-control time select-time" size="4" name="program[<%= i %>][time][]" value="<%= program[i]['time'] %>" placeholder="11:00">
|
||||
</td>
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-6">
|
||||
<h3>Kdy?</h3>
|
||||
<input type="text" class="form-control select-date" name="wedding[when]" value="<%= wedding.when%>">
|
||||
<input type="text" class="form-control select-datetime" name="wedding[when]" value="<%= wedding.when%>">
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<!--<div class="col-md-4">-->
|
||||
<!--<h3>V kolik?</h3>-->
|
||||
<!--<input type="text" class="form-control select-time" name="wedding[at]" value="<%= wedding.at%>">-->
|
||||
<!--</div>-->
|
||||
<div class="col-md-6">
|
||||
<h3>Kde?</h3>
|
||||
|
||||
<input type="text" id="map-input" class="form-control" name="wedding[where]" value="<%= wedding.where%>" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h3>V kolik?</h3>
|
||||
<input type="text" class="form-control select-time" name="wedding[at]" value="<%= wedding.at%>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user