1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31

ash / webui / diagnostics_ui / resources / overview_card.html [blame]

<style include="diagnostics-shared">
  :host-context(body.jelly-enabled) #marketingName {
    font: var(--cros-button-2-font);
  }

  #marketingName {
    font-weight: 500;
    margin-inline-end: 4px;
  }

  #overviewCardContainer {
    align-items: center;
    display: flex;
    height: 48px;
    justify-content: center;
  }

  #overviewChip {
    margin-top: 8px;
  }
</style>
<div id="overviewCardContainer" tabindex="0"
    aria-labelledby="marketingName deviceInfo">
  <div class="diagnostics-chip" id="overviewChip">
    <span id="marketingName" aria-describedby="deviceInfo"
        hidden="[[shouldHideMarketingName(systemInfo.marketingName)]]">
      [[systemInfo.marketingName]]
    </span>
    <span id="deviceInfo" aria-hidden="true">[[deviceInfo]]</span>
  </div>
</div>