phifty/adminui

admin ui bundle for phifty framework application

Installs: 794

Dependents: 7

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:phifty-bundle

3.1.0 2016-03-30 09:47 UTC

This package is not auto-updated.

Last update: 2024-04-13 16:40:20 UTC


README

Setup for Quickbox

  AdminUI:
    MenuStyle: quickbox
    MenuTemplate: '@AdminUI/quickbox.html'

Setup for Customization

  AdminUI:
    # MenuTemplate: '@App/menu.html'
    BasePageTemplate: '@App/page.html'
    LoginPageTemplate: '@App/login.html'
    LoginModalTemplate: '@App/login_modal.html'
    LoginController: 'UserBundle\Controller\LoginController'
    DashboardController: 'AdminUI\Controller\BaseController'
    WebFonts: false
    Assets:
    - underscore-js
    - reactjs15
    - moment
    - jquery-cookie
    - bootstrap
    - bootstrap-material-design
    - bootstrap-daterangepicker
    - colorbox
    - font-awesome-4.3
    - highcharts-4.1
    - modal-manager
    - chosen
    - holder
    - phifty-sortable-bundle
    - backstage
    - applib
    - app
  CRUD:
    TemplateNamespace: "AppCRUD"

BasePageTemplate can be used to configure base page template:

BasePageTemplate: "@App/page.html.twig"

To include the assets from different bundles in the templates:

{% if Kernel.bundle('I18N') %}
    {% assets Kernel.bundle('I18N').getAssets() %}
{% endif %}