Änderung BUCHBAR + ANFRAGE / Navigationsbug

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3434 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
adametz 2018-07-27 09:43:46 +00:00
parent 74b1146dd9
commit f440683f6b
6 changed files with 4505 additions and 4445 deletions

View file

@ -285,18 +285,18 @@
</td>
<td data-title="Verfügbarkeit">
<div style="">
<img src="/images/icons/available-{{ travel_date.effectiveStatus }}.png" style="height: 24px; width: 24px;vertical-align:middle" data-toggle="tooltip" data-placement="top"
<img src="/images/icons/available-{{ travel_date.effectiveStatus }}.png" style="height: 24px; width: 24px;vertical-align:middle" alt="">
{% if travel_date.effectiveStatus == 0 %}
data-original-title="NICHT VERFÜGBAR" alt="NICHT VERFÜGBAR">
NICHT VERFÜGBAR
{% endif %}
{% if travel_date.effectiveStatus == 1 %}
data-original-title="WENIGE VERFÜGBAR" alt="WENIGE VERFÜGBAR">
BUCHBAR
{% endif %}
{% if travel_date.effectiveStatus == 2 %}
data-original-title="BUCHBAR" alt="BUCHBAR">
BUCHBAR
{% endif %}
{% if travel_date.effectiveStatus == 3 %}
data-original-title="GARANTIERT" alt="GARANTIERT">
GARANTIERT
{% endif %}
</div>
@ -306,7 +306,7 @@
class="btn btn-primary"
rel="nofollow"
>
Weiter
ANFRAGEN
</a>
</td>
</tr>

View file

@ -277,6 +277,7 @@ jQuery(document).ready(function($) {
MENU HOVER -->
=============================================== */
if($(window).width() > 768){
$(".header .navbar-nav .dropdown:not(.openClick)").hover(
function() {
$(".dropdown.openClick").removeClass('open');
@ -289,19 +290,28 @@ jQuery(document).ready(function($) {
$(this).toggleClass('open');
}
);
}
$(".header .dropdown:not(.openClick)").click(
function() {
if($(window).width() > 768){
var _self = $(this);
setTimeout(
function()
{
window.location.href = _self.find('a').attr('href');
}, 500);
$(".header .dropdown:not(.openClick) .nav-first-a").click(
function ()
{
window.location.href = $(this).attr('href');
// console.log($(this));
}
}
);
/* $(".header .dropdown").click(
function() {
if($(window).width() > 768){
var _self = $(this);
setTimeout(
function()
{
window.location.href = _self.find('a').attr('href');
}, 500);
}
}
);*/
}
$('.selectpicker').selectpicker({

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Before After
Before After

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Before After
Before After