blob: 5e2ce839ea1fffca1fee1e262bdf19ee191c98bd [file] [log] [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import {html} from '//resources/lit/v3_0/lit.rollup.js';
import type {CertificateInfoDialogElement} from './certificate_info_dialog.js';
export function getHtml(this: CertificateInfoDialogElement) {
return html`<!--_html_template_start_-->
<cr-dialog id="dialog" show-on-attach>
<div slot="title">${this.dialogTitle}</div>
<div slot="body">${this.dialogMessage}</div>
<div slot="button-container">
<cr-button class="action-button" @click="${this.onOkClick_}">
$i18n{ok}
</cr-button>
</div>
</cr-dialog>
<!--_html_template_end_-->`;
}