Home | History | Annotate | Download | only in options
      1 <if expr="not pp_ifdef('chromeos')">
      2 <section id="sync-section">
      3   <h3 i18n-content="sectionTitleSync"></h3>
      4 </if>
      5 <if expr="pp_ifdef('chromeos')">
      6 <div id="sync-section">
      7 </if>
      8 
      9   <div id="sync-overview" class="settings-row" hidden>
     10     <p i18n-content="syncOverview"></p>
     11     <a i18n-values="href:syncLearnMoreURL" i18n-content="learnMore"
     12         target="_blank"></a>
     13   </div>
     14 
     15 <if expr="pp_ifdef('chromeos')">
     16   <div id="account-picture-wrapper">
     17     <img id="account-picture">
     18     <div id="change-picture-caption" i18n-content="changePicture"></div>
     19   </div>
     20   <div id="sync-general">
     21 </if>  <!-- pp_ifdef('chromeos') -->
     22 
     23     <div id="sync-status" class="settings-row" hidden>
     24       <span id="sync-status-text"></span>
     25       <button id="sync-action-link" class="link-button"></button>
     26     </div>
     27 
     28 <if expr="pp_ifdef('chromeos')">
     29     <div class="checkbox">
     30       <span class="controlled-setting-with-label">
     31         <input id="enable-screen-lock" type="checkbox"
     32             pref="settings.enable_screen_lock">
     33         <span>
     34           <label for="enable-screen-lock" i18n-content="enableScreenlock">
     35           </label>
     36           <span class="controlled-setting-indicator"
     37               pref="settings.enable_screen_lock">
     38           </span>
     39         </span>
     40       </span>
     41     </div>
     42   </div>
     43 </if>  <!-- pp_ifdef('chromeos') -->
     44 
     45   <div id="sync-buttons" class="settings-row">
     46     <button id="start-stop-sync" hidden></button>
     47     <span id="start-stop-sync-indicator"
     48         class="controlled-setting-indicator" hidden>
     49     </span>
     50     <button id="customize-sync" i18n-content="customizeSync"
     51         pref="sync.managed" hidden>
     52     </button>
     53 <if expr="pp_ifdef('chromeos')">
     54     <button id="manage-accounts-button"
     55         i18n-content="manageAccountsButtonTitle">
     56     </button>
     57 </if>  <!-- pp_ifdef('chromeos') -->
     58     <div id="enable-auto-login-checkbox" class="checkbox" hidden>
     59       <label>
     60         <input id="enable-auto-login" pref="autologin.enabled"
     61             metric="Options_Autologin" type="checkbox">
     62         <span i18n-content="autologinEnabled"></span>
     63       </label>
     64     </div>
     65   </div>
     66 
     67 <if expr="not pp_ifdef('chromeos')">
     68 </section>
     69 </if>
     70 <if expr="pp_ifdef('chromeos')">
     71 </div>
     72 </if>
     73