Phi: nicer scroll animation for METAR widget
[fg:fgdata.git] / webgui / mkthemes.sh
1 #!/bin/bash
2
3 echo "["
4 THEMES=`ls 3rdparty/jquery-ui-themes-1.11.2/themes/`
5 set -- $THEMES
6 while [ $# -gt 0 ]; do
7 echo "{"
8 echo "\"theme_name\": \"$1\","
9 echo "\"theme_url\": \"3rdparty/jquiery-ui-themes-1.11.2/themes/$1/jquery-ui.css\","
10 echo "\"group\": \"Official\","
11 echo "\"active\": \"yes\","
12 echo "\"author\": \"jQuery Project\","
13 echo "\"license\": \"http://jquery.org/license\""
14 echo "},"
15   shift
16 done
17 echo "]"
18