FEATURE: add notification after sending mail from contact form
This commit is contained in:
@@ -329,4 +329,23 @@ footer p {
|
|||||||
|
|
||||||
#nabizene-doucovani {
|
#nabizene-doucovani {
|
||||||
background-color: #C4C0A9;
|
background-color: #C4C0A9;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification {
|
||||||
|
position: fixed;
|
||||||
|
z-index: 9999;
|
||||||
|
top: 5em;
|
||||||
|
right: 12.5%;
|
||||||
|
width: 75%;
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
line-height: 3em;
|
||||||
|
font-size: 2em;
|
||||||
|
opacity: .9;
|
||||||
|
box-shadow: silver 0 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification.success {
|
||||||
|
background: #308424;
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
@@ -25,6 +25,18 @@ $(function() {
|
|||||||
}, 1000, 'easeInOutExpo');
|
}, 1000, 'easeInOutExpo');
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
var notification = $ ('.notification');
|
||||||
|
if (notification.length) {
|
||||||
|
|
||||||
|
notification.click (function () {
|
||||||
|
$ (this).fadeOut ('fast');
|
||||||
|
});
|
||||||
|
|
||||||
|
setTimeout (function () {
|
||||||
|
notification.fadeOut (1500)
|
||||||
|
}, 5 * 1000)
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Closes the Responsive Menu on Menu Item Click
|
// Closes the Responsive Menu on Menu Item Click
|
||||||
|
|||||||
+7
@@ -1,3 +1,10 @@
|
|||||||
|
|
||||||
|
@if(session('success'))
|
||||||
|
<div class="notification success">
|
||||||
|
Děkuji za zprávu, ozvu se na uvedený e-mail hned jak to bude možné!
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
<section id="{{$page->url}}" 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">
|
<div class="col-lg-8 col-lg-offset-2">
|
||||||
<h2>{{$page->title}}</h2>
|
<h2>{{$page->title}}</h2>
|
||||||
|
|||||||
@@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<div class="container text-center">
|
<div class="container text-center">
|
||||||
<p>{{setting('footer')}} © {{date('Y')}}</p>
|
<p>{{setting('footer')}} <a href="https://www.binarity.cz">binarity s.r.o.</a> © {{date('Y')}}</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user