forked from RedHatWorkshops/bluegreen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
107 lines (107 loc) · 4.25 KB
/
index.php
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
<!DOCTYPE html>
<!--[if IE 9]><html class="ie9"><![endif]-->
<!--[if gt IE 9]><!-->
<html>
<!--<![endif]-->
<head>
<title>Basic - PatternFly v2</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="../dist/img/favicon.ico">
<!-- iPad retina icon -->
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../dist/img/apple-touch-icon-precomposed-152.png">
<!-- iPad retina icon (iOS < 7) -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../dist/img/apple-touch-icon-precomposed-144.png">
<!-- iPad non-retina icon -->
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="../dist/img/apple-touch-icon-precomposed-76.png">
<!-- iPad non-retina icon (iOS < 7) -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../dist/img/apple-touch-icon-precomposed-72.png">
<!-- iPhone 6 Plus icon -->
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="../dist/img/apple-touch-icon-precomposed-180.png">
<!-- iPhone retina icon (iOS < 7) -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../dist/img/apple-touch-icon-precomposed-114.png">
<!-- iPhone non-retina icon (iOS < 7) -->
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="../dist/img/apple-touch-icon-precomposed-57.png">
<link href="../dist/css/patternfly.min.css" rel="stylesheet" media="screen, print">
<link href="../dist/css/patternfly-additions.min.css" rel="stylesheet" media="screen, print">
<script src="../components/jquery/dist/jquery.min.js"></script>
<script src="../components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="../components/datatables/media/js/jquery.dataTables.js"></script>
<script src="../dist/js/patternfly.min.js"></script>
</head>
<body>
<nav class="navbar navbar-default navbar-pf" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
<img src="../dist/img/brand.svg" alt="PatternFly Enterprise Application" />
</a>
</div>
<div class="collapse navbar-collapse navbar-collapse-1">
<ul class="nav navbar-nav navbar-utility">
<li>
<a href="#">Status v2</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-primary">
<li class="active">
<a href="basic.html" class="active">Basic</a>
</li>
</ul>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<ol class="breadcrumb">
<li><a href="#">Home</a></li>
<li>Basic</li>
</ol>
<h1>Welcome to an OpenShift Application!</h1>
<p>The purpose of this application is to demonstrate several interesting features about OpenShift. We hope you enjoy it!</p>
</div>
</div>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h2>Application Information</h2>
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th>Env Var</th>
<th>Value</th>
<tr>
</thead>
<tbody>
<tr>
<td>Pod IP</td>
<td><?php echo $_SERVER['SERVER_ADDR'] ?></td>
</tr>
<tr>
<td>Pod Port</td>
<td><?php echo $_SERVER['SERVER_PORT'] ?></td>
</tr>
</tbody>
</table>
</div>
<div class="col-md-6 col-md-offset-3">
<h2>Application Example</h2>
<p>
<img src="image.php">
</p>
</div>
</div>
</div><!-- /col -->
</div><!-- /row -->
</div><!-- /container -->
<script>
// Initialize Datatables
$(document).ready( function() {
$('.datatable').dataTable();
});
</script>
</body>
</html>