Skip to content

Latest commit

 

History

History

resources

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Resources files are collected from their respective download places as follow:

jqPlot:
-------

mkdir jqPlot-1.0.8/ && cd jqPlot-1.0.8/
wget http://www.jqplot.com/download/jquery.jqplot.1.0.8r1250.tar.gz
tar xzf jquery.jqplot.1.0.8r1250.tar.gz
cp dist/jquery.jqplot.js /home/git/pgcluu/resources/
cp dist/jquery.jqplot.css /home/git/pgcluu/resources/
cp dist/jquery.js /home/git/pgcluu/resources/
cp dist/plugins/jqplot.pieRenderer.js /home/git/pgcluu/resources/
cp dist/plugins/jqplot.barRenderer.js /home/git/pgcluu/resources/
cp dist/plugins/jqplot.dateAxisRenderer.js /home/git/pgcluu/resources/
cp dist/plugins/jqplot.canvasTextRenderer.js /home/git/pgcluu/resources/
cp dist/plugins/jqplot.categoryAxisRenderer.js /home/git/pgcluu/resources/
cp dist/plugins/jqplot.canvasAxisTickRenderer.js /home/git/pgcluu/resources/
cp dist/plugins/jqplot.highlighter.js /home/git/pgcluu/resources/
cp dist/plugins/jqplot.cursor.js /home/git/pgcluu/resources/
cp dist/plugins/jqplot.canvasAxisLabelRenderer.js /home/git/pgcluu/resources/
cd ..

Bootstrap:
----------

wget https://github.com/twbs/bootstrap/archive/v3.3.7.zip
unzip v3.3.7.zip bootstrap-3.3.7/dist/js/bootstrap.js bootstrap-3.3.7/dist/css/bootstrap.css

cp bootstrap-3.3.7/dist/js/bootstrap.js  /home/git/pgcluu/resources/
cp bootstrap-3.3.7/dist/css/bootstrap.css  /home/git/pgcluu/resources/

Bootstrap DateTimePicker:
-------------------------

wget https://github.com/smalot/bootstrap-datetimepicker/archive/master.zip
unzip master.zip
cp bootstrap-datetimepicker-master/css/bootstrap-datetimepicker.css /home/git/pgcluu/resources/
cp bootstrap-datetimepicker-master/js/bootstrap-datetimepicker.js /home/git/pgcluu/resources/

Fontawesome:
------------
http://fontawesome.io/3.2.1/assets/font-awesome.zip
unzip font-awesome.zip font-awesome/css/font-awesome.css font-awesome/fonts/fontawesome-webfont.ttf

cp font-awesome/css/font-awesome.css /home/git/pgcluu/resources/fontawesome.css
cp font-awesome/font/FontAwesome.otf /home/git/pgcluu/resources/font/

Note that the hyphen is removed from font-awesome.css during the copy for
backward compatibility.

bean:
-----

wget https://github.com/fat/bean/archive/v1.0.14.tar.gz
tar xzf v1.0.14.tar.gz  bean-1.0.14/src/bean.js

cp bean-1.0.14/src/bean.js /home/git/pgcluu/resources/

underscore.js:
--------------

wget http://underscorejs.org/underscore.js -O /home/git/pgcluu/resources/underscore.js

sorttable.js:
-------------

wget https://kryogenix.org/code/browser/sorttable/sorttable.js -O /home/git/pgcluu/resources/sorttable.js

w3.js:
------

wget  https://www.w3schools.com/lib/w3.js -O /home/git/pgcluu/resources/w3.js

Then file are minified using yui-compressor and the font embedded using the
Perl script tools/updt_embedded_rsc.pl This script also embedded all minified
files into the pgcluu Perl script and copy those files into the cgi-bin/resources/
directory.