chromium/chrome/browser/resources/app_settings/supported_links_dialog.html.ts

// 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 {SupportedLinksDialogElement} from './supported_links_dialog.js';

export function getHtml(this: SupportedLinksDialogElement) {
  return html`<!--_html_template_start_-->
<cr-dialog id="dialog" close-text="$i18n{close}" show-on-attach
    show-close-button>
  <div slot="title">$i18n{appManagementIntentSettingsDialogTitle}</div>
  <div id="dialogBody" slot="body" scrollable>
    <div id="list">
      ${this.app.supportedLinks.map(item => html`
        <div class="list-item">${item}</div>
      `)}
    </div>
  </div>
</cr-dialog>
<!--_html_template_end_-->`;
}