diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2014-04-04 17:08:31 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-06-10 10:23:21 +0200 |
commit | 6a8eeff22d98c8c32c770869427883198278d077 (patch) | |
tree | a231b73fcde0d2c5c3befc5b11e22cdb4b5e77ac /install/ui/util | |
parent | b577b3d3656f51edf0c33bdb00863c03b11ae512 (diff) | |
download | freeipa-6a8eeff22d98c8c32c770869427883198278d077.tar.gz freeipa-6a8eeff22d98c8c32c770869427883198278d077.tar.xz freeipa-6a8eeff22d98c8c32c770869427883198278d077.zip |
webui: add PaternFly css
To update install/ui/css/patternfly.css you should:
1. clone Bootstrap 3, Font-Awesome, Bootstrap-Select and PatternFly
to the same parent directory as for FreeIPA (or use symlinks)
2. checkout desired versions of each component
3. run install/ui/util/make-patternfly.css
4. when changing component versions, copy xxx/variables.less from each
component to install/ui/less/xxx/ so we can use the variables in our
less files
This commit contain css made from component versions as follows:
- PatternFly: 0.2.5
- Bootstrap: 3.1.1
- Bootstrap-select: 1.4.3
- Font-Awesome: 4.0.3
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'install/ui/util')
-rwxr-xr-x | install/ui/util/make-css.sh | 2 | ||||
-rwxr-xr-x | install/ui/util/make-patternfly.sh | 29 |
2 files changed, 30 insertions, 1 deletions
diff --git a/install/ui/util/make-css.sh b/install/ui/util/make-css.sh index 755856d52..e99e55ffe 100755 --- a/install/ui/util/make-css.sh +++ b/install/ui/util/make-css.sh @@ -21,5 +21,5 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -lesscpy -x $DIR/../less/rcue.less > $DIR/../css/rcue.css +lesscpy -x $DIR/../less/ipa.less > $DIR/../css/ipa.css exit $? diff --git a/install/ui/util/make-patternfly.sh b/install/ui/util/make-patternfly.sh new file mode 100755 index 000000000..f11f6807a --- /dev/null +++ b/install/ui/util/make-patternfly.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +# Authors: +# Petr Vobornik <pvoborni@redhat.com> +# +# Copyright (C) 2014 Red Hat +# see file 'COPYING' for use and warranty information +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + + +# This script is used for custom build of Bootstrap 3, PatternFly and +# Font Awesome. Inspect ../less/patternfly.less for more information + +lessc --clean-css $DIR/../less/patternfly.less > $DIR/../css/patternfly.css +exit $? |