docker pull sheild
This commit is contained in:
parent
058eadd3cd
commit
23be19c4d3
2 changed files with 6 additions and 3 deletions
|
@ -6,6 +6,8 @@ Pre-Pre-Pre-Pre-Pre Alpha v0.08 ( :fire: Experimental. Don't install on any serv
|
|||
[](https://github.com/lllllllillllllillll)
|
||||
[](https://github.com/lllllllillllllillll/DweebUI/blob/main/LICENSE)
|
||||
[](https://github.com/lllllllillllllillll)
|
||||
[](https://hub.docker.com/repository/docker/lllllllillllllillll/dweebui)
|
||||
|
||||
|
||||
* I haven't used Github very much and I'm still new to javascript.
|
||||
* This is the first project I've ever released and I'm sure it's full of plenty of bugs and mistakes.
|
||||
|
|
|
@ -2,11 +2,12 @@ module.exports.dashCard = function dashCard(data) {
|
|||
|
||||
let { name, service, id, state, image, external_port, internal_port, ports, volumes, environment_variables, labels, IPv4, style } = data;
|
||||
|
||||
|
||||
let margin, icon, font = '';
|
||||
|
||||
if (style = "Large") {
|
||||
//Large cards
|
||||
} else if (style = "Compact") {
|
||||
//Compact cards
|
||||
margin = 'style="margin-bottom: 0;"'
|
||||
} else if (style = "Row") {
|
||||
//Row cards
|
||||
}
|
||||
|
@ -170,7 +171,7 @@ module.exports.dashCard = function dashCard(data) {
|
|||
</div>
|
||||
</div>
|
||||
<div class="d-flex align-items-baseline">
|
||||
<div class="h1 me-2" title="${name}" style="margin-bottom: 0;">
|
||||
<div class="h1 me-2" title="${name}" ${margin}>
|
||||
<a href="http://${IPv4}:${external_port}" target="_blank">
|
||||
${shortened_name}
|
||||
</a>
|
||||
|
|
Loading…
Add table
Reference in a new issue