From dbcb89f4853be74c69348e2e30a54496ba459f27 Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Sun, 8 Jul 2018 23:01:47 +0200 Subject: [PATCH 1/3] Add AdminLTE bundle 0.3 --- .../0.3/config/packages/admin_lte.yaml | 45 +++++++++++++++++++ kevinpapst/adminlte-bundle/0.3/manifest.json | 8 ++++ .../adminlte-bundle/0.3/post-install.txt | 11 +++++ 3 files changed, 64 insertions(+) create mode 100644 kevinpapst/adminlte-bundle/0.3/config/packages/admin_lte.yaml create mode 100644 kevinpapst/adminlte-bundle/0.3/manifest.json create mode 100644 kevinpapst/adminlte-bundle/0.3/post-install.txt diff --git a/kevinpapst/adminlte-bundle/0.3/config/packages/admin_lte.yaml b/kevinpapst/adminlte-bundle/0.3/config/packages/admin_lte.yaml new file mode 100644 index 00000000..1910805f --- /dev/null +++ b/kevinpapst/adminlte-bundle/0.3/config/packages/admin_lte.yaml @@ -0,0 +1,45 @@ +# +# Configuration file for the AdminLTE bundle +# +# For more information about the bundle settings visit: +# https://github.com/kevinpapst/AdminLTEBundle/blob/master/Resources/docs/configurations.md +# +admin_lte: + options: + # default image for missing user avatar images + default_avatar: bundles/adminlte/images/default_avatar.png + # the color skin + skin: skin-blue + # if activated, the boxed_layout will be deactivated + fixed_layout: false + # boxed layout (true) or full-screen (false) + boxed_layout: false + # initial collapsed state of the sidebar + collapsed_sidebar: false + # whether the logo collapses or not + mini_sidebar: false + # configurable tabs in the control_sidebar (right screen), see: + # https://github.com/kevinpapst/AdminLTEBundle/blob/master/Resources/docs/control_sidebar.md + #control_sidebar: + # home: + # icon: fas fa-home + # template: control-sidebar/home.html.twig + # settings: + # icon: fas fa-cogs + # controller: 'App\Controller\DefaultController::controlSidebarSettings' + + knp_menu: + enable: false + main_menu: adminlte_main + breadcrumb_menu: false + + routes: + adminlte_welcome: home + adminlte_login: login + adminlte_message: message + adminlte_messages: messages + adminlte_notification: notification + adminlte_notifications: notifications + adminlte_task: task + adminlte_tasks: tasks + adminlte_profile: profile diff --git a/kevinpapst/adminlte-bundle/0.3/manifest.json b/kevinpapst/adminlte-bundle/0.3/manifest.json new file mode 100644 index 00000000..b3edce36 --- /dev/null +++ b/kevinpapst/adminlte-bundle/0.3/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "KevinPapst\\AdminLTEBundle\\AdminLTEBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kevinpapst/adminlte-bundle/0.3/post-install.txt b/kevinpapst/adminlte-bundle/0.3/post-install.txt new file mode 100644 index 00000000..b7c076f5 --- /dev/null +++ b/kevinpapst/adminlte-bundle/0.3/post-install.txt @@ -0,0 +1,11 @@ + + Next: AdminLTE Configuration + + + * Finish bundle configuration: + 1. Open config/packages/admin_lte.yaml and adjust to your needs + 2. Create a layout file that uses: + + {% extends '@AdminLTE/layout/default-layout.html.twig' %} + +Documentation: https://github.com/kevinpapst/AdminLTEBundle/blob/master/Resources/docs/ From 77dfbfee1005410c56e5d1cb4df50142a300d835 Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Mon, 9 Jul 2018 00:13:25 +0200 Subject: [PATCH 2/3] Add AdminLTE bundle 0.9 --- .../adminlte-bundle/{0.3 => 0.9}/config/packages/admin_lte.yaml | 0 kevinpapst/adminlte-bundle/{0.3 => 0.9}/manifest.json | 0 kevinpapst/adminlte-bundle/{0.3 => 0.9}/post-install.txt | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename kevinpapst/adminlte-bundle/{0.3 => 0.9}/config/packages/admin_lte.yaml (100%) rename kevinpapst/adminlte-bundle/{0.3 => 0.9}/manifest.json (100%) rename kevinpapst/adminlte-bundle/{0.3 => 0.9}/post-install.txt (100%) diff --git a/kevinpapst/adminlte-bundle/0.3/config/packages/admin_lte.yaml b/kevinpapst/adminlte-bundle/0.9/config/packages/admin_lte.yaml similarity index 100% rename from kevinpapst/adminlte-bundle/0.3/config/packages/admin_lte.yaml rename to kevinpapst/adminlte-bundle/0.9/config/packages/admin_lte.yaml diff --git a/kevinpapst/adminlte-bundle/0.3/manifest.json b/kevinpapst/adminlte-bundle/0.9/manifest.json similarity index 100% rename from kevinpapst/adminlte-bundle/0.3/manifest.json rename to kevinpapst/adminlte-bundle/0.9/manifest.json diff --git a/kevinpapst/adminlte-bundle/0.3/post-install.txt b/kevinpapst/adminlte-bundle/0.9/post-install.txt similarity index 100% rename from kevinpapst/adminlte-bundle/0.3/post-install.txt rename to kevinpapst/adminlte-bundle/0.9/post-install.txt From 42bdac159954d91a32642c8fff5a76506faa4821 Mon Sep 17 00:00:00 2001 From: kevinpapst Date: Mon, 9 Jul 2018 13:25:38 +0200 Subject: [PATCH 3/3] code review: removed default config keys, removed commented code, adjusted docu --- .../0.9/config/packages/admin_lte.yaml | 28 ++----------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/kevinpapst/adminlte-bundle/0.9/config/packages/admin_lte.yaml b/kevinpapst/adminlte-bundle/0.9/config/packages/admin_lte.yaml index 1910805f..7d05580b 100644 --- a/kevinpapst/adminlte-bundle/0.9/config/packages/admin_lte.yaml +++ b/kevinpapst/adminlte-bundle/0.9/config/packages/admin_lte.yaml @@ -1,45 +1,23 @@ -# # Configuration file for the AdminLTE bundle # # For more information about the bundle settings visit: # https://github.com/kevinpapst/AdminLTEBundle/blob/master/Resources/docs/configurations.md # +# For tabs in the control_sidebar (right screen) add the 'control_sidebar' config key: +# https://github.com/kevinpapst/AdminLTEBundle/blob/master/Resources/docs/control_sidebar.md + admin_lte: options: - # default image for missing user avatar images - default_avatar: bundles/adminlte/images/default_avatar.png - # the color skin skin: skin-blue - # if activated, the boxed_layout will be deactivated fixed_layout: false - # boxed layout (true) or full-screen (false) boxed_layout: false - # initial collapsed state of the sidebar collapsed_sidebar: false - # whether the logo collapses or not mini_sidebar: false - # configurable tabs in the control_sidebar (right screen), see: - # https://github.com/kevinpapst/AdminLTEBundle/blob/master/Resources/docs/control_sidebar.md - #control_sidebar: - # home: - # icon: fas fa-home - # template: control-sidebar/home.html.twig - # settings: - # icon: fas fa-cogs - # controller: 'App\Controller\DefaultController::controlSidebarSettings' knp_menu: enable: false - main_menu: adminlte_main - breadcrumb_menu: false routes: adminlte_welcome: home adminlte_login: login - adminlte_message: message - adminlte_messages: messages - adminlte_notification: notification - adminlte_notifications: notifications - adminlte_task: task - adminlte_tasks: tasks adminlte_profile: profile