-
Notifications
You must be signed in to change notification settings - Fork 113
/
viewResources.php
60 lines (39 loc) · 1.15 KB
/
viewResources.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
<?php
/* Copyright 2018 Atos SE and Worldline
* Licensed under MIT (https://github.com/atosorigin/DevOpsMaturityAssessment/blob/master/LICENSE) */
$isForm = FALSE;
$activePage = 'Resources';
require 'header.php';
require 'renderAdvice.php';
?>
<div class="container-fluid">
<div class="row">
<div class="col-xl-9 col-lg-11 pt-0 pb-4 rounded text-left mx-auto">
<div class="bg-light rounded pl-2 pl-sm-4 pr-2 pr-sm-4 pb-2 pb-sm-4 border-primary border ml-sm-2 ml-xs-2 mb-2 mr-sm-2 mr-xs-2">
<?php
foreach ($advice as $adviceIndex=>$adviceSection)
{
if ( $adviceIndex != '//' ) {
?>
<div class="row">
<div class="col-lg-12 mt-2 mt-sm-4">
<div class="card border-primary">
<h5 class="card-header text-center text-white bg-primary">
<?=$adviceIndex?>
</h5>
<div class="card-body p-1">
<?php RenderAdvice($adviceIndex, false) ?>
</div>
</div>
</div>
</div>
<?php
}
} ?>
</div>
</div>
</div>
</div>
<?php
require 'footer.php';
?>