Fix up status page dependencies

bootstrap-responsive is no longer required.
Make sure we follow redirects when fetching deps

Change-Id: Ib1222fcb590def5c0147a53f046def86da745830
This commit is contained in:
Joshua Hesketh 2014-06-05 15:04:55 +10:00
parent 29d99b7eb1
commit db14a45380
3 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,4 @@
public_html/jquery.min.js
public_html/jquery-visibility.min.js
public_html/jquery-visibility.js
public_html/bootstrap
public_html/jquery.graphite.js

View File

@ -3,10 +3,10 @@ BASE_DIR=$(cd $(dirname $0); pwd)
echo "Destination: $BASE_DIR/public_html"
echo "Fetching jquery.min.js..."
curl --silent http://code.jquery.com/jquery.min.js > $BASE_DIR/public_html/jquery.min.js
curl -L --silent http://code.jquery.com/jquery.min.js > $BASE_DIR/public_html/jquery.min.js
echo "Fetching jquery-visibility.min.js..."
curl --silent https://raw.githubusercontent.com/mathiasbynens/jquery-visibility/master/jquery-visibility.js > $BASE_DIR/public_html/jquery-visibility.min.js
curl -L --silent https://raw.githubusercontent.com/mathiasbynens/jquery-visibility/master/jquery-visibility.js > $BASE_DIR/public_html/jquery-visibility.js
echo "Fetching jquery.graphite.js..."
curl -L --silent https://github.com/prestontimmons/graphitejs/archive/master.zip > jquery-graphite.zip

View File

@ -20,7 +20,6 @@ under the License.
<head>
<title>Zuul Status</title>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.min.css">
<link rel="stylesheet" href="styles/zuul.css" />
</head>
<body>
@ -28,7 +27,7 @@ under the License.
<div id="zuul_container"></div>
<script src="jquery.min.js"></script>
<script src="jquery-visibility.min.js"></script>
<script src="jquery-visibility.js"></script>
<script src="jquery.graphite.js"></script>
<script src="jquery.zuul.js"></script>
<script src="zuul.app.js"></script>