summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Tijhof <krinklemail@gmail.com>2015-04-02 01:04:18 +0100
committerTimo Tijhof <krinklemail@gmail.com>2015-04-02 01:04:18 +0100
commit6beaff3d52d63717dfdf69cc8ee7779421e13c50 (patch)
tree1bded9501c6b016b7d9697625cacbebfa99af2c3
parent95e9d238325ed31f38d5ca27f78d6262013fbc37 (diff)
downloadzuul-6beaff3d52d63717dfdf69cc8ee7779421e13c50.tar.gz
Status: Move external dependencies into public_html/lib
Change-Id: Ib0cfdda5ded53af8e89aa239bd2f6e442f2537e3
-rw-r--r--etc/status/.gitignore5
-rwxr-xr-xetc/status/fetch-dependencies.sh3
-rw-r--r--etc/status/public_html/index.html10
3 files changed, 7 insertions, 11 deletions
diff --git a/etc/status/.gitignore b/etc/status/.gitignore
index 1ecdbed42..218f297df 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 24beb4c04..ccaf74ca8 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 3bd7a12fc..97025a617 100644
--- a/etc/status/public_html/index.html
+++ b/etc/status/public_html/index.html
@@ -19,16 +19,14 @@ under the License.
<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>