-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
108 lines (101 loc) · 5.48 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>OpenShift, Wild Wild West</title>
<!-- TODO: if (process.env.NODE_ENV == "production"){ //then use a CDN?
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
-->
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/styles.css">
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="node_modules/popper.js/dist/umd/popper.min.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="node_modules/phaser/build/phaser.min.js"></script>
<script>
<!-- WARNING: NO EDITS HERE -->
// BACKEND_PATH_CONFIG
<!-- WARNING: NO EDITS HERE -->
</script>
<script src="assets/game.js" type="text/javascript"></script>
</head>
<body>
<header>
<center>
<img src="assets/openshiftlogo.png" alt="OpenShift" align="center">
</center>
</header>
<div style="background:#383838">
<div class="container jumbotron" style="padding:.5em; margin:0;">
<div class="row">
<div class="col-lg-3 menufield">
<nav>
<div class="heading">
<h1>Wild West</h1>
<h2>Shoot 'Em Up!</h2>
</div>
<section class="info">
<div class="description">
<h3>Description</h3>
<p><strong>The goal of the game is to shoot Kubernetes platform objects!</strong></p>
<p>Be careful though, if destructive mode is on, you could destroy your game.</p>
</div>
</section>
<section class="extra">
<button class="accordion">Controls</button>
<div class="panel">
<p>Use your mouse to aim the gun.</p>
<p>Use the left mouse button to fire.</p>
<p>Display Help: <input type="checkbox" id="myCheck" checked onclick="toggleHelpButton()"></p>
</div>
<button class="accordion ">Game Objects</button>
<div class="panel">
<p><img src="assets/build.png" alt="Build"> Build</p>
<p><img src="assets/buildConfig.png" alt="Build Config"> Build Config</p>
<p><img src="assets/deploy.png" alt="Deployment"> Deployment</p>
<p><img src="assets/pod.png" alt="Pod"> Pod</p>
<p><img src="assets/route.png" alt="Route"> Route</p>
<p><img src="assets/service.png" alt="Service"> Service</p>
<p><img src="assets/storage.png" alt="Storage"> Persistent Volume</p>
</div>
</section>
</nav>
</div>
<div class="col-lg-8 gamefield">
<div id="main">
<article>
<div id="openshiftgame"></div>
</article>
</div>
</div>
</div>
</div>
<footer>
<div class="grid2">
<div>© 2018 OPENSHIFT EVANGELISTS</div>
<div> Back to Openshift </div>
</div>
</footer>
<script>
// Accordion Menu
var acc = document.getElementsByClassName("accordion");
var stripes1 = document.querySelector("#stripes1");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function() {
this.classList.toggle("active");
var panel = this.nextElementSibling;
if (panel.style.display === "block") {
panel.style.display = "none";
} else {
panel.style.display = "block";
}
});
}
</script>
</div>
</body>
</html>