Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr38 committed Nov 7, 2023
1 parent 3e7c000 commit fcc5a11
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 25 deletions.
10 changes: 8 additions & 2 deletions www/public/resources/js/host.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,13 @@ $(document).on('mouseenter',".hosts-charts-list-label[chart-type=profile]",funct
/**
* Event: Remove all hosts list <div> from the DOM when mouse has leave
*/
$(document).on('mouseleave',".hosts-charts-list-label",function () {
// $(document).on('mouseleave',".hosts-charts-list-label",function () {
// $('.hosts-charts-list-label-hosts-list').remove();
// });
$(document).on('mouseenter',".hosts-charts-list-label-hosts-list",function () {
$('.hosts-charts-list-label-hosts-list').show();
});
$(document).on('mouseleave',".hosts-charts-list-label-hosts-list",function () {
$('.hosts-charts-list-label-hosts-list').remove();
});

Expand Down Expand Up @@ -1091,7 +1097,7 @@ function getHostWithProfile(profile)
hosts += '<div class="flex align-item-center column-gap-10 div-generic-blue margin-bottom-0"><div>' + printOsIcon(os, os_family) + '</div><div class="flex flex-direction-column row-gap-4"><span class="copy">' + hostname + '</span><span class="copy font-size-12 lowopacity-cst">' + ip + '</span></div></div>';
});

$('.hosts-charts-list-label-hosts-list').html('<div class="grid row-gap-4">' + hosts + '</div>');
$('.hosts-charts-list-label-hosts-list').html('<div>' + hosts + '</div>');
},
error: function (jqXHR, textStatus, thrownError) {
jsonValue = jQuery.parseJSON(jqXHR.responseText);
Expand Down
4 changes: 0 additions & 4 deletions www/public/resources/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -566,10 +566,6 @@ footer {
background-color:#182b3e;
}

footer div {
width: max-content;
}

footer #github img { width: 25px; }

#hideAllReposGroups, #currentload {
Expand Down
10 changes: 2 additions & 8 deletions www/public/resources/styles/stats-hosts.css
Original file line number Diff line number Diff line change
Expand Up @@ -311,21 +311,15 @@ td:last-child,
.showEventDetails p {
margin-bottom: 5px;
}
.hosts-charts-list-label-hosts-list {
margin-top: 15px;
}
#hosts-requiring-reboot-chart-list {

#hosts-requiring-reboot-chart-list, .hosts-charts-list-label-hosts-list {
flex-direction: column;
row-gap: 6px;
top: 100px;
max-height: 500px;
overflow: auto;
}

#hosts-requiring-reboot-chart-list div {
min-width: 200px;
}

/* Timeline de l'historique d'un paquet
Source : https://www.w3schools.com/howto/howto_css_timeline.asp
*/
Expand Down
23 changes: 12 additions & 11 deletions www/views/includes/footer.inc.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
<footer>
<div>
<h5>HELP</h5>
<div>
<a target="_blank" rel="noopener noreferrer" href="https://github.com/lbr38/repomanager/wiki">
<p class="lowopacity">Documentation<img src="/assets/icons/external-link.svg" class="icon" /></p>
</a>
<br>
<a href="mailto:repomanager@protonmail.com">
<p class="lowopacity">Contact</p>
</a>
</div>
<a target="_blank" rel="noopener noreferrer" href="https://github.com/lbr38/repomanager/wiki">
<span class="lowopacity">Documentation<img src="/assets/icons/external-link.svg" class="icon" /></span>
</a>

<br><br>

<a href="mailto:repomanager@protonmail.com">
<span class="lowopacity">Contact</span>
</a>

</div>

<div>
<h5>GITHUB</h5>
<div class="lowopacity">
<span class="lowopacity">
<a target="_blank" rel="noopener noreferrer" href="https://github.com/lbr38/repomanager" id="github"><img src="/assets/images/github.png" /></a>
</div>
</span>
</div>

<div class="text-center margin-auto">
Expand Down

0 comments on commit fcc5a11

Please sign in to comment.