Commit 458ac511 authored by CALTEAU Guillaume's avatar CALTEAU Guillaume
Browse files

bootstrap 3 to 4 changes

parent d909e064
......@@ -51,7 +51,7 @@ var filterObj = {
},
initViews : function(pInit){
mylog.log("fObj initViews",pInit);
var str = '<div class="pull-left text-dark labelFilterTit"><i class="fa fa-filter"></i> <span class="hidden-sm">Filtres</span></div>';
var str = '<div class="float-left text-dark labelFilterTit"><i class="fa fa-filter"></i> <span class="hidden-sm">Filtres</span></div>';
var fObj = this;
if(typeof pInit.filters != "undefined"){
$.each(pInit.filters,function(k,v){
......@@ -61,7 +61,7 @@ var filterObj = {
}
});
}
str+='<div id="activeFilters" class="col-xs-12 padding-5"></div>';
str+='<div id="activeFilters" class="col-12 padding-5"></div>';
$(fObj.container).html(str);
},
search : function(){
......@@ -69,7 +69,7 @@ var filterObj = {
searchObject.count=true;
startSearch(0);
},
views : {
views : {class="form-control input-global-search w-50"
tags : function(k,v){
mylog.log("fObj views tags", k,v);
var str = "";
......@@ -100,14 +100,14 @@ var filterObj = {
includeSubList=(typeof v.list=="object" && !Array.isArray(v.list)) ? true : false;
$.each( v.list ,function(kL,vL){
if(includeSubList){
str +='<button class="mainTitle col-xs-12" data-field="'+v.field+'" data-type="'+v.type+'" data-value="'+kL+'" >'+kL+'</button>';
str +='<button class="mainTitle col-12" data-field="'+v.field+'" data-type="'+v.type+'" data-value="'+kL+'" >'+kL+'</button>';
if(Object.keys(vL).length > 0){
$.each(vL, function(i, sub){
str +='<button class="col-xs-12" data-field="'+v.field+'" data-type="'+v.type+'" data-value="'+sub+'" >'+sub+'</button>';
str +='<button class="col-12" data-field="'+v.field+'" data-type="'+v.type+'" data-value="'+sub+'" >'+sub+'</button>';
});
}
}else{
str +='<button class="col-xs-12" data-field="'+v.field+'" data-type="'+v.type+'" data-value="'+vL+'" >'+vL+'</button>';
str +='<button class="col-12" data-field="'+v.field+'" data-type="'+v.type+'" data-value="'+vL+'" >'+vL+'</button>';
}
});
}
......@@ -122,10 +122,10 @@ var filterObj = {
'<span class="input-group-addon scope-search-trigger">'+
'<i class="fa fa-map-marker fa-fw" aria-hidden="true"></i>'+
'</span>'+
'<input type="text" class="form-control input-global-search" autocomplete="off"'+
'<input type="text" class="form-control input-global-search w-50" autocomplete="off"'+
' id="searchOnCity" placeholder="Où ?">'+
'</div>'+
'<div class="dropdown-result-global-search col-xs-12 col-sm-5 col-md-5 col-lg-5 no-padding" '+
'<div class="dropdown-result-global-search col-12 col-sm-5 col-md-5 col-lg-5 no-padding" '+
' style="display: none;">'+
'<div class="content-result">'+
'</div>'+
......
......@@ -32,7 +32,7 @@ pageProfil.views.answers= function(){
null,
function(){},"html");
}else{
$('#central-container').html("<span class='alert alert-warning col-xs-12 padding-20 text-center'>"+
$('#central-container').html("<span class='alert alert-warning col-12 padding-20 text-center'>"+
"Désolé, nous n'avons trouvé aucune candidature correspondante à ce projet<br/>"+
"Veuillez-vous rapprocher des administrateurs du site afin que l'on puisse régler le problème"+
"</span>");
......@@ -86,12 +86,12 @@ pageProfil.views.adminCter = function(){
ajaxPost('#central-container', baseUrl+"/"+moduleId+"/app/admin"+subUrl,
{subView : true},
function(){
str='<li class="text-center list-group-item col-xs-12 col-sm-offset-1 col-md-offset-2 col-md-8 col-sm-10">'+
str='<li class="text-center list-group-item col-12 col-sm-offset-1 col-md-offset-2 col-md-8 col-sm-10">'+
'<a href="javascript:;" class="btnNavAdmin text-green" data-view="candidatures" style="cursor:pointer;">'+
'<i class="fa fa-tasks fa-2x"></i> Gestion des actions'+
'</a>'+
'</li>'+
'<li class="text-center list-group-item col-xs-12 col-sm-offset-1 col-md-offset-2 col-md-8 col-sm-10">'+
'<li class="text-center list-group-item col-12 col-sm-offset-1 col-md-offset-2 col-md-8 col-sm-10">'+
'<a href="javascript:;" class="btnNavAdmin text-yellow" data-view="communityCter" style="cursor:pointer;">'+
'<i class="fa fa-group fa-2x"></i> Membres'+
'</a>'+
......@@ -107,18 +107,18 @@ pageProfil.views.adminCter = function(){
copyFicheActionFrom=true;
});
strExplain="<i class='fa fa-info-circle'></i> Ajouter les actions de votre territoire que vous accompagnez dans le cadre de votre CTE";
strMenu='<div class="col-xs-12 margin-top-20 margin-bottom-20 text-center">';
strMenu='<div class="col-12 margin-top-20 margin-bottom-20 text-center">';
strMenu+='<button class="btn-add-badge btn col-xs-12"><i class="fa fa-plus-circle"></i> Ajouter une orientation</button>';
strMenu+='<button class="btn-add-badge btn col-12"><i class="fa fa-plus-circle"></i> Ajouter une orientation</button>';
if(copyFicheActionFrom){
strMenu+='<button class="ssmla btn col-xs-12" data-view="ficheAction"><i class="fa fa-plus-circle"></i> Ajouter un projet</button>';
strMenu+='<button class="ssmla btn col-12" data-view="ficheAction"><i class="fa fa-plus-circle"></i> Ajouter un projet</button>';
}
strMenu+='</div>';
}
if(!copyFicheActionFrom){
//strExplain="<i class='fa fa-info-circle'></i> Vous devez générer le formulaire d'appel à projet.<br/>Vous pourrez ainsi renseigner les projets sur votre territoire mise en place dans le cadre du CTE.";
//strMenu='<div class="col-xs-12 margin-top-20 margin-bottom-20 text-center">'+
// '<button class="ssmla btn col-xs-12" data-action="generateAAP"><i class="fa fa-pencil"></i> Générer l\'appel à projet</button>'+
//strMenu='<div class="col-12 margin-top-20 margin-bottom-20 text-center">'+
// '<button class="ssmla btn col-12" data-action="generateAAP"><i class="fa fa-pencil"></i> Générer l\'appel à projet</button>'+
// '</div>';
}
$(".infoPanelAddContent").html(strExplain);
......
......@@ -51,7 +51,7 @@ var pacte={
}
popup += "<div class='popup-section'>";
popup += "<a href='javascript:;' onclick='pacte.joinGroupMap(\""+id+"\");' target='_blank' class='item_map_list popup-marker' id='popup"+id+"'>";
popup += '<div class="btn btn-sm btn-more col-xs-12">';
popup += '<div class="btn btn-sm btn-more col-12">';
popup += "Rejoindre le collectif"
popup += '</div></a>';
popup += '</div>';
......@@ -89,7 +89,7 @@ var pacte={
if($(".form-register .info-register-form").length > 0)
$('.form-register .info-register-form').html(params.msgHeader);
else
$('.form-register').find(".surnameRegister").before("<div class='col-xs-12 bg-purple text-white text-center info-register-form'>"+params.msgHeader+"</div>");
$('.form-register').find(".surnameRegister").before("<div class='col-12 bg-purple text-white text-center info-register-form'>"+params.msgHeader+"</div>");
Login.runRegisterValidator();
}
};
......
......@@ -132,9 +132,9 @@
"menuTop" : true,
"menuTopImage" : true,
"menuTopGroupBtn" : true,
"menuLeft" : "hidden",
"centralSection" : "col-xs-12",
"centralSectionSub" : "col-xs-12 col-md-10 col-md-offset-1 col-lg-10 col-lg-offset-1 shadow2"
"menuLeft" : "d-none",
"centralSection" : "col-12",
"centralSectionSub" : "col-12 col-md-10 offset-md-1 col-lg-10 offset-lg-1 shadow2"
},
"menuLeft" : false,
"menuTop" : {
......@@ -146,12 +146,12 @@
"label" : "Accueil",
"icon" : "home",
"view" : "home",
"class":"hidden-xs"
"class":"d-none d-sm-block"
},
"community" : {
"label" : "Community",
"icon" : "users",
"class" : "hidden-xs",
"class" : "d-none d-sm-block",
"view" : "community",
"dataAttr" : {
"icon" : "users"
......@@ -161,7 +161,7 @@
"label" : "Actions",
"icon" : "lightbulb-o",
"view" : "projects",
"class" : "hidden-xs",
"class" : "d-none d-sm-block",
"categoryAllow":"cteR",
"dataAttr" : {
"dir" : "projects",
......@@ -174,7 +174,7 @@
"projectsOthers" : {
"label" : "Projects",
"icon" : "lightbulb-o",
"class" : "hidden-xs",
"class" : "d-none d-sm-block",
"view":"directory",
"dataAttr" : {
"dir" : "projects",
......@@ -189,7 +189,7 @@
"label" : "En chiffres",
"icon" : "tachometer",
"view" : "dashboard",
"class":"hidden-xs",
"class":"d-none d-sm-block",
"categoryAllow":"cteR",
"urlExtra" : "/url/costum.views.custom.ctenat.dashboard",
"typeAllow" : [
......@@ -200,7 +200,7 @@
"label" : "Agenda",
"icon" : "calendar",
"view" : "directory",
"class" : "hidden-xs",
"class" : "d-none d-sm-block",
"dataAttr" : {
"dir" : "events",
"icon" : "calendar"
......@@ -209,14 +209,14 @@
"newspaper" : {
"label" : "Newspaper",
"icon" : "rss",
"class":"hidden-xs",
"class":"d-none d-sm-block",
"view" : "newspaper"
},
"answer":{
"label" : "Candidature",
"icon" : "list-alt",
"edit":true,
"class":"hidden-xs",
"class":"d-none d-sm-block",
"typeAllow":["projects"],
"categoryAllow":"ficheAction",
"view" : "answers"
......@@ -226,16 +226,16 @@
"icon" : "cogs",
"class" : "",
"edit":true,
"class":"hidden-xs",
"class":"d-none d-sm-block",
"typeAllow":["citoyens"],
"action" : "settingsAccount"
},
"admin":{
"label" : "Admin<span class='hidden-sm'>istration</span>",
"label" : "Admin<span class='d-block d-sm-none d-md-block'>istration</span>",
"icon" : "cogs",
"class" : "text-red",
"edit":true,
"class":"hidden-xs",
"class":"d-none d-sm-block",
"typeAllow":["projects"],
"categoryAllow":"cteR",
"view" : "adminCter"
......@@ -262,6 +262,12 @@
},
"navRight" : {
"connected" : {
"chat" : true,
"notifications" : true,
"networkFloop" : true,
"userProfil" : {
"img" : true
},
"dropdownUser" : {
"languages" : true,
"statistics" : false,
......@@ -271,13 +277,7 @@
"settings" : false,
"logout" : true
},
"userProfil" : {
"img" : true
},
"networkFloop" : true,
"notifications" : true,
"dda" : false,
"chat" : true,
"home" : false,
"app" : false,
"map" : true
......
......@@ -22,7 +22,7 @@ if(isset(Yii::app()->session["costum"]["contextType"]) && isset(Yii::app()->sess
"type"=>"cms") );
} else {?>
<div class="col-xs-12 text-center margin-top-50">
<div class="col-12 text-center margin-top-50">
<h2>Ce COstum est un template <br/> associé à un élément pour avoir un context.</h2>
</div>
......@@ -38,19 +38,19 @@ if(isset(Yii::app()->session["costum"]["contextType"]) && isset(Yii::app()->sess
Yii::app()->session["costum"]["htmlConstruct"]['tagBar']['top'] ,true);
?>
<div class="col-xs-12 no-padding" id="customHeader" style="background-color: white">
<div class="col-12 no-padding" id="customHeader" style="background-color: white">
<div class="col-xs-12 text-center margin-bottom-50" style="padding:0px;">
<div class="col-12 text-center margin-bottom-50" style="padding:0px;">
<div class="col-sm-12 col-md-12 col-xs-12 no-padding" style="background-color:#1F2532; max-width:100%; float:left;">
<div class="col-xs-12 no-padding" style="margin-top:100px;">
<div class="col-xs-12 no-padding">
<div class="col-md-12 col-sm-12 col-xs-12 padding-20" style="padding-left:100px;background-color: #f6f6f6; min-height:400px;">
<div class="col-xs-12 col-sm-10 col-sm-offset-1 pull-left padding-20 shadow2" style="margin-top:-80px;margin-bottom:-80px;background-color: #fff;font-size: 14px;z-index: 5;">
<div class="col-xs-12 font-montserrat ourvalues" style="text-align:center;">
<h3 class="col-xs-12 text-center">
<div class="col-sm-12 col-md-12 col-12 no-padding" style="background-color:#1F2532; max-width:100%; float:left;">
<div class="col-12 no-padding" style="margin-top:100px;">
<div class="col-12 no-padding">
<div class="col-md-12 col-sm-12 col-12 padding-20" style="padding-left:100px;background-color: #f6f6f6; min-height:400px;">
<div class="col-12 col-sm-10 offset-sm-1 float-left padding-20 shadow2" style="margin-top:-80px;margin-bottom:-80px;background-color: #fff;font-size: 14px;z-index: 5;">
<div class="col-12 font-montserrat ourvalues" style="text-align:center;">
<h3 class="col-12 text-center">
<small style="text-align: left">
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>
......@@ -74,7 +74,7 @@ if(isset(Yii::app()->session["costum"]["contextType"]) && isset(Yii::app()->sess
<hr style="width:40%; margin:20px auto; border: 4px solid #6BB3C1;">
<div class="col-md-10 col-md-offset-1 col-xs-12">
<div class="col-md-10 offset-md-1 col-12">
<span class="text-explain">
<br/>
......@@ -98,7 +98,7 @@ if(isset(Yii::app()->session["costum"]["contextType"]) && isset(Yii::app()->sess
</a>
</div>
</div>
<div class="text-center col-xs-12">
<div class="text-center col-12">
<br/><br/>
<img class="img-responsive" src="<?php echo Yii::app()->getModule("costum")->assetsUrl ?>/images/ctenat/city.png"></div>
</div>
......@@ -114,9 +114,9 @@ if(isset(Yii::app()->session["costum"]["contextType"]) && isset(Yii::app()->sess
<div class="col-xs-12 no-padding support-section">
<div class="col-12 no-padding support-section">
<h2><br/><i class="fa fa-calendar"></i> QUEL CALENDRIER ?</h2>
<div class="col-xs-12 text-explain">
<div class="col-12 text-explain">
<img style="margin:auto" class="img-responsive" src="<?php echo Yii::app()->getModule("costum")->assetsUrl ?>/images/ctenat/cal.png">
......
......@@ -8,24 +8,24 @@
<style type="text/css">
.counterBlock{height:200px;}
</style>
<div class="col-xs-12 text-explain bg-white" >
<div class="col-12 text-explain bg-white" >
<div class="col-md-4 text-center padding-10" >
<div class="col-md-4 text-center padding-10 float-left d-inline-block" >
<div class="counterBlock" >
<h1><span class="counter"><?php echo $population ?></span></h1>
<h3>Habitants</h3>
<div class="col-md-4 col-sm-offset-4">
<div class="col-md-4 offset-sm-4">
<i class="fa fa-users" style="font-size: 4em;color:#2D99D4;"></i>
</div>
</div>
</div>
<div class="col-md-4 text-center padding-10" >
<div class="col-md-4 text-center padding-10 float-left d-inline-block" >
<div class="counterBlock" style="border-left:1px dashed #6CC3AC;border-right:1px dashed #6CC3AC;" >
<h1><span class="counter"><?php echo $actions ?></span></h1>
<h3>Actions</h3>
<div class="col-md-4 col-sm-offset-4">
<div class="col-md-4 offset-sm-4">
<i class="fa fa-lightbulb-o" style="font-size: 4em;color:#16A57D;"></i>
</div>
</div>
......@@ -42,7 +42,7 @@
</div>
</div>
*/ ?>
<div class="col-md-4 text-center padding-10" >
<div class="col-md-4 text-center padding-10 float-left d-inline-block" >
<h1><span class="counter"><?php echo $finance ?></span></h1>
<h3>Millions €</h3>
<div class="counterBlock" id="millionPie" >
......
......@@ -8,18 +8,18 @@
<style type="text/css">
.counterBlock{border: 2px solid #002861; border-radius: 20px;height:350px;}
</style>
<div class="col-md-12 col-sm-12 col-xs-12 no-padding dashboard app-<?php echo @$page ?>">
<div class="col-xs-12 text-center" style="margin-top: 20px; color:#24284D">
<div class="col-md-12 col-sm-12 col-12 no-padding dashboard app-<?php echo @$page ?>">
<div class="col-12 text-center" style="margin-top: 20px; color:#24284D">
<h1><?php echo $title ?></h1>
</div>
<div classs="col-xs-12" style="margin-top: 50px">
<div class="col-12" style="margin-top: 50px">
<?php //echo $this->renderPartial("graph.views.co.menuSwitcher",array()); ?>
<div class="col-xs-12" id="graphSection">
<div class="col-12" id="graphSection">
<?php
$blocksize = floor(12/count($blocks));
foreach ($blocks as $id => $d)
{ ?>
<div class="col-md-<?php echo $blocksize?> text-center padding-10" >
<div class="col-md-<?php echo $blocksize?> text-center padding-10 d-inline-block float-left" >
<h1><span class="counter"><?php echo $d["counter"]?></span></h1>
<h3><?php echo $d["title"]?></h3>
<div class="counterBlock" id="<?php echo $id?>" >
......
......@@ -152,26 +152,26 @@ wishlist
</style>
<div class="col-xs-12 no-padding no-margin">
<div id="header-doc" class="col-xs-12 shadow2">
<div class="col-12 no-padding no-margin">
<div id="header-doc" class="col-12 shadow2">
<a href='javascript:;' id="show-menu-xs" class=" pull-left" data-placement="bottom" data-title="Menu"><i class="fa fa-bars"></i></a>
<h2 class="elipsis no-margin"><i class="fa fa-book hidden-xs"></i> DOCUMENTATION <span style="color:#65BA91">CTE</span></h2>
</div>
<div id="menu-left" class="col-md-3 col-xs-12 shadow2 hide" >
<ul class="col-md-12 col-sm-12 col-xs-12 no-padding">
<div id="menu-left" class="col-md-3 col-12 shadow2 hide" >
<ul class="col-md-12 col-sm-12 col-12 no-padding">
<?php /* ?>
<li class="col-xs-12 no-padding">
<li class="col-12 no-padding">
<a href="javascript:;" class="link-docs-menu down-menu" data-type="kicker" data-dir="costum.views.custom.ctenat.docs">
<i class="fa fa-angle-right"></i> Parcours
</a>
<ul class="subMenu col-xs-12 no-padding">
<li class="col-xs-12 no-padding">
<ul class="subMenu col-12 no-padding">
<li class="col-12 no-padding">
<a href="javascript:;" id="startDoc" class="link-docs-menu" data-type="public" data-dir="costum.views.custom.ctenat.docs">
Acteurs publics
</a>
</li>
<li class="col-xs-12 no-padding">
<li class="col-12 no-padding">
<a href="javascript:;" class="link-docs-menu" data-type="socioeco" data-dir="costum.views.custom.ctenat.docs">
Acteurs socio-économiques
</a>
......@@ -195,11 +195,11 @@ wishlist
if(isset($pois["orphans"][$key]))
{
?>
<li class="col-xs-12 no-padding">
<li class="col-12 no-padding">
<a href="javascript:" class="link-docs-menu-poi" data-poi="<?php echo (string)$pois["orphans"][$key]["_id"]; ?>" >
<i class="fa fa-angle-right"></i> <?php echo $pois["orphans"][$key]["name"]; ?>
</a>
<ul class="subMenu col-xs-12 no-padding">
<ul class="subMenu col-12 no-padding">
<?php
//position basé sur les 2 premier chiffres
......@@ -210,7 +210,7 @@ wishlist
array_multisort($pos, SORT_ASC, $value);
foreach ( $value as $k => $v) { ?>
<li class="col-xs-12 no-padding">
<li class="col-12 no-padding">
<a href="javascript:" class="link-docs-menu-poi" data-poi="<?php echo (string)$v["_id"]; ?>" >
<?php echo $v["name"]; ?>
</a>
......@@ -240,7 +240,7 @@ wishlist
}
else
{ ?>
<li class="col-xs-12 no-padding">
<li class="col-12 no-padding">
<a href="javascript:" class="link-docs-menu-poi" data-poi="<?php echo (string)$value["_id"]; ?>" >
<?php echo $value["name"]; ?>
</a>
......@@ -253,9 +253,9 @@ wishlist
{
?>
<li class="col-xs-12 no-padding">
<li class="col-12 no-padding">
<ul>
<li class="col-xs-12 no-padding">
<li class="col-12 no-padding">
<a href="javascript:;" class="createDocBtn text-red" >
<i class="fa fa-plus-circle"></i> AJOUTER
</a>
......@@ -267,7 +267,7 @@ wishlist
</ul>
</div>
<div id="container-docs" class="col-xs-12 pading-20 margin-top-20"></div>
<div id="container-docs" class="col-12 pading-20 margin-top-20"></div>
</div>
<script type="text/javascript">
......@@ -423,7 +423,7 @@ wishlist
bindDocLinksPoi();
$("#show-menu-xs").off().on("click",function (){
$('#container-docs').removeClass('col-xs-9').removeClass('col-xs-12')
$('#container-docs').removeClass('col-9').removeClass('col-12')
$('#menu-left').addClass("hide");
navInDocs("kicker", "costum.views.custom.ctenat.docs");
});
......
......@@ -3,33 +3,33 @@
</style>
<div class="col-xs-12 margin-top-20 " id="startSection">
<div class="col-12 margin-top-20 " id="startSection">
<h1 class="text-center">Découvrir le CTE</h1>
<div class="col-sm-6 text-center">
<div class="col-sm-6 text-center d-inline-block float-left">
<a href="javascript:;" id="userDoc" >
<img class="img-responsive img-bd-round" width="150" style="margin: auto;" src="<?php echo Yii::app()->getModule("costum")->assetsUrl ?>/images/ctenat/parcours.png">
<img class="img-fluid img-bd-round" width="150" style="margin: auto;" src="<?php echo Yii::app()->getModule("costum")->assetsUrl ?>/images/ctenat/parcours.png">
<h3>Suivez votre parcours utilisateur</h3>
</a>
</div>
<div class="col-sm-6 text-center">
<div class="col-sm-6 text-center d-inline-block float-right">
<a href="javascript:;" id="detailDoc" >
<img class="img-responsive img-bd-round" width="150" style="margin: auto;" src="<?php echo Yii::app()->getModule("costum")->assetsUrl ?>/images/ctenat/docDétaillé.png">
<img class="img-fluid img-bd-round" width="150" style="margin: auto;" src="<?php echo Yii::app()->getModule("costum")->assetsUrl ?>/images/ctenat/docDétaillé.png">
<h3>Accédez à toute la documentation détaillée</h3>
</a>
</div>
</div>
<div id="acteurKick" class="col-xs-12 margin-top-20 hide">
<div id="acteurKick" class="col-12 margin-top-20 hide">
<h2 class="text-center text-grey">Quel utilisateur êtes vous ?</h2>
<div class="col-sm-6 text-center">
<div class="col-sm-6 text-center d-inline-block float-left">
<a href="javascript:;" id="startDoc" class="link-docs-menu" data-type="public" data-dir="costum.views.custom.ctenat.docs">
<img class="img-responsive img-bd-round" width="150" style="margin: auto;" src="<?php echo Yii::app()->getModule("costum")->assetsUrl ?>/images/ctenat/public.png">
<img class="img-fluid img-bd-round" width="150" style="margin: auto;" src="<?php echo Yii::app()->getModule("costum")->assetsUrl ?>/images/ctenat/public.png">
<h3>Acteur Public</h3>
</a>
</div>
<div class="col-sm-6 text-center">
<div class="col-sm-6 text-center d-inline-block float-right">
<a href="javascript:;" id="startDoc" class="link-docs-menu" data-type="socioeco" data-dir="costum.views.custom.ctenat.docs">
<img class="img-responsive img-bd-round" width="170" style="margin: auto;" src="<?php echo Yii::app()->getModule("costum")->assetsUrl ?>/images/ctenat/socioeco.png">
<img class="img-fluid img-bd-round" width="170" style="margin: auto;" src="<?php echo Yii::app()->getModule("costum")->assetsUrl ?>/images/ctenat/socioeco.png">
<h3>Acteur socio-éco</h3>
</a>
</div>
......@@ -44,7 +44,7 @@ jQuery(document).ready(function() {
})
$("#detailDoc").click(function(e) {
$('#container-docs').removeClass('col-xs-12').addClass('col-xs-9')
$('#container-docs').removeClass('col-12').addClass('col-9')
$('#menu-left').removeClass("hide");
navInDocs("docDetail", "costum.views.custom.ctenat.docs");
......
......@@ -55,16 +55,16 @@
$el["type"]=Project::COLLECTION;
if($el["category"]=="ficheAction"){ ?>
<div class="col-xs-12">
<div class="col-12">
<?php if(isset($cteRParent)) { ?>
<div class="col-xs-12 contentBadgeHome no-padding margin-bottom-15 margin-top-10">
<div class="col-12 contentBadgeHome no-padding margin-bottom-15 margin-top-10">
<a href="#page.type.<?php echo Project::COLLECTION ?>.id.<?php echo $cteRParent["id"] ?>" class="lbh badge" style="padding: 5px 15px"><i class="fa fa-sign-out"></i> Retour au territoire</a>
</div>
<?php } ?>
</div>
<?php } ?>
<div class="col-xs-12 col-sm-6 col-md-4">
<div class="sliderMedia col-xs-12 no-padding">
<div class="col-12 col-sm-6 col-md-4">
<div class="sliderMedia col-12 no-padding">
<?php if(isset($images) && !empty($images)){
$label="Modifier les images";
$this->renderPartial('co2.views.pod.sliderMedia',
......@@ -76,19 +76,19 @@ if($el["category"]=="ficheAction"){ ?>
}else{
$label="Ajouter les images";
?>
<img class="img-responsive" src="<?php echo $this->module->getParentAssetsUrl().'/images/thumbnail-default.jpg' ?>"/>
<img class="img-fluid" src="<?php echo $this->module->getParentAssetsUrl().'/images/thumbnail-default.jpg' ?>"/>
<?php } ?>
<button id="editSliderAlbum"><?php echo $label ?></button>
</div>
<?php if($el["category"]=="cteR") { ?>
<div id="porteurCTE" class="divCommunityHome col-xs-12 no-padding">
<div id="porteurCTE" class="divCommunityHome col-12 no-padding">
<span class="labelPod col-xs-12 text-center text-gray"><i class="fa fa-user"></i> Porteur(s) du CTE</span><br/>
<span class="labelPod col-12 text-center text-gray"><i class="fa fa-user"></i> Porteur(s) du CTE</span><br/>
<?php if(isset($porteurCTE)){
$count=count($porteurCTE); ?>
<div class="col-xs-12 text-center">
<div class="col-12 text-center">
<?php foreach($porteurCTE as $key =>$v){
$heightImg=($count>1) ? 35 : 25;
$imgPath = (@$v["profilThumbImageUrl"] && !empty($v["profilThumbImageUrl"])) ? Yii::app()->createUrl('/'.$v["profilThumbImageUrl"]) : $this->module->getParentAssetsUrl().'/images/thumb/default_'.$v["type"].'.png' ?>
......@@ -102,11 +102,11 @@ if($el["category"]=="ficheAction"){ ?>
</div>
<?php } ?>
</div>
<div id="partnersCTE" class="divCommunityHome col-xs-12 no-padding">
<span class="labelPod col-xs-12 text-center text-gray">Partenaires</span><br/>
<div id="partnersCTE" class="divCommunityHome col-12 no-padding">
<span class="labelPod col-12 text-center text-gray">Partenaires</span><br/>
<?php if(@$partners){
$count=count($partners); ?>
<div class="col-xs-12 text-center">
<div class="col-12 text-center">
<?php foreach($partners as $key =>$v){
$heightImg=50;
$imgPath = (@$v["profilThumbImageUrl"] && !empty($v["profilThumbImageUrl"])) ? Yii::app()->createUrl('/'.$v["profilThumbImageUrl"]) : $this->module->getParentAssetsUrl().'/images/thumb/default_organizations.png' ?>
......@@ -122,11 +122,11 @@ if($el["category"]=="ficheAction"){ ?>
</div>
<?php }
if($el["category"]=="ficheAction") { ?>
<div id="porteurAction" class="divCommunityHome col-xs-12 no-padding">
<span class="labelPod col-xs-12 text-center text-gray"><i class="fa fa-user"></i> Porteur(s) de l'action</span><br/>
<div id="porteurAction" class="divCommunityHome col-12 no-padding">
<span class="labelPod col-12 text-center text-gray"><i class="fa fa-user"></i> Porteur(s) de l'action</span><br/>
<?php if(isset($porteurAction)){
$count=count($porteurAction); ?>
<div class="