mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-30 01:37:17 +00:00
Update web thirdparty modules
This commit is contained in:
parent
ef08f29ed6
commit
d2557aae9a
1 changed files with 18 additions and 21 deletions
|
@ -4,15 +4,26 @@ set -e
|
||||||
|
|
||||||
wget http://dygraphs.com/dygraph-combined.js -O ./static/js/dygraph-combined.js
|
wget http://dygraphs.com/dygraph-combined.js -O ./static/js/dygraph-combined.js
|
||||||
|
|
||||||
SBADMIN_VERSION=2
|
SBADMIN_VERSION='1.0.4'
|
||||||
filename="sb-admin-${SBADMIN_VERSION}"
|
|
||||||
|
|
||||||
rm -rf temp
|
rm -rf temp
|
||||||
mkdir temp
|
mkdir temp
|
||||||
|
|
||||||
wget https://github.com/IronSummitMedia/startbootstrap-sb-admin-2/archive/v1.0.2.zip -O temp/${filename}".zip"
|
wget https://github.com/BlackrockDigital/startbootstrap-sb-admin/archive/v${SBADMIN_VERSION}.zip -O temp/${SBADMIN_VERSION}.zip
|
||||||
unzip temp/${filename}".zip" -d temp/
|
unzip temp/${SBADMIN_VERSION}.zip -d temp/
|
||||||
mv temp/startbootstrap-sb-admin-2-1.0.2 temp/sb-admin-2
|
mv temp/startbootstrap-sb-admin-${SBADMIN_VERSION} temp/sb-admin-2
|
||||||
|
|
||||||
|
rm -rf ./static/js/plugins
|
||||||
|
mv temp/sb-admin-2/js/* ./static/js/
|
||||||
|
|
||||||
|
rm -rf ./static/fonts/ ./static/font-awesome/
|
||||||
|
mv temp/sb-admin-2/fonts/ ./static/
|
||||||
|
mv temp/sb-admin-2/font-awesome/ ./static/
|
||||||
|
|
||||||
|
rm -rf ./static/css/plugins/
|
||||||
|
mv temp/sb-admin-2/css/* ./static/css/
|
||||||
|
|
||||||
|
rm -rf temp
|
||||||
|
|
||||||
JQVERSION="1.12.4"
|
JQVERSION="1.12.4"
|
||||||
wget http://code.jquery.com/jquery-${JQVERSION}.js -O ./static/js/jquery.js
|
wget http://code.jquery.com/jquery-${JQVERSION}.js -O ./static/js/jquery.js
|
||||||
|
@ -26,21 +37,7 @@ wget https://cdn.datatables.net/plug-ins/1.10.7/integration/bootstrap/3/dataTabl
|
||||||
wget https://raw.githubusercontent.com/flot/flot/master/jquery.flot.js -O ./static/js/jquery.flot.js
|
wget https://raw.githubusercontent.com/flot/flot/master/jquery.flot.js -O ./static/js/jquery.flot.js
|
||||||
wget https://raw.githubusercontent.com/flot/flot/master/jquery.flot.pie.js -O ./static/js/jquery.flot.pie.js
|
wget https://raw.githubusercontent.com/flot/flot/master/jquery.flot.pie.js -O ./static/js/jquery.flot.pie.js
|
||||||
|
|
||||||
rm -rf ./static/js/plugins
|
|
||||||
mv temp/${filename}/js/* ./static/js/
|
|
||||||
|
|
||||||
rm -rf ./static/fonts/ ./static/font-awesome-4.1.0/
|
|
||||||
|
|
||||||
mv temp/${filename}/fonts/ ./static/
|
|
||||||
mv temp/${filename}/font-awesome/ ./static/
|
|
||||||
|
|
||||||
rm -rf ./static/css/plugins/
|
|
||||||
mv temp/${filename}/css/* ./static/css/
|
|
||||||
|
|
||||||
rm -rf temp/
|
|
||||||
mkdir -p ./static/image
|
mkdir -p ./static/image
|
||||||
cd static/image
|
pushd static/image
|
||||||
wget https://www.circl.lu/assets/images/logos/AIL.png -O AIL.png
|
wget https://www.circl.lu/assets/images/logos/AIL.png -O AIL.png
|
||||||
|
popd
|
||||||
cd ../..
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue