securityLevelDialog.xhtml (3278B)
1 <?xml version="1.0"?> 2 3 <?csp default-src chrome: ?> 4 5 <window 6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 7 xmlns:html="http://www.w3.org/1999/xhtml" 8 data-l10n-id="security-level-dialog-window" 9 > 10 <dialog id="security-level-dialog" buttons="accept,cancel"> 11 <linkset> 12 <html:link rel="stylesheet" href="chrome://global/skin/global.css" /> 13 <!-- NOTE: We include common.css explicitly, rather than relying on 14 - the dialog's shadowroot importing it, which is late loaded in 15 - response to the dialog's "subdialog" attribute, which is set 16 - in response to DOMFrameContentLoaded. 17 - In particular, we need the .radio-check rule and font rules from 18 - common-shared.css to be in place when gSecurityLevelDialog.init is 19 - called, which will help ensure that the radio element has the correct 20 - size when we measure its bounding box. --> 21 <html:link 22 rel="stylesheet" 23 href="chrome://global/skin/in-content/common.css" 24 /> 25 <html:link 26 rel="stylesheet" 27 href="chrome://browser/skin/preferences/preferences.css" 28 /> 29 <html:link 30 rel="stylesheet" 31 href="chrome://browser/skin/preferences/privacy.css" 32 /> 33 <html:link 34 rel="stylesheet" 35 href="chrome://browser/content/securitylevel/securityLevelPreferences.css" 36 /> 37 38 <html:link rel="localization" href="branding/brand.ftl" /> 39 <html:link rel="localization" href="toolkit/global/base-browser.ftl" /> 40 </linkset> 41 42 <script src="chrome://browser/content/securitylevel/securityLevelDialog.js" /> 43 44 <description data-l10n-id="security-level-dialog-restart-description" /> 45 46 <radiogroup id="security-level-radiogroup" class="highlighting-group"> 47 <html:div 48 class="security-level-radio-container security-level-grid privacy-detailedoption info-box-container" 49 > 50 <radio 51 class="security-level-radio security-level-name" 52 value="standard" 53 data-l10n-id="security-level-preferences-level-standard" 54 /> 55 <html:div 56 class="security-level-current-badge" 57 data-l10n-id="security-level-preferences-current-badge" 58 ></html:div> 59 </html:div> 60 <html:div 61 class="security-level-radio-container security-level-grid privacy-detailedoption info-box-container" 62 > 63 <radio 64 class="security-level-radio security-level-name" 65 value="safer" 66 data-l10n-id="security-level-preferences-level-safer" 67 /> 68 <html:div 69 class="security-level-current-badge" 70 data-l10n-id="security-level-preferences-current-badge" 71 ></html:div> 72 </html:div> 73 <html:div 74 class="security-level-radio-container security-level-grid privacy-detailedoption info-box-container" 75 > 76 <radio 77 class="security-level-radio security-level-name" 78 value="safest" 79 data-l10n-id="security-level-preferences-level-safest" 80 /> 81 <html:div 82 class="security-level-current-badge" 83 data-l10n-id="security-level-preferences-current-badge" 84 ></html:div> 85 </html:div> 86 </radiogroup> 87 </dialog> 88 </window>