File: README

package info (click to toggle)
pgcluu 4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,332 kB
  • sloc: javascript: 24,645; perl: 24,092; makefile: 14; sh: 14
file content (79 lines) | stat: -rw-r--r-- 2,892 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
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.