1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18

ash / webui / scanning / resources / scanner_select.html [blame]

<style include="scanning-shared">
</style>
<scan-settings-section>
  <span id="scannerLabel" slot="label" aria-hidden="true">
    [[i18n('scannerDropdownLabel')]]
  </span>
  <div slot="settings">
    <select id="scannerSelect" class="md-select"
        value="{{selectedScannerId::change}}"
        disabled="[[disabled]]" aria-labelledby="scannerLabel">
      <template is="dom-repeat" items="[[scanners]]" as="scanner">
        <option value="[[getTokenAsString(scanner)]]">
          [[getScannerDisplayName(scanner)]]
        </option>
      </template>
    </select>
  </div>
</scan-settings-section>