Browse Source

Fix up status page dependencies

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

Change-Id: Ib1222fcb590def5c0147a53f046def86da745830
changes/28/98028/6
Joshua Hesketh 7 years ago
parent
commit
db14a45380
  1. 2
      etc/status/.gitignore
  2. 4
      etc/status/fetch-dependencies.sh
  3. 3
      etc/status/public_html/index.html

2
etc/status/.gitignore

@ -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

4
etc/status/fetch-dependencies.sh

@ -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

3
etc/status/public_html/index.html

@ -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>

Loading…
Cancel
Save