2017 © Pedro Peláez
 

symfony1-plugin sf-bootstrap-propel-admin-theme-plugin

A bootstrap based admin generator theme for symfony 1 with propel 1.6+

image

bgcc/sf-bootstrap-propel-admin-theme-plugin

A bootstrap based admin generator theme for symfony 1 with propel 1.6+

  • Thursday, March 24, 2016
  • by 19Gerhard85
  • Repository
  • 15 Watchers
  • 7 Stars
  • 261 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

sfBootstrapPropelAdminThemePlugin

License Total Downloads Monthly Downloads Daily Downloads, (*1)

Description

The sfBootstrapPropelAdminThemePlugin is a symfony 1.4 plugin that provides a Bootstrap 3 based admin theme for Propel 1.5+. All icons are replaced with Font Awesome., (*2)

Screenshots

Available Screenshots: * Login * Navigation * List * Responsive List * Form with tabs (first tab selected) * Form with tabs (second tab selected) * Form with tabs and error (second tab selected) * Responsive Form, (*3)

View the gallery under http://imgur.com/a/Smu3G., (*4)

Features

  • Full features from admin15 theme of sfPropelORMPlugin
  • Additional features
    • Session based batch selection of list items (keeps the selection upon navigation)
    • Override default settings via settings.yml
    • Changing the page title depending on module and action
    • Pagination inside the form
    • Enhanced generator.yml with tabs and panels
  • Responsive layout
  • Bootstrap 3
  • Font Awesome
  • Bootstrap 3 optimized widgets
  • Auto-adding of necessary CSS classes to filter and form widgets

Requirements

Installation via Composer

{
    "require": {
        "bgcc/sf-bootstrap-propel-admin-theme-plugin": "dev-master"
    }
}

Installation via Git

  • Install the plugin and init submodule, (*5)

    $ git submodule add git://github.com/bgcc/sfBootstrapPropelAdminThemePlugin.git plugins/sfBootstrapPropelAdminThemePlugin
    $ git submodule update --init --recursive

Setup

  • Enable the plugin in your /config/ProjectConfiguration.class.php php $this->enablePlugins('sfBootstrapPropelAdminThemePlugin');, (*6)

  • Publish assets, (*7)

    $ ./symfony plugin:publish-assets
  • Clear you cache, (*8)

    $ ./symfony cc
  • See the config folder of the plugin for examples of view.yml (for the application) and generator.yml., (*9)

  • Enable the module in your application_name/config/settings.yml yaml all: .settings: enabled_modules: [ theme ], (*10)

  • Generate a propel admin module with the bootstrap theme, (*11)

    $ ./symfony propel:generate-admin --theme="bootstrap" application_name ModelName

Included Widgets

  • sfWidgetFormBootstrap3I18nNumber: Input widget with an optional input-group that formats the number based on a given culture. php $this->setWidget('widget_name', new sfWidgetFormBootstrap3I18nNumber(array('culture' => 'de', 'prepend' => '€')));, (*12)

  • sfWidgetFormBootstrap3Input: Input widget with an optional input-group that formats the number based on a given culture. php $this->setWidget('widget_name', new sfWidgetFormBootstrap3Input(array('append' => '€')));, (*13)

  • sfWidgetFormBootstrap3SelectCheckbox: Renderer class for expandend multiple choice widgets. php $this->setWidget('widget_name', new sfWidgetFormChoice(array( 'choices' => $choices, 'expanded' => true, 'multiple' => true, 'renderer_class' => 'sfWidgetFormBootstrap3SelectCheckbox' )));, (*14)

  • sfWidgetFormBootstrap3SelectRadio: Renderer class for expandend choice widgets. php $this->setWidget('widget_name', new sfWidgetFormChoice(array( 'choices' => $choices, 'expanded' => true, 'renderer_class' => 'sfWidgetFormBootstrap3SelectRadio' )));, (*15)

Bonus

  • Check the signinSuccess.php in plugins/sfBootstrapPropelAdminThemePlugin/modules/theme/templates for a nice login page. Copy the content to the template of your signin action and modify it if it's necessary., (*16)

  • Modify the view.yml of the module where you sigin action is placed and add yaml signinSuccess: layout: %sf_plugins_dir%/sfBootstrapPropelAdminThemePlugin/templates/login, (*17)

Contribution

  • Issues and pull requests are welcome.
  • If you have a feature request or question feel free to open an issue.

The Versions

24/03 2016

dev-master

9999999-dev

A bootstrap based admin generator theme for symfony 1 with propel 1.6+

  Sources   Download

MIT

The Requires

 

bootstrap generator symfony admin

30/04 2015

1.0.5

1.0.5.0

A bootstrap based admin generator theme for symfony 1 with propel 1.6+

  Sources   Download

MIT

The Requires

 

bootstrap generator symfony admin

27/03 2015

1.0.4

1.0.4.0

A bootstrap based admin generator theme for symfony 1 with propel 1.6+

  Sources   Download

MIT

The Requires

 

bootstrap generator symfony admin

27/02 2015

1.0.3

1.0.3.0

A bootstrap based admin generator theme for symfony 1 with propel 1.6+

  Sources   Download

MIT

The Requires

 

bootstrap generator symfony admin

01/08 2014

1.0.2

1.0.2.0

A bootstrap based admin generator theme for symfony 1 with propel 1.6+

  Sources   Download

MIT

The Requires

 

bootstrap generator symfony admin

30/07 2014

1.0.1

1.0.1.0

A bootstrap based admin generator theme for symfony 1 with propel 1.6+

  Sources   Download

MIT

The Requires

 

bootstrap generator symfony admin

08/05 2014

1.0.0

1.0.0.0

A bootstrap based admin generator theme for symfony 1 with propel 1.6+

  Sources   Download

MIT

The Requires

 

bootstrap generator symfony admin