update avanzu admin bundle to newest version #55 (#63)

This commit is contained in:
Kevin Papst
2018-01-09 12:42:11 +01:00
committed by GitHub
parent f651df2d4b
commit ae8df0966c
7 changed files with 46 additions and 54 deletions

View File

@@ -37,7 +37,7 @@ class AppKernel extends Kernel
// Bundles only used for development or unit and functional tests
if (in_array($this->getEnvironment(), ['dev', 'test'])) {
//$bundles[] = new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle();
//$bundles[] = new Symfony\Bundle\AsseticBundle\AsseticBundle();
$bundles[] = new Symfony\Bundle\AsseticBundle\AsseticBundle();
$bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle();
$bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();

View File

@@ -1,20 +1,12 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{# Tell the browser to be responsive to screen width #}
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
{# Bootstrap 3.3.6 #}
<link rel="stylesheet" href="{{ asset('theme/bootstrap/css/bootstrap.min.css') }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
{# Ionicons #}
{#<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">#}
<!-- Theme style -->
<link rel="stylesheet" href="{{ asset('theme/dist/css/AdminLTE.min.css') }}">
{# AdminLTE Skins. We have chosen the skin-blue for this starter page. However, you can choose
any other skin. Make sure you apply the skin class to the body tag so the changes take effect. #}
<link rel="stylesheet" href="{{ asset("theme/dist/css/skins/"~avanzu_admin_context.options.skin~".min.css") }}">
{# HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries.
WARNING: Respond.js doesn't work if you view the page via file:// #}
<link rel="stylesheet" href="{{ asset("theme/dist/css/skins/" ~ avanzu_admin_context.skin|default('skin-blue-light') ~ ".min.css") }}">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<![endif]-->

View File

@@ -24,7 +24,7 @@ framework:
# Supported values are 'textmate', 'macvim', 'emacs' and 'sublime' shortcuts
# and any custom configuration string, such as: "phpstorm://open?file=%%f&line=%%l"
# See http://symfony.com/doc/current/reference/configuration/framework.html#ide
ide: sublime
#ide: sublime
# When using the HTTP Cache, ESI allows to render page fragments separately
# and with different cache configurations for each fragment
@@ -92,13 +92,14 @@ doctrine:
# spool: { type: memory }
avanzu_admin_theme:
use_twig : true
theme:
default_avatar : avatars/default.png
skin : skin-blue
fixed_layout : false
boxed_layout : false
use_twig: true
use_assetic: true
bower_bin: "/usr/local/bin/bower"
options:
default_avatar: avatars/default.png
skin: skin-green-light
fixed_layout: false
boxed_layout: false
collapsed_sidebar: true
mini_sidebar : true
# TODO support options like: language and skin via sidebar menu
control_sidebar : false
mini_sidebar: true
control_sidebar: false

View File

@@ -8,10 +8,6 @@ framework:
strict_requirements: true
profiler: { only_exceptions: false }
#web_profiler:
# toolbar: '%kernel.debug%'
# intercept_redirects: false
monolog:
handlers:
main:
@@ -42,9 +38,10 @@ services:
tags:
- name: twig.extension
avanzu_admin_theme:
enable_demo: false
web_profiler:
toolbar: true
toolbar: '%kernel.debug%'
intercept_redirects: false
# See routing_dev.yml
#avanzu_admin_theme:
# enable_demo: false