Hiding Dweeb Containers
* default images for dashCards. * hiding DweebUI and DweebCache containers from displaying on dashboard.
This commit is contained in:
parent
2a4433c3e9
commit
cf0c9dda4b
2 changed files with 5 additions and 3 deletions
|
@ -102,7 +102,7 @@ module.exports.dashCard = function dashCard(data) {
|
|||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="card-stamp card-stamp-sm">
|
||||
<img heigh="150px" width="150px" src="https://raw.githubusercontent.com/lllllllillllllillll/DweebUI-Icons/main/${service}.png"></img>
|
||||
<img heigh="150px" width="150px" src="https://raw.githubusercontent.com/lllllllillllllillll/DweebUI-Icons/main/${service}.png" onerror="this.onerror=null;this.src='https://raw.githubusercontent.com/lllllllillllllillll/DweebUI-Icons/main/dweebui.png';"></img>
|
||||
</div>
|
||||
|
||||
<div class="d-flex align-items-center">
|
||||
|
|
|
@ -78,8 +78,10 @@ module.exports.containerList = async function () {
|
|||
}
|
||||
|
||||
let dockerCard = dashCard(container_info);
|
||||
card_list += dockerCard;
|
||||
|
||||
|
||||
if ((container_info.name != 'DweebUI') && (container_info.name != 'DweebCache')) {
|
||||
card_list += dockerCard;
|
||||
}
|
||||
}
|
||||
|
||||
return card_list;
|
||||
|
|
Loading…
Add table
Reference in a new issue