File: channel_switcher_dialog.html

package info (click to toggle)
chromium 138.0.7204.183-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 6,080,960 kB
  • sloc: cpp: 34,937,079; ansic: 7,176,967; javascript: 4,110,704; python: 1,419,954; asm: 946,768; xml: 739,971; pascal: 187,324; sh: 89,623; perl: 88,663; objc: 79,944; sql: 50,304; cs: 41,786; fortran: 24,137; makefile: 21,811; php: 13,980; tcl: 13,166; yacc: 8,925; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (60 lines) | stat: -rw-r--r-- 2,171 bytes parent folder | download | duplicates (6)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<style include="settings-shared">
  #warningSelector > :not(.iron-selected) {
    display: none;
  }

  h3 {
    font-size: inherit;
  }
</style>
<cr-dialog id="dialog" close-text="$i18n{close}">
  <div slot="title">$i18n{aboutChangeChannel}</div>
  <div slot="body">
    <!-- TODO(dbeam): this can be policy-controlled. Show this in the UI.
         https://cloud.google.com/docs/chrome-enterprise/policies/?policy=ChromeOsReleaseChannel
    -->
    <cr-radio-group on-selected-changed="onChannelSelectionChanged_">
      <cr-radio-button name="[[browserChannelEnum_.STABLE]]">
        $i18n{aboutChannelDialogStable}
      </cr-radio-button>
      <cr-radio-button name="[[browserChannelEnum_.BETA]]">
        $i18n{aboutChannelDialogBeta}
      </cr-radio-button>
      <cr-radio-button name="[[browserChannelEnum_.DEV]]">
        $i18n{aboutChannelDialogDev}
      </cr-radio-button>
    </cr-radio-group>
    <iron-selector id="warningSelector">
      <div>
        <h3>$i18n{aboutDelayedWarningTitle}</h3>
        <div>[[substituteString_(
            '$i18nPolymer{aboutDelayedWarningMessage}',
            '$i18nPolymer{aboutOsProductTitle}')]]</div>
      </div>
      <div>
        <h2>$i18n{aboutPowerwashWarningTitle}</h2>
        <div>$i18n{aboutPowerwashWarningMessage}</div>
      </div>
      <div>
        <h2>$i18n{aboutUnstableWarningTitle}</h2>
        <div>[[substituteString_(
            '$i18nPolymer{aboutUnstableWarningMessage}',
            '$i18nPolymer{aboutOsProductTitle}')]]</div>
      </div>
    </iron-selector>
  </div>
  <div slot="button-container">
    <cr-button class="cancel-button" on-click="onCancelClick_"
        id="cancel">$i18n{cancel}</cr-button>
    <cr-button id="changeChannel" class="action-button"
        on-click="onChangeChannelClick_"
        hidden="[[!shouldShowButtons_.changeChannel]]">
      $i18n{aboutChangeChannel}
    </cr-button>
    <cr-button id="changeChannelAndPowerwash" class="action-button"
        on-click="onChangeChannelAndPowerwashClick_"
        hidden="[[!shouldShowButtons_.changeChannelAndPowerwash]]">
      $i18n{aboutChangeChannelAndPowerwash}
    </cr-button>
  </div>
</cr-dialog>