Commit 9b5e7055 authored by KarlPineau's avatar KarlPineau

update JS management

parent 8fa54c31
......@@ -2,3 +2,7 @@ histoiredelart.fr
==============
A Symfony project created on January 21, 2019, 9:07 am.
> Pour la gestion de Webpack Encore https://stackoverflow.com/questions/53230674/unknown-encore-entry-link-tags-function-when-using-webpack-encore-0-21-0
> Pour Composer : -d memory_limit=-1
\ No newline at end of file
......@@ -15,6 +15,7 @@ class AppKernel extends Kernel
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
new Symfony\WebpackEncoreBundle\WebpackEncoreBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
......
......@@ -224,4 +224,7 @@ knp_paginator:
template:
pagination: '@KnpPaginator/Pagination/twitter_bootstrap_v4_pagination.html.twig' # sliding pagination controls template
sortable: '@KnpPaginator/Pagination/sortable_link.html.twig' # sort link template
filtration: '@KnpPaginator/Pagination/filtration.html.twig' # filters template
\ No newline at end of file
filtration: '@KnpPaginator/Pagination/filtration.html.twig' # filters template
webpack_encore:
output_path: "%kernel.root_dir%/../public/build"
\ No newline at end of file
......@@ -14,7 +14,7 @@ html {
body {
width: 100%;
background-image: url("../images/background-kp.jpg");
background-image: url("../../web/images/background-kp.jpg");
background-attachment: fixed;
background-repeat: no-repeat;
background-position: center;
......
......@@ -6,7 +6,16 @@
*/
// any CSS you require will output into a single css file (app.css in this case)
require('../css/app.css');
require('../css/main.css');
require('../css/mainKP.css');
require('../css/style.css');
require('../css/signin.css');
require('../css/autocomplete.css');
require('../css/fullHeightBlock.css');
require('../css/stickyFooter.css');
require('../css/TB/layout.css');
require('../css/TB/player.css');
require('../css/TB/stickyFooterPlayer.css');
// Need jQuery? Install it with "yarn add jquery", then uncomment to require it.
// const $ = require('jquery');
......
This diff is collapsed.
......@@ -34,28 +34,17 @@ Encore
.addEntry('js_data_data_view', './assets/js/DATADataBundle/view.js')
.addEntry('js_data_import_import', './assets/js/DATAImportBundle/import.js')
.addEntry('js_data_public_public', './assets/js/DATAPublicBundle/public.js')
.addEntry('js_tb_personalPlace_addItems', './assets/js/TBAPersonalPlaceBundle/addItems.js')
.addEntry('js_tb_personalPlace_addItems', './assets/js/TBPersonalPlaceBundle/addItems.js')
.addEntry('js_tb_personalPlace_create', './assets/js/TBPersonalPlaceBundle/create.js')
.addEntry('js_tb_personalPlace_editIcon', './assets/js/TBPersonalPlaceBundle/addIcon.js')
.addEntry('js_tb_personalPlace_editIcon', './assets/js/TBPersonalPlaceBundle/editIcon.js')
.addEntry('js_tb_administration_addItems', './assets/js/TBAdministrationBundle/addItems.js')
.addEntry('js_tb_administration_create', './assets/js/TBAdministrationBundle/create.js')
.addEntry('js_tb_administration_editIcon', './assets/js/TBAdministrationBundle/addIcon.js')
.addEntry('js_tb_administration_editIcon', './assets/js/TBAdministrationBundle/editIcon.js')
.addEntry('js_tb_player_index', './assets/js/TBPlayerBundle/index.js')
.addEntry('js_tb_testedGame_addItems', './assets/js/TBTestedGameBundle/addItems.js')
.addEntry('js_tb_testedGame_create', './assets/js/TBTestedGameBundle/create.js')
.addEntry('js_tb_testedGame_editIcon', './assets/js/TBTestedGameBundle/editIcon.js')
.addEntry('css_main', './assets/css/main.css')
.addEntry('css_mainKP', './assets/css/mainKP.css')
.addEntry('css_style', './assets/css/style.css')
.addEntry('css_signin', './assets/css/signin.css')
.addEntry('css_autocomplete', './assets/css/autocomplete.css')
.addEntry('css_fullHeightBlock', './assets/css/fullHeightBlock.css')
.addEntry('css_stickyFooter', './assets/css/stickyFooter.css')
.addEntry('css_tb_layout', './assets/css/TB/layout.css')
.addEntry('css_tb_player', './assets/css/TB/player.css')
.addEntry('css_tb_stickyFooterPlayer', './assets/css/TB/stickyFooterPlayer.css')
// When enabled, Webpack "splits" your files into smaller pieces for greater optimization.
.splitEntryChunks()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment