Browse Source

Status: Move external dependencies into public_html/lib

Change-Id: Ib0cfdda5ded53af8e89aa239bd2f6e442f2537e3
changes/56/169956/1
Timo Tijhof 7 years ago
parent
commit
6beaff3d52
  1. 5
      etc/status/.gitignore
  2. 3
      etc/status/fetch-dependencies.sh
  3. 10
      etc/status/public_html/index.html

5
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

3
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..."

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

Loading…
Cancel
Save