Commit 21d21750 authored by Sebastian Castro's avatar Sebastian Castro

fixed untracked files

parent 879d2b27
...@@ -17,5 +17,5 @@ ...@@ -17,5 +17,5 @@
/web/assets/css/* /web/assets/css/*
/web/js/* /web/js/*
/node_modules/ /node_modules/
npm-debug.log /npm-debug.log
.sass-cache .sass-cache
<IfModule mod_authz_core.c> <IfModule mod_authz_core.c>
Require all denied Require all denied
</IfModule> </IfModule>
<IfModule !mod_authz_core.c> <IfModule !mod_authz_core.c>
Order deny,allow Order deny,allow
Deny from all Deny from all
</IfModule> </IfModule>
<?php <?php
use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache; use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache;
class AppCache extends HttpCache class AppCache extends HttpCache
{ {
} }
<?php <?php
use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface; use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel class AppKernel extends Kernel
{ {
public function registerBundles() public function registerBundles()
{ {
$bundles = [ $bundles = [
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(), new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(), new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(), new Symfony\Bundle\MonologBundle\MonologBundle(),
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(), new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(), new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
new Symfony\Bundle\AsseticBundle\AsseticBundle(), new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Biopen\CoreBundle\BiopenCoreBundle(), new Biopen\CoreBundle\BiopenCoreBundle(),
new Biopen\ElementBundle\BiopenElementBundle(), new Biopen\ElementBundle\BiopenElementBundle(),
new Bazinga\Bundle\GeocoderBundle\BazingaGeocoderBundle(), new Bazinga\Bundle\GeocoderBundle\BazingaGeocoderBundle(),
new JMS\SerializerBundle\JMSSerializerBundle(), new JMS\SerializerBundle\JMSSerializerBundle(),
new FOS\JsRoutingBundle\FOSJsRoutingBundle(), new FOS\JsRoutingBundle\FOSJsRoutingBundle(),
new JMS\TwigJsBundle\JMSTwigJsBundle() new JMS\TwigJsBundle\JMSTwigJsBundle()
]; ];
if (in_array($this->getEnvironment(), ['dev', 'test'], true)) { if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
$bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle(); $bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(); $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(); $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
$bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(); $bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle();
$bundles[] = new CoreSphere\ConsoleBundle\CoreSphereConsoleBundle(); $bundles[] = new CoreSphere\ConsoleBundle\CoreSphereConsoleBundle();
} }
return $bundles; return $bundles;
} }
public function getRootDir() public function getRootDir()
{ {
return __DIR__; return __DIR__;
} }
public function getCacheDir() public function getCacheDir()
{ {
return dirname(__DIR__).'/var/cache/'.$this->getEnvironment(); return dirname(__DIR__).'/var/cache/'.$this->getEnvironment();
} }
public function getLogDir() public function getLogDir()
{ {
return dirname(__DIR__).'/var/logs'; return dirname(__DIR__).'/var/logs';
} }
public function registerContainerConfiguration(LoaderInterface $loader) public function registerContainerConfiguration(LoaderInterface $loader)
{ {
$loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml'); $loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml');
} }
} }
{% extends "::bundle-layout.html.twig" %} {% extends "::bundle-layout.html.twig" %}
{% block title %}Erreur!{% endblock %} {% block title %}Erreur!{% endblock %}
{# Stylessheets #} {# Stylessheets #}
{% block stylesheets %} {% block stylesheets %}
<link rel="stylesheet" href="{{ asset('assets/css/error.css') }}"> <link rel="stylesheet" href="{{ asset('assets/css/error.css') }}">
{% endblock %} {% endblock %}
{# BODY CONTENT #} {# BODY CONTENT #}
{% block body_content %} {% block body_content %}
<h1>Oops! Une erreur s'est produite</h1> <h1>Oops! Une erreur s'est produite</h1>
<div> <div>
Le serveur à répondu "{{ status_code }} {{ status_text }}".</br> Le serveur à répondu "{{ status_code }} {{ status_text }}".</br>
Si le problème persiste, veuillez nous contacter via contact@monvoisinfaitdubio.fr Si le problème persiste, veuillez nous contacter via contact@monvoisinfaitdubio.fr
</div> </div>
{% endblock %} {% endblock %}
{% block javascripts %} {% block javascripts %}
<script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script> <script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script>
<script src="{{ path('fos_js_routing_js', {'callback': 'fos.Router.setData'}) }}"></script> <script src="{{ path('fos_js_routing_js', {'callback': 'fos.Router.setData'}) }}"></script>
<script src="{{ asset('js/libs.js') }}"></script> <script src="{{ asset('js/libs.js') }}"></script>
<script src="{{ asset('assets/js/commons.js') }}"></script> <script src="{{ asset('assets/js/commons.js') }}"></script>
{% endblock %} {% endblock %}
\ No newline at end of file
{% extends "::bundle-layout.html.twig" %} {% extends "::bundle-layout.html.twig" %}
{% block title %}Erreur 404{% endblock %} {% block title %}Erreur 404{% endblock %}
{# Stylessheets #} {# Stylessheets #}
{% block stylesheets %} {% block stylesheets %}
<link rel="stylesheet" href="{{ asset('assets/css/error.css') }}"> <link rel="stylesheet" href="{{ asset('assets/css/error.css') }}">
{% endblock %} {% endblock %}
{# BODY CONTENT #} {# BODY CONTENT #}
{% block body_content %} {% block body_content %}
<h1>Oops! Une erreur s'est produite</h1> <h1>Oops! Une erreur s'est produite</h1>
<div> <div>
La page demandée n'existe pas... La page demandée n'existe pas...
</div> </div>
{% endblock %} {% endblock %}
{% block javascripts %} {% block javascripts %}
<script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script> <script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script>
<script src="{{ path('fos_js_routing_js', {'callback': 'fos.Router.setData'}) }}"></script> <script src="{{ path('fos_js_routing_js', {'callback': 'fos.Router.setData'}) }}"></script>
<script src="{{ asset('js/libs.js') }}"></script> <script src="{{ asset('js/libs.js') }}"></script>
<script src="{{ asset('assets/js/commons.js') }}"></script> <script src="{{ asset('assets/js/commons.js') }}"></script>
{% endblock %} {% endblock %}
\ No newline at end of file
{# app/Resources/views/layout.html.twig #} {# app/Resources/views/layout.html.twig #}
<!DOCTYPE html> <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 ie" lang="fr"> <![endif]--> <!--[if lt IE 7]> <html class="no-js ie6 ie" lang="fr"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 ie" lang="fr"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 ie" lang="fr"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 ie" lang="fr"> <![endif]--> <!--[if IE 8]> <html class="no-js ie8 ie" lang="fr"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js ie9 ie" lang="fr"> <![endif]--> <!--[if gt IE 8]> <html class="no-js ie9 ie" lang="fr"> <![endif]-->
<!--[if !(IE)]><!--> <html class="no-js" lang="fr"> <!--<![endif]--> <!--[if !(IE)]><!--> <html class="no-js" lang="fr"> <!--<![endif]-->
<head> <head>
<title>{% block title %}Mon voisin fait du bio{% endblock %}</title> <title>{% block title %}Mon voisin fait du bio{% endblock %}</title>
<!-- TODO --><meta name="google-site-verification" content="" /> <!-- TODO --><meta name="google-site-verification" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--[if IE]> <!--[if IE]>
<link rel="stylesheet" href="http://localhost/PagesVertes/web/assets/css/ie_polyfill.css"> <link rel="stylesheet" href="http://localhost/PagesVertes/web/assets/css/ie_polyfill.css">
<![endif]--> <![endif]-->
{% block stylesheets %} {% block stylesheets %}
{% endblock %} {% endblock %}
<link href="https://fonts.googleapis.com/css?family=Roboto:400,400i,700,700i|Yellowtail" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto:400,400i,700,700i|Yellowtail" rel="stylesheet">
<link rel="icon" type="image/png" href="{{ asset('assets/img/favicon.png') }}"> <link rel="icon" type="image/png" href="{{ asset('assets/img/favicon.png') }}">
<!-- TODO --> <meta name="description" content="" /> <!-- TODO --> <meta name="description" content="" />
<!-- TODO --> <meta name="keywords" content="" /> <!-- TODO --> <meta name="keywords" content="" />
<meta name="robots" content="index, follow, all" /> <meta name="robots" content="index, follow, all" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head> </head>
<body> <body>
{% block body %} {% block body %}
{% endblock %} {% endblock %}
{% block javascripts %} {% block javascripts %}
{% endblock %} {% endblock %}
</body> </body>
</html> </html>
{% block modals %} {% block modals %}
{% endblock %} {% endblock %}
\ No newline at end of file
{% extends "::base-layout.html.twig" %} {% extends "::base-layout.html.twig" %}
{% block body %} {% block body %}
<div id="page-container"> <div id="page-container">
{% include "::header.html.twig" %} {% include "::header.html.twig" %}
<div id="page-content"> <div id="page-content">
{% block body_content %} {% block body_content %}
{% endblock %} {% endblock %}
</div> </div>
</div> </div>
{% endblock %} {% endblock %}
<div class="menu-element"> <div class="menu-element">
<center> <center>
<span class="menu-icon icon-star-empty icon-favorite tooltipped" style="display:none" <span class="menu-icon icon-star-empty icon-favorite tooltipped" style="display:none"
data-position="top" data-delay="0" data-tooltip="Enregistrer comme favoris"></span> data-position="top" data-delay="0" data-tooltip="Enregistrer comme favoris"></span>
<span class="menu-icon icon-star-full icon-favorite tooltipped" style="display:none" <span class="menu-icon icon-star-full icon-favorite tooltipped" style="display:none"
data-position="top" data-delay="0" data-tooltip="Retirer des favoris"></span> data-position="top" data-delay="0" data-tooltip="Retirer des favoris"></span>
<span class="menu-icon icon-directions tooltipped" <span class="menu-icon icon-directions tooltipped"
data-position="top" data-delay="0" data-tooltip="Itinéraire vers ce element"></span> data-position="top" data-delay="0" data-tooltip="Itinéraire vers ce element"></span>
<span class="menu-icon icon-edit tooltipped" <span class="menu-icon icon-edit tooltipped"
data-position="top" data-delay="0" data-tooltip="Modifier ces informations"></span> data-position="top" data-delay="0" data-tooltip="Modifier ces informations"></span>
<span class="menu-icon icon-delete tooltipped" <span class="menu-icon icon-delete tooltipped"
data-position="top" data-delay="0" data-tooltip="Supprimer ce element"></span> data-position="top" data-delay="0" data-tooltip="Supprimer ce element"></span>
</center> </center>
</div> </div>
\ No newline at end of file
<div class="input-field" id="search-bar-container" > <div class="input-field" id="search-bar-container" >
<a class="icon-search" id="search-bar-icon"></a> <a class="icon-search" id="search-bar-icon"></a>
<input class="validate" <input class="validate"
placeholder="Entrez une adresse" placeholder="Entrez une adresse"
type="text" type="text"
id="search-bar" id="search-bar"
name="adresse" name="adresse"
onClick="this.setSelectionRange(0, this.value.length)" onClick="this.setSelectionRange(0, this.value.length)"
{% if slug is defined %} {% if slug is defined %}
value="{{ slug | replace('-', ' ') | capitalize }}" value="{{ slug | replace('-', ' ') | capitalize }}"
{% endif %} {% endif %}
/> />
</div> </div>
\ No newline at end of file
<div id="{{ id }}" class="preloader-wrapper active"> <div id="{{ id }}" class="preloader-wrapper active">
<div class="spinner-layer"> <div class="spinner-layer">
<div class="circle-clipper left"> <div class="circle-clipper left">
<div class="circle"></div> <div class="circle"></div>
</div><div class="gap-patch"> </div><div class="gap-patch">
<div class="circle"></div> <div class="circle"></div>
</div><div class="circle-clipper right"> </div><div class="circle-clipper right">
<div class="circle"></div> <div class="circle"></div>
</div> </div>
</div> </div>
</div> </div>
\ No newline at end of file
{% extends "::bundle-layout.html.twig" %} {% extends "::bundle-layout.html.twig" %}
{% block title %}Navigation Libre{% endblock %} {% block title %}Navigation Libre{% endblock %}
{# Stylessheets #} {# Stylessheets #}
{% block stylesheets %} {% block stylesheets %}
<link href="https://fonts.googleapis.com/css?family=Yellowtail|Average+Sans" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Yellowtail|Average+Sans" rel="stylesheet">
<link rel="stylesheet" href="{{ asset('assets/img/icon/styles.css') }}"> <link rel="stylesheet" href="{{ asset('assets/img/icon/styles.css') }}">
<link rel="stylesheet" href="{{ asset('assets/css/directory.css') }}"> <link rel="stylesheet" href="{{ asset('assets/css/directory.css') }}">
{% endblock %} {% endblock %}
{# BODY CONTENT #} {# BODY CONTENT #}
{% block body_content %} {% block body_content %}
<div id="directory-container"> <div id="directory-container">
{# Menu #} {# Menu #}
<section id="directory-menu" class="custom-scroll-bar"> <section id="directory-menu" class="custom-scroll-bar">
{% include '::directory/twig-js-templates/directory-menu.html.twig' %} {% include '::directory/twig-js-templates/directory-menu.html.twig' %}
</section> </section>
{# The directory, map or list displaying, and element information bar #} {# The directory, map or list displaying, and element information bar #}
<section id="directory-content"> <section id="directory-content">
{% include '::directory/modals/too-many-markers.html.twig' %} {% include '::directory/modals/too-many-markers.html.twig' %}
{% include '::directory/modals/pick-address-for-directions.html.twig' %} {% include '::directory/modals/pick-address-for-directions.html.twig' %}
{% include '::directory/components/spinner-loader.html.twig' {% include '::directory/components/spinner-loader.html.twig'
with {'id': 'directory-spinner-loader' }%} with {'id': 'directory-spinner-loader' }%}
<div id="directory-loading" style="display:none"> <div id="directory-loading" style="display:none">
Chargement... Chargement...
</div> </div>
<div id="directory-content-map"> </div> <div id="directory-content-map"> </div>
{# <div id="directions-result-container"> {# <div id="directions-result-container">
<span id="distance-value">9,6km</span> <span id="distance-value">9,6km</span>
<span id="duration-value">13 minutes</span> <span id="duration-value">13 minutes</span>
</div> #} </div> #}
{# section conntaining information one a specific element #} {# section conntaining information one a specific element #}
<section id="element-info-bar" class="custom-scroll-bar inside-normal-mode" style="display:none"> <section id="element-info-bar" class="custom-scroll-bar inside-normal-mode" style="display:none">
{# container to receive the twig-js-template element-info, dynamically created #} {# container to receive the twig-js-template element-info, dynamically created #}
<div id="element-info"></div> <div id="element-info"></div>
{% include '::directory/components/element-menu.html.twig' %} {% include '::directory/components/element-menu.html.twig' %}
</section> </section>
{# button for openning menu in small screens #} {# button for openning menu in small screens #}
<div id="menu-button"><i class='icon-menu'></i></div> <div id="menu-button"><i class='icon-menu'></i></div>
{# overlay to partially mask the directory-content when openning menu in small screens #} {# overlay to partially mask the directory-content when openning menu in small screens #}
<div id="overlay"></div> <div id="overlay"></div>
</section> </section>
</div> </div>
{% endblock %} {% endblock %}
{% block javascripts %} {% block javascripts %}
<script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script> <script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script>
<script src="{{ path('fos_js_routing_js', {'callback': 'fos.Router.setData'}) }}"></script> <script src="{{ path('fos_js_routing_js', {'callback': 'fos.Router.setData'}) }}"></script>
<script src="{{ asset('js/libs.js') }}"></script> <script src="{{ asset('js/libs.js') }}"></script>
<script src="{{ asset('js/directory.js') }}"></script> <script src="{{ asset('js/directory.js') }}"></script>
<script> <script>
var iconDirectory = "{{ asset('assets/img/icon/') }}"; var iconDirectory = "{{ asset('assets/img/icon/') }}";
var constellationMode = false; var constellationMode = false;
//var onlyInputAdressMode = false; //var onlyInputAdressMode = false;
var originalUrlSlug = "{{ slug }}"; var originalUrlSlug = "{{ slug }}";
// var geocodeResponse = null; // var geocodeResponse = null;
// {% if geocodeResponse is defined %} // {% if geocodeResponse is defined %}
// geocodeResponse = {{ geocodeResponse | serialize("json") | raw }}; // geocodeResponse = {{ geocodeResponse | serialize("json") | raw }};
// {% endif %} // {% endif %}
var App = new AppModule(); var App = new AppModule();
</script> </script>