Skip to content

Commit

Permalink
style checkbox. #11
Browse files Browse the repository at this point in the history
  • Loading branch information
spelkey-ucd committed Jun 15, 2023
1 parent 2e112b2 commit 72b9b59
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,24 +100,26 @@ export function render() {
`}
<div>
<div class="u-space-my">
<ul class="list--reset">
<ul class="list--reset checkbox">
<li>
<input
id='obs-send-itis-rt'
type="checkbox"
@input=${() => this._onBackgroundCheckChange('sendItisRt', '', 'checkbox')}
.checked=${this.backgroundCheck?.sendItisRt || this.backgroundCheck?.itisRtSent}
.disabled=${this.sentBackgroundCheck || !this.rtTicketId}
>
<label class='u-inline'>ITIS RT Ticket ${this.backgroundCheck?.itisRtSentTimestamp ? `(Sent ${(new Date(this.backgroundCheck?.itisRtSentTimestamp)).toLocaleString()})` : ''}</label>
<label for='obs-send-itis-rt' class='u-inline'>ITIS RT Ticket ${this.backgroundCheck?.itisRtSentTimestamp ? `(Sent ${(new Date(this.backgroundCheck?.itisRtSentTimestamp)).toLocaleString()})` : ''}</label>
</li>
<li>
<input
id='obs-send-facilities-rt'
type="checkbox"
@input=${() => this._onBackgroundCheckChange('sendFacilitiesRt', '', 'checkbox')}
.checked=${this.backgroundCheck?.sendFacilitiesRt || this.backgroundCheck?.sendFacilitiesRt}
.disabled=${this.sentBackgroundCheck || !this.facilitiesRtTicketId}
>
<label class='u-inline'>Facilities RT Ticket ${this.backgroundCheck?.facilitiesRtSentTimestamp ? `(Sent ${(new Date(this.backgroundCheck?.facilitiesRtSentTimestamp)).toLocaleString()})` : ''}</label>
<label class='u-inline' for='obs-send-facilities-rt'>Facilities RT Ticket ${this.backgroundCheck?.facilitiesRtSentTimestamp ? `(Sent ${(new Date(this.backgroundCheck?.facilitiesRtSentTimestamp)).toLocaleString()})` : ''}</label>
</li>
</ul>
<div class="field-container u-space-mt">
Expand Down

0 comments on commit 72b9b59

Please sign in to comment.