Compare commits

...

4 Commits

Author SHA1 Message Date
Thomas MONCHICOURT e6316504f1 Feat : Voeux 2018 #5816 @2h 2018-01-18 11:21:05 +01:00
Thomas MONCHICOURT d8ac0993d6 Fix : port docker dev 2018-01-17 14:59:17 +01:00
Thomas MONCHICOURT 67575e53e4 Fix : stats 2018-01-15 11:27:29 +01:00
Thomas MONCHICOURT 182a1b5078 Fix : nginx conf prod 2018-01-11 11:00:33 +01:00
13 changed files with 79 additions and 15 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ services:
nginx:
ports:
- "8080:80"
- "80:80"
volumes:
- ../volume/www:/home/www:cached
restart: "no"
+2 -2
View File
@@ -11,7 +11,7 @@ server {
server_name static.talentstube.com;
index index.html;
root /home/www/www.talentstube.com/www/web/uploads/;
root /home/www/website/www/web/uploads/;
access_log /home/www/website/log/access.log vhosts;
error_log /home/www/website/log/error.log;
@@ -28,7 +28,7 @@ server {
client_max_body_size 500M;
root /home/www/www.talentstube.com/www/web;
root /home/www/website/www/web;
access_log /home/www/website/log/access.log vhosts;
error_log /home/www/website/log/error.log;
@@ -10,11 +10,16 @@
<div class="col l12 m12 s12 home-content col-noPadding">
<div id="homeTeaser" class="valign-wrapper">
<h1 class="white-text center-align">1er job board <span>100% vidéo</span></h1><br />
<a data-target="modal_concept" href="#!" class="btn btn-default btn-round btn-concept modal-trigger">
Le concept en vidéo &nbsp;&nbsp;&nbsp;
<img src="{{asset('img/bouton-play.png')}}" />
</a>
<div class="link-home-head">
<a data-target="modal_concept" href="#!" class="btn btn-default btn-round btn-concept modal-trigger">
Le concept en vidéo &nbsp;&nbsp;&nbsp;
<img src="{{asset('img/bouton-play.png')}}" />
</a>
<a data-target="modal_voeux" href="#!" class="btn btn-default btn-round btn-voeux modal-trigger">
Voeux 2018 en vidéo &nbsp;&nbsp;&nbsp;
<img src="{{asset('img/bouton-play.png')}}" />
</a>
</div>
<div class="header-video-inner">
<video loop="" preload="metadata" autoplay="" id="vid" muted>
<source src="/img/home_video.mp4" type="video/mp4">
@@ -210,6 +215,17 @@
<a href="#!" class="modal-action modal-close btn btn-default button-round-small">Fermer</a>
</div>
</div>
<div id="modal_voeux" class="modal modal-fixed-footer">
<div class="modal-content">
<div class="video-container">
<iframe id="iframe_concept" src="" frameborder="0" webkitallowfullscreen mozallowfullscreen
allowfullscreen></iframe>
</div>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close btn btn-default button-round-small">Fermer</a>
</div>
</div>
{% endblock %}
{% block javascripts %}
@@ -87,8 +87,8 @@ class StatsManager
$lineDatesLabel[] = $stringDate;
}
}
$arrByAd[$ad->getId()]['count'] ++;
}
$arrByAd[$ad->getId()]['count'] = $nbVisitTalentByAd + $nbVisitCompanyByAd + $nbVisitAnonymByAd;
$arrByAd[$ad->getId()]['object'] = $ad;
}
}
@@ -228,9 +228,9 @@ class StatsManager
$lineDatesLabel[] = $stringDate;
}
}
$arrByAd[$ad->getId()]['count'] ++;
}
}
$arrByAd[$ad->getId()]['count'] = $nbVisitTalentByAd + $nbVisitCompanyByAd + $nbVisitAnonymByAd;
$arrByAd[$ad->getId()]['object'] = $ad;
}
}
@@ -292,6 +292,18 @@ $(document).ready(function () {
var src= $('#iframe_concept').attr('src');
$('#iframe_concept').attr('src',src);
});
$('#modal_voeux').modal({
dismissible: true,
ready: function(modal, trigger) {
$('#modal_voeux').find("iframe").attr('src',"https://player.vimeo.com/video/251612981?autoplay=1");
}
}
);
$('#modal_voeux').find('.modal-close').on('click',function(){
$('#modal_voeux').find("iframe").attr('src',"");
});
});
$('.roleUser').click(function(){
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+11
View File
@@ -14982,6 +14982,17 @@ h6 {
.btn-countVisitsAnonymByCompany {
background-color: #F9C339; }
.link-home-head {
display: flex;
flex-direction: row; }
.btn-voeux {
background-color: #FF9800;
background: linear-gradient(135deg, #ec9511 0%, #FF9800 100%);
margin-left: 25px; }
.btn-voeux:hover {
background: linear-gradient(135deg, #f1aa3f 0%, #ffad33 100%); }
.btn-small-grey {
padding: 0px 5px;
margin: 10px 0 20px 0;
File diff suppressed because one or more lines are too long
Binary file not shown.
+12
View File
@@ -292,5 +292,17 @@ $(document).ready(function () {
var src= $('#iframe_concept').attr('src');
$('#iframe_concept').attr('src',src);
});
$('#modal_voeux').modal({
dismissible: true,
ready: function(modal, trigger) {
$('#modal_voeux').find("iframe").attr('src',"https://player.vimeo.com/video/251612981?autoplay=1");
}
}
);
$('#modal_voeux').find('.modal-close').on('click',function(){
$('#modal_voeux').find("iframe").attr('src',"");
});
});
@@ -254,6 +254,19 @@
background-color: #F9C339;
}
.link-home-head{
display: flex;
flex-direction: row;
}
.btn-voeux {
background-color: #FF9800;
background: linear-gradient(135deg,rgb(236, 149, 17) 0%,#FF9800 100%);
&:hover{
background: linear-gradient(135deg,lighten(rgb(236, 149, 17), 10%) 0%,lighten(#FF9800, 10%) 100%)
}
margin-left: 25px;
}
.btn-small-grey {
padding: 0px 5px;
margin: 10px 0 20px 0;