Template > file

Prevent misunderstandings that we refer to existing files
This commit is contained in:
SjonHortensius 2015-03-25 15:07:33 +01:00
parent e6acc2eee4
commit 511b099db9

View File

@ -46,9 +46,9 @@ rsync -xav --delete `dirname $0`/etc/inc/ root@$HOST:/etc/inc/
Before diving into a template, clean it with the supplied cleaner (`clean.sh`). This script tries to remove most of the unnecessary element attributes and does a bunch of other replaces which have to be done in every template.
# Template migration conventions
# Migration conventions
All migrated templates are formatted with default [Bootstrap](http://getbootstrap.com/) components. Custom CSS goes into `usr/www/bootstrap/css/pfSense.css`, but try to keep this to a minimum.
All migrated files (in usr/local/www) are formatted with default [Bootstrap](http://getbootstrap.com/) components. Custom CSS goes into `usr/www/bootstrap/css/pfSense.css`, but try to keep this to a minimum.
The Bootstrap grid system is used for defining columns. We've chosen the 'small' breakpoint as the default breakpoint to collapse from a horizontal to vertical layout. You should define your column widths with `.col-sm-*`, unless there's a good (and documented ;) ) reason to deviate from this default.