Bootstrap Material Admin Theme

Accounting manager screen with Bootstrap Material Admin theme
Accounting manager screen with Bootstrap Material Admin theme

Bootstrap Material Theme (Bootstrap v3)#

General#

Based on the popular Bootstrap v3 html framework, this fully tested theme will add a stylish Backoffice design to your system.

The Bootstrap theme implements Googles Material Design guidelines for an overall modern approach to user interface design. As always, the theme is meant to be customized and comes as a simple plug-in component. It includes all the sources, templating toolkit overrides & class mappings to get you started. Frontend-development is done using LESS, Bower and Grunt. Additional frontend libraries, such as Chart.js, datatables JS, jquery and momentjs are included in this package.

Please be aware that the theme may receive frequent updates. To get started, the following information may be of interest to you:

Directory structure#

  • Default load style sheets directory: webapp/ignite/css/
  • Scipio ERP will load a base set of class & html definitions located here: htmlVariables.groovy – ofbiz_foundation/framework/common/webcommon/includes/scipio/lib/standardThese can be (and for the purpose of this theme will be) overriden in the following file: themeStyles.groovy – ofbiz_foundation/themes/bootstrap/includes

What’s included#

  • Bootstrap theme plug-in component
  • Clean Bootstrap CSS (LESS) and Javascript sources
  • Additional Scipio ERP customizations (all factored out for convenience)
  • Scipio ERP templating toolkit overrides
  • Scipio ERP class mappings

Installation#

Theme installation#

Scipio ERP provides a simple bash script to manage all addons. Detailed installation instructions are available on the Scipio ERP website . For help, simply type on the console:

text
./git-addons help

Frontend Development#

Prerequisits#

To setup system to compile sass files, the following packages/commands are needed (ubuntu/debian/mint):

text
sudo apt-get install ruby ruby-dev ruby-full nodejs nodejs-dev npm

On windows download and use the ruby installer and nodejs installers.

Installation#

Go to @component-name/webapp/@component-name/ and run

text
npm install
npm install -g grunt-cli

Less (CSS) Compilation#

To start watching for less changes to auto compile to css, go to:

@component-name/webapp/@component-name/bower-components/bootstrap-material-design

and run:

text
grunt watch

If you run into the error ‘Error: Invalid CSS after ” })”: expected “{“, was “;”‘, run

text
grunt dist-less && grunt dist-js to bypass the sass-compilation process.

Bower Update#

To update the dependencies, run the bower update command from @component-name/webapp/@component-name/:

text
bower update

Ask the people who wrote it.

Support, development and training from the team that builds Scipio ERP.