summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/managed_user_settings.html
blob: aeefd4364c72651c005c338d187e1876da230e72 (plain)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<div id="managed-user-settings-page" class="page" hidden>
  <div class="close-button"></div>
  <h1 i18n-content="managedUserSettingsPage"></h1>
  <div class="content-area">
    <!-- Content pack area -->
    <section>
      <h3 i18n-content="installedContentPacks"></h3>
      <list id="content-packs-list"></list>
      <div class="settings-row">
        <button id="get-content-packs-button" i18n-content="getContentPacks"
            disabled>
        </button>
      </div>
    </section>
    <!-- Content pack settings -->
    <section>
      <h3 i18n-content="contentPackSettings"></h3>
      <div class="radio">
        <label>
          <input type="radio" name="contentpacks" value="0"
              id="contentpacks-allow"
              pref="profile.managed.default_filtering_behavior" dialog-pref>
          <span for="contentpacks-allow"
              i18n-content="outsideContentPacksAllow"></span>
        </label>
      </div>
      <div class="radio">
        <label>
          <input type="radio" name="contentpacks" value="1"
              id="contentpacks-warn"
              pref="profile.managed.default_filtering_behavior" dialog-pref>
          <span for="contentpacks-warn"
              i18n-content="outsideContentPacksWarn"></span>
        </label>
      </div>
      <div class="radio">
        <label>
          <input type="radio" name="contentpacks" value="2"
              id="contentpacks-block"
              pref="profile.managed.default_filtering_behavior" dialog-pref>
          <span for="contentpacks-block"
              i18n-content="outsideContentPacksBlock"></span>
        </label>
      </div>
    </section>
    <!-- Advanced Settings -->
    <section>
      <h3 i18n-content="advancedManagedUserSettings"></h3>
      <div class="checkbox">
        <label>
          <input type="checkbox" id="safe-search-checkbox"
              pref="settings.force_safesearch" dialog-pref>
          <span for="safe-search-checkbox"
              i18n-content="enableSafeSearch"></span>
        </label>
      </div>
      <div class="checkbox">
        <label>
          <input id="allow-signin-checkbox" type="checkbox"
              pref="signin.allowed" dialog-pref>
          <span for="allow-signin-checkbox"
              i18n-content="allowSignIn"></span>
        </label>
      </div>
      <div class="checkbox">
        <label>
          <input id="disable-history-deletion-checkbox" type="checkbox"
              disabled>
          <span for="disable-history-deletion-checkbox"
              i18n-content="disableHistoryDeletion"></span>
        </label>
      </div>
      <div class="checkbox">
        <label>
          <input id="use-passphrase-checkbox" type="checkbox">
          <span for="use-passphrase-checkbox"
              i18n-content="usePassphrase"></span>
        </label>
        <button id="set-passphrase" class="link-button"
            i18n-content="setPassphrase">
        </button>
      </div>
    </section>
  </div>
  <div class="action-area">
    <button id="lock-settings" i18n-content="lockSettings"></button>
    <button id="unlock-settings" i18n-content="unlockSettings"></button>
    <div id="spacer"></div>
    <div class="button-strip">
      <button id="managed-user-settings-cancel" type="submit"
          i18n-content="cancel">
      </button>
      <button id="managed-user-settings-confirm" type="submit"
          i18n-content="ok">
      </button>
    </div>
  </div>
</div>