File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656 $ url = "https://dsomm.timo-pagel.de {$ _SERVER ['SCRIPT_NAME ' ]}" ;
5757 echo "<link rel='canonical' href= $ url> " ;
5858?>
59+ <script>
60+ $(function () {
61+ $('[data-toggle="popover"]').popover({placement: "bottom", trigger: "hover"}).on('click', function () {
62+ $(this).popover('toggle');
63+ });
64+ })</script>
5965</head>
6066
6167<?php
Original file line number Diff line number Diff line change 1313echo "<h1>Activtities per Dimension</h1> " ;
1414echo '<div class="extra"> ' .getInfos ($ dimensions ) . '</div> ' ;
1515?>
16- <script>
17- $(function () {
18- $('[data-toggle="popover"]').popover({placement: "bottom", trigger: "hover"}).on('click', function () {
19- $(this).popover('toggle');
20- });
21- })</script>
16+
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ function getFlattenedArray($array, $index) {
4747 echo "<tr> " ;
4848 echo "<td> $ dimension</td> " ;
4949 echo "<td> $ subdimension</td> " ;
50- echo "<td> $ activityName</td> " ;
50+ $ tooltip = "<div class='popoverdetails'> " . build_table_tooltip ( $ content ) . "</div> " ;
51+ echo "<td><div data-toggle= \"popover \" data-title= \"$ activityName \" data-content= \"$ tooltip \" type= \"button \" data-html= \"true \"> " . $ activityName . "</div></td> " ;
5152 echo "<td> " . getFlattenedArray ($ content , "samm2 " ) . "</td> " ;
5253 echo "<td> " . getFlattenedArray ($ content , "iso27001-2017 " ) . "</td> " ;
5354 }
You can’t perform that action at this time.
0 commit comments