summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam@sotk.co.uk>2015-09-26 10:06:36 +0100
committerAdam Coldrick <adam@sotk.co.uk>2015-09-26 10:06:36 +0100
commit2504e0164c5f4f6e73006a296140a82e167a5a5c (patch)
tree277c240cdfd07a6d84756b525f8194c44d2fb29d
parent1a7181819128c9a6ef251854c63fbbc41bf9af37 (diff)
downloadciat-ui-2504e0164c5f4f6e73006a296140a82e167a5a5c.tar.gz
Add AngularJS
-rw-r--r--index.html22
-rw-r--r--js/main.js1
2 files changed, 13 insertions, 10 deletions
diff --git a/index.html b/index.html
index 4b2747d..b1e4053 100644
--- a/index.html
+++ b/index.html
@@ -1,18 +1,20 @@
<!DOCTYPE html>
<html>
<head>
-<link href='https://fonts.googleapis.com/css?family=Sarpanch:800,400' rel='stylesheet' type='text/css'>
-<link href='style.css' rel='stylesheet' type='text/css'>
+ <link href='https://fonts.googleapis.com/css?family=Sarpanch:800,400' rel='stylesheet' type='text/css'>
+ <link href='style.css' rel='stylesheet' type='text/css'>
+ <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script>
+ <script src="js/main.js"></script>
</head>
<body>
-<h1><em>Baserock</em> <span>|</span> CIAT</h1>
-
-<div class="visualisation">
-<div class="box pass">Firehose</div>
-<div class="box pass active">Build</div>
-<div class="box fail">Deploy</div>
-<div class="box pass">Test</div>
-</div>
+ <h1><em>Baserock</em> <span>|</span> CIAT</h1>
+
+ <div class="visualisation">
+ <div class="box pass">Firehose</div>
+ <div class="box pass active">Build</div>
+ <div class="box fail">Deploy</div>
+ <div class="box pass">Test</div>
+ </div>
</body>
</html>
diff --git a/js/main.js b/js/main.js
new file mode 100644
index 0000000..149564d
--- /dev/null
+++ b/js/main.js
@@ -0,0 +1 @@
+var app = angular.module('ciat', []);