forked from rciam/simple-oidc-client-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
38 lines (38 loc) · 1.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<?php require 'config.php'; ?>
<title><?php echo $title; ?></title>
<meta content="text/html; charset=utf-8" />
<link rel="stylesheet" href="vendor/twbs/bootstrap/dist/css/bootstrap.css" />
</head>
<body>
<nav class="navbar sticky-top navbar-expand-xl bg-primary">
<div class="container d-flex justify-content-between">
<a class="navbar-brand" style="color: white" href="#"><?php echo $title; ?></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
<br>
<main role="main" class="container">
<div class="jumbotron">
<img class="sticky" src="<?php echo $img; ?>" alt="Logo" style="height: 60px; width: 60px;margin-bottom: 20px;">
<h1 style="display: inline;"><?php echo $title; ?></h1>
<p class="lead"><?php echo $scopeInfo; ?></p>
<ul class="list-group list-group-flush">
<?php
foreach ($scopesDefine as $scope => $scopeDetail) {
echo '<li class="list-group-item">' . $scopeDetail . '</li>';
}
?>
</ul>
<br>
<a class="btn btn-lg btn-primary" href="refreshtoken.php" role="button">Authorise</a>
</div>
</main>
<script src="vendor/components/jquery/jquery.js"></script>
<script src="vendor/twbs/bootstrap/dist/js/bootstrap.js"></script>
</body>
</html>