Tweak card

This commit is contained in:
Stéphane Bidoul 2021-11-20 20:03:38 +01:00
parent 0b58ac5184
commit 7338921121
No known key found for this signature in database
GPG key ID: BCAB2555446B5B92

View file

@ -14,10 +14,10 @@ class RunboatBuildElement extends LitElement {
static styles = css`
.build-card {
padding: 0.5em;
width: 15em;
background-color: lightgray;
padding: 0.5em;
border-radius: 0.5em;
background-color: lightgray;
}
.build-name {
font-size: x-small;
@ -63,8 +63,8 @@ class RunboatBuildElement extends LitElement {
}
</p>
<p>
<button @click="${this.stopHandler}" ?disabled="${this.build.status != "started"}">stop</button>
<button @click="${this.startHandler}" ?disabled="${this.build.status != "stopped"}">start</button>
<button @click="${this.stopHandler}" ?disabled="${this.build.status != "started"}">stop</button>
</p>
</div>
`;