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
......@@ -744,7 +744,7 @@ function showCurrentKnowledge($conn)
global $VIEW;
$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, "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");
......
......@@ -9,6 +9,9 @@ pre {
}
.HWmain {
margin-top:50px;
}
h1{
/* text-align: center; */
font-size: 200%;
......
......@@ -139,7 +139,9 @@
data-target="#feedbackModal" tabindex="-1">Any feedback ?</button>
<?php endif ?>
<p/>
<div class="HWmain">
<?= $VIEW['MAIN'] ?>
</div>
<!-- Modal used to write down feedback -->
<?php if (isset($var['ID'])): ?>
<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