1
0
Fork 0
fgdata/Phi/mkthemes.sh
Torsten Dreyer 190e8449ce Phi: move URL to the browsers root directory
- rename the directory from webgui to Phi
- let the webserver's root point to Phi instead of Docs
- redirect old /gui/ url to the new location (/)
2015-04-18 13:03:46 +02:00

18 lines
420 B
Bash

#!/bin/bash
echo "["
THEMES=`ls 3rdparty/jquery-ui-themes-1.11.2/themes/`
set -- $THEMES
while [ $# -gt 0 ]; do
echo "{"
echo "\"theme_name\": \"$1\","
echo "\"theme_url\": \"3rdparty/jquiery-ui-themes-1.11.2/themes/$1/jquery-ui.css\","
echo "\"group\": \"Official\","
echo "\"active\": \"yes\","
echo "\"author\": \"jQuery Project\","
echo "\"license\": \"http://jquery.org/license\""
echo "},"
shift
done
echo "]"