Skip to content

phpList/phplist-ui-bootlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trevelin theme (formerly 'Bootlist')

A bootstrap-based theme for phpList 3

Build Status

Bootstrap class names and extra html needed, inserted by jQuery with the script: js/phpList3ToBootstrap.js

Issues

Getting started

If you are not going to develop, you don't need the /less and the /bootstrap directories:

If you are going to develop you need to follow this instructions:

Building the project

Requires nodejs & npm. See https://nodejs.org for setup.

Install Grunt globally

sudo npm install -g grunt-cli

Grunt plugins

To minify js we use this grunt plugins:

https://github.com/gruntjs/grunt-contrib-concat

https://github.com/gruntjs/grunt-contrib-uglify

Install project dependencies

cd THEME_DIR # Replace THEME_DIR by theme path.
sudo npm install

Watch the project

grunt watch

Minify CSS

grunt less

Each time a less file is changed, style.css will be generated automatically.

Minify the javascript

grunt concat

To unify all .js in one file: phplist_ui_bootlist.js

And then, to minify that file, you have to run:

grunt uglify