Commit 0e00f89e authored by GROSS-AMBLARD David's avatar GROSS-AMBLARD David
Browse files

Adding a HWmain div in template and css to encapsulate MAIN text, with a...

Adding a HWmain div in template and css to encapsulate MAIN text, with a margin-top so that top menu do not override.
parent 69371c3a
background: no-repeat bottom right/20% url('projects/Headwork/bulb_textUnder_bubbles.png'); background: no-repeat bottom right/20% url('projects/Headwork/bulb_textUnder_bubbles.png');
\ No newline at end of file
...@@ -744,7 +744,7 @@ function showCurrentKnowledge($conn) ...@@ -744,7 +744,7 @@ function showCurrentKnowledge($conn)
global $VIEW; global $VIEW;
$VIEW['MAIN'] .= HTMLh1("Monitor Board"); $VIEW['MAIN'] .= HTMLh1("Monitor Board");
showQueryAnswer($conn, "Users", "select * from Users"); showQueryAnswer($conn, "Users", "select id,name,count(*)-1 as '#contribution' from Users left outer join Answer on Answer.user=Users.id group by id,name");
showQueryAnswer($conn, "User skills", "select * from Skills"); showQueryAnswer($conn, "User skills", "select * from Skills");
showQueryAnswer($conn, "Activities (ArtifactClass)", "select * from ArtifactClass"); showQueryAnswer($conn, "Activities (ArtifactClass)", "select * from ArtifactClass");
showQueryAnswer($conn, "Running activities (Artifacts)", "select concat('<a href=\"index.php?mode=showArtifact&artifactid=',id,'\">View</a>') as detail, id, classid, ownerid, node, state, awaited, attributes from Artifact"); showQueryAnswer($conn, "Running activities (Artifacts)", "select concat('<a href=\"index.php?mode=showArtifact&artifactid=',id,'\">View</a>') as detail, id, classid, ownerid, node, state, awaited, attributes from Artifact");
......
...@@ -9,6 +9,9 @@ pre { ...@@ -9,6 +9,9 @@ pre {
} }
.HWmain {
margin-top:50px;
}
h1{ h1{
/* text-align: center; */ /* text-align: center; */
font-size: 200%; font-size: 200%;
......
...@@ -139,7 +139,9 @@ ...@@ -139,7 +139,9 @@
data-target="#feedbackModal" tabindex="-1">Any feedback ?</button> data-target="#feedbackModal" tabindex="-1">Any feedback ?</button>
<?php endif ?> <?php endif ?>
<p/> <p/>
<?= $VIEW['MAIN'] ?> <div class="HWmain">
<?= $VIEW['MAIN'] ?>
</div>
<!-- Modal used to write down feedback --> <!-- Modal used to write down feedback -->
<?php if (isset($var['ID'])): ?> <?php if (isset($var['ID'])): ?>
<div class="modal fade" id="feedbackModal" tabindex="-1" <div class="modal fade" id="feedbackModal" tabindex="-1"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment