forked from devsecopsmaturitymodel/DevSecOps-MaturityModel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavi.php
23 lines (21 loc) · 809 Bytes
/
navi.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<a href="https://github.com/wurstbrot/generic-DevOps-Security-MaturityModel"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<?php
$nav = array(
"index.php" => "Matrix",
"spiderweb.php" => "Implementation Levels",
"scutter.php" => "Ease and Value of Implementation",
"graph.php" => "Dependencies",
"report.php" => "Full Report",
//"usefulnessHardness.php" => "Heatmap",
"information.php" => "Information"
);
echo "<ul class=\"nav nav-tabs\">";
foreach ($nav as $item => $value) {
echo "<li ";
if(strpos($_SERVER['PHP_SELF'], $item)) {
echo "class=\"active\"";
}
echo "role=\"\"><a href=\"$item\">$value</a></li>";
}
echo "</ul>";
?>