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

fixed untracked files

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