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

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

<style include="scanning-shared"></style>
<scan-settings-section>
  <span id="colorModeLabel" slot="label" aria-hidden="true">
    [[i18n('colorModeDropdownLabel')]]
  </span>
  <div slot="settings">
    <select id="colorModeSelect" class="md-select"
        value="{{selectedOption::change}}" disabled="[[disabled]]"
        aria-labelledby="colorModeLabel">
      <template is="dom-repeat" items="[[options]]" as="colorMode">
        <option value="[[colorMode]]"
            selected$="[[isDefaultOption(colorMode)]]">
          [[getColorModeAsString(colorMode)]]
        </option>
      </template>
    </select>
  </div>
</scan-settings-section>