Status: Move external dependencies into public_html/lib
Change-Id: Ib0cfdda5ded53af8e89aa239bd2f6e442f2537e3
diff --git a/etc/status/.gitignore b/etc/status/.gitignore
index 1ecdbed..218f297 100644
--- a/etc/status/.gitignore
+++ b/etc/status/.gitignore
@@ -1,4 +1 @@
-public_html/jquery.min.js
-public_html/jquery-visibility.js
-public_html/bootstrap
-public_html/jquery.graphite.js
+public_html/lib
diff --git a/etc/status/fetch-dependencies.sh b/etc/status/fetch-dependencies.sh
index 24beb4c..ccaf74c 100755
--- a/etc/status/fetch-dependencies.sh
+++ b/etc/status/fetch-dependencies.sh
@@ -1,6 +1,7 @@
#!/bin/bash
BASE_DIR=$(cd $(dirname $0); pwd)
-DEST_DIR=$BASE_DIR/public_html
+DEST_DIR=$BASE_DIR/public_html/lib
+mkdir -p $DEST_DIR
echo "Destination: $DEST_DIR"
echo "Fetching jquery.min.js..."
diff --git a/etc/status/public_html/index.html b/etc/status/public_html/index.html
index 3bd7a12..97025a6 100644
--- a/etc/status/public_html/index.html
+++ b/etc/status/public_html/index.html
@@ -19,16 +19,14 @@
<html dir="ltr" lang="en">
<head>
<title>Zuul Status</title>
- <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
+ <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="styles/zuul.css" />
</head>
<body>
-
<div id="zuul_container"></div>
-
- <script src="jquery.min.js"></script>
- <script src="jquery-visibility.js"></script>
- <script src="jquery.graphite.js"></script>
+ <script src="lib/jquery.min.js"></script>
+ <script src="lib/jquery-visibility.js"></script>
+ <script src="lib/jquery.graphite.js"></script>
<script src="jquery.zuul.js"></script>
<script src="zuul.app.js"></script>
<script>