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

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

<style include="scanning-shared"></style>
<scan-settings-section>
  <span id="fileTypeLabel" slot="label" aria-hidden="true">
    [[i18n('fileTypeDropdownLabel')]]
  </span>
  <div slot="settings">
    <select id="fileTypeSelect" class="md-select"
        value="{{selectedFileType::change}}" disabled="[[disabled]]"
        aria-labelledby="fileTypeLabel">
      <!-- The option values must match the ash.scanning.mojom.FileType
          values they correspond to. -->
      <option value="0">[[i18n('jpgOptionText')]]</option>
      <option value="2">[[i18n('pngOptionText')]]</option>
      <option value="1" selected>[[i18n('pdfOptionText')]]</option>
    </select>
  </div>
</scan-settings-section>