2014-08-06 11:43:40 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
wget http://dygraphs.com/dygraph-combined.js -O ./static/js/dygraph-combined.js
|
|
|
|
|
|
|
|
SBADMIN_VERSION=2
|
|
|
|
filename="sb-admin-${SBADMIN_VERSION}"
|
|
|
|
|
|
|
|
rm -rf temp
|
|
|
|
mkdir temp
|
|
|
|
|
2014-12-22 16:15:56 +01:00
|
|
|
wget https://github.com/IronSummitMedia/startbootstrap-sb-admin-2/archive/v1.0.2.zip -O temp/${filename}".zip"
|
2014-08-06 11:43:40 +02:00
|
|
|
unzip temp/${filename}".zip" -d temp/
|
2014-12-22 16:15:56 +01:00
|
|
|
mv temp/startbootstrap-sb-admin-2-1.0.2 temp/sb-admin-2
|
2014-08-06 11:43:40 +02:00
|
|
|
|
|
|
|
JQVERSION="1.11.1"
|
|
|
|
wget http://code.jquery.com/jquery-${JQVERSION}.js -O ./static/js/jquery.js
|
|
|
|
|
2016-06-30 14:36:47 +02:00
|
|
|
#wget https://collabdev.googlecode.com/svn-history/r5/trunk/static/js/jquery.timers-1.0.0.js -O ./static/js/jquery.timers-1.0.0.js
|
2014-08-06 11:43:40 +02:00
|
|
|
|
|
|
|
#Here to fix an error about an hard dependency in a obscur script of bootstrap..
|
|
|
|
wget http://code.jquery.com/jquery-1.4.2.js -O ./static/js/jquery-1.4.2.js
|
|
|
|
|
2014-08-14 10:04:39 +02:00
|
|
|
wget http://www.goat1000.com/jquery.tagcanvas.js?2.5 -O ./static/js/jquery.tagcanvas.js
|
|
|
|
|
2016-07-08 09:04:19 +02:00
|
|
|
#Ressources for dataTable
|
|
|
|
wget https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js -O ./static/js/jquery.dataTables.min.js
|
|
|
|
wget https://cdn.datatables.net/plug-ins/1.10.7/integration/bootstrap/3/dataTables.bootstrap.css -O ./static/css/dataTables.bootstrap.css
|
|
|
|
wget https://cdn.datatables.net/plug-ins/1.10.7/integration/bootstrap/3/dataTables.bootstrap.js -O ./static/js/dataTables.bootstrap.js
|
|
|
|
|
2014-08-06 11:43:40 +02:00
|
|
|
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/
|
2014-12-22 16:15:56 +01:00
|
|
|
mv temp/${filename}/font-awesome/ ./static/
|
2014-08-06 11:43:40 +02:00
|
|
|
|
|
|
|
rm -rf ./static/css/plugins/
|
|
|
|
mv temp/${filename}/css/* ./static/css/
|
|
|
|
|
|
|
|
rm -rf temp/
|
2014-12-22 18:08:02 +01:00
|
|
|
mkdir -p ./static/image
|
|
|
|
cd static/image
|
|
|
|
wget https://www.circl.lu/assets/images/logos/AIL.png -O AIL.png
|
|
|
|
|
|
|
|
cd ../..
|
|
|
|
|