Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sherlockode/sonata-gentelella-bundle
Integration of Gentelella theme for Symfony SonataAdminBundle
https://github.com/sherlockode/sonata-gentelella-bundle
Last synced: about 5 hours ago
JSON representation
Integration of Gentelella theme for Symfony SonataAdminBundle
- Host: GitHub
- URL: https://github.com/sherlockode/sonata-gentelella-bundle
- Owner: sherlockode
- License: mit
- Created: 2017-05-12T15:01:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-02T08:52:32.000Z (over 5 years ago)
- Last Synced: 2024-10-30T13:23:37.406Z (16 days ago)
- Language: JavaScript
- Homepage: http://www.sherlockode.fr
- Size: 2.01 MB
- Stars: 5
- Watchers: 6
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sonata Gentelella Theme
A simple integration of [Gentelella Alela!](https://colorlib.com/polygon/gentelella/index.html) theme for [SonataAdminBundle](https://github.com/sonata-project/SonataAdminBundle).
This bundle automatically defines a default configuration for sonata admin, so the installation is as simple as :
```
composer require sherlockode/sonata-gentelella-bundle
```and in the `app/AppKernel.php` :
```php
public function registerBundles()
{
$bundles = [
...
new Sherlockode\SonataGentelellaBundle\SherlockodeSonataGentelellaBundle(),
];
}```
into `app/config.yml`
```
sonata_admin:
templates:
layout: '@App/standard_layout.html.twig'
```
You need to extend the standard_layout.html.twig. If you do not have it, create one and edit it like this :
```
{% extends '@SherlockodeSonataGentelella/standard_layout.html.twig' %}
```**Most of the templates blocks are unchanged, but for the theme, we have been forced to move somes of them. So if you've overridden the sonata templates, there could be some glitches**
All plugins are disable by default, to enable plugins, in the config.yml :
```
sherlockode_sonata_gentelella:
fast_click: true
nprogress: true
chart: true
echarts: true
gauge: true
bootstrap_progressbar: true
skycons: true
flot: true
datejs: true
jqvmap: true
bootstrap_daterangerpicker: true
calendar: true
switchery: true
starrr: true
jquery_tag_input: true
bootstrap_wysiwyg: true
parsley: true
cropper: true
autosize: true
jquery_autocomplete: true
ion_rangeslider: true
bootstrap_colorpicker: true
jquery_inputmask: true
jquery_knob: true
dropzone: true
validator: true
jquery_smart_wizard: true
pnotify: true
jquery_sparklines: true
morris: true
animate: true
easy_pie_chart: true
echarts: true
datatables: true
```
To see the demo (need all plugins)
```
sherlockode_sonata_gentelella:
demo: true
```