Commit e04f6c70 authored by Leo Iannacone's avatar Leo Iannacone

update tablesort library installation

parent 0289e043
...@@ -45,14 +45,16 @@ get_jquery() { ...@@ -45,14 +45,16 @@ get_jquery() {
} }
get_tablesorter() { get_tablesorter() {
VERSION="2.17.8"
DIR_TABLESORTER="tablesorter" DIR_TABLESORTER="tablesorter"
if [ -d ${EXT_LIBS_DIR}/${DIR_TABLESORTER} ] ; then return ; fi if [ -d ${EXT_LIBS_DIR}/${DIR_TABLESORTER} ] ; then return ; fi
mkdir ${DIR_TABLESORTER} mkdir ${DIR_TABLESORTER}
cd ${DIR_TABLESORTER} cd ${DIR_TABLESORTER}
echo "Downloading tablesorter ..." echo "Downloading tablesorter ..."
curl -s -O -L "http://mottie.github.io/tablesorter/js/jquery.tablesorter.min.js" BASE="https://raw.githubusercontent.com/Mottie/tablesorter/v${VERSION}"
curl -s -O -L "http://mottie.github.io/tablesorter/js/jquery.tablesorter.widgets.min.js" curl -s -O -L "${BASE}/js/jquery.tablesorter.min.js"
curl -s -O -L "http://mottie.github.io/tablesorter/css/theme.bootstrap.css" curl -s -O -L "${BASE}/js/jquery.tablesorter.widgets.min.js"
curl -s -O -L "${BASE}/css/theme.bootstrap.css"
cd .. cd ..
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment