tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

identityPanel.inc.xhtml (6610B)


      1 <!-- This Source Code Form is subject to the terms of the Mozilla Public
      2   - License, v. 2.0. If a copy of the MPL was not distributed with this
      3   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
      4 
      5 <html:template id="template-identity-popup">
      6 <panel id="identity-popup"
      7       class="panel-no-padding site-information-popup"
      8       type="arrow"
      9       role="alertdialog"
     10       noautofocus="true"
     11       aria-labelledby="identity-popup-mainView-panel-header-span"
     12       orient="vertical">
     13 
     14  <panelmultiview id="identity-popup-multiView"
     15                  mainViewId="identity-popup-mainView">
     16    <panelview id="identity-popup-mainView"
     17               class="PanelUI-subView"
     18               role="document"
     19               mainview-with-header="true">
     20      <!-- The panel header text value changes dynamically by browser-siteIdentity.js,
     21         - that's why the panel header box needs to remain hardcoded in the markup.
     22         - instead of being handled by PanelMultiView.sys.mjs. -->
     23      <box id="identity-popup-mainView-panel-header" class="panel-header">
     24        <html:h1>
     25          <html:span id="identity-popup-mainView-panel-header-span"/>
     26        </html:h1>
     27      </box>
     28      <toolbarseparator/>
     29      <vbox class="panel-subview-body">
     30        <toolbarbutton id="identity-popup-security-button"
     31                       class="identity-popup-security-connection subviewbutton subviewbutton-iconic">
     32          <image class="identity-popup-security-connection-icon toolbarbutton-icon"></image>
     33          <hbox class="toolbarbutton-text" flex="1">
     34            <label class="identity-popup-connection-not-secure"
     35                        when-connection="not-secure secure-cert-user-overridden secure-custom-root cert-error-page https-only-error-page" data-l10n-id="identity-connection-not-secure"></label>
     36            <label class="identity-popup-connection-secure"
     37                        when-connection="secure secure-ev secure-etsi" data-l10n-id="identity-connection-secure"></label>
     38            <label class="identity-popup-connection-failure"
     39                        when-connection="net-error-page" data-l10n-id="identity-connection-failure"></label>
     40            <label when-connection="chrome" data-l10n-id="identity-connection-internal"></label>
     41            <label when-connection="file" data-l10n-id="identity-connection-file"></label>
     42            <label when-connection="associated" data-l10n-id="identity-connection-associated"></label>
     43            <label when-connection="extension" data-l10n-id="identity-extension-page"></label>
     44            <label class="identity-popup-connection-secure upgraded" when-httpsonlystatus="upgraded failed-sub"
     45              data-l10n-id="identity-https-only-connection-upgraded"></label>
     46          </hbox>
     47        </toolbarbutton>
     48 
     49        <!-- Security Section -->
     50        <hbox id="identity-popup-security" class="identity-popup-section indented" flex="1">
     51          <vbox class="identity-popup-security-content" flex="1">
     52 
     53            <vbox id="identity-popup-security-description">
     54              <description id="identity-popup-security-ev-content-owner"
     55                           when-connection="secure-ev"/>
     56              <description class="identity-popup-warning-box identity-popup-warning-gray"
     57                           when-mixedcontent="active-blocked" data-l10n-id="identity-active-blocked"></description>
     58              <description id="identity-popup-security-decription-custom-root"
     59                           class="identity-popup-warning-box identity-popup-warning-gray"
     60                           when-customroot="true" data-l10n-id="identity-custom-root"></description>
     61              <description class="identity-popup-warning-box identity-popup-warning-yellow"
     62                           when-mixedcontent="passive-loaded" data-l10n-id="identity-passive-loaded"></description>
     63              <description class="identity-popup-warning-box identity-popup-warning-yellow"
     64                           when-mixedcontent="active-loaded" data-l10n-id="identity-active-loaded"></description>
     65              <description class="identity-popup-warning-box identity-popup-warning-yellow"
     66                           when-ciphers="weak" data-l10n-id="identity-weak-encryption"></description>
     67            </vbox>
     68 
     69            <vbox id="identity-popup-security-httpsonlymode" when-httpsonlystatus="exception upgraded failed-top failed-sub">
     70              <label flex="1" data-l10n-id="identity-https-only-label2"></label>
     71              <menulist id="identity-popup-security-httpsonlymode-menulist" sizetopopup="none">
     72                <menupopup>
     73                  <menuitem value="0" data-l10n-id="identity-https-only-dropdown-on" />
     74                  <menuitem value="1" data-l10n-id="identity-https-only-dropdown-off"
     75                            id="identity-popup-security-menulist-off-item" />
     76                  <menuitem value="2" data-l10n-id="identity-https-only-dropdown-off-temporarily" />
     77                </menupopup>
     78              </menulist>
     79              <vbox id="identity-popup-security-httpsonlymode-info">
     80                <description when-httpsonlystatus="exception" flex="1" data-l10n-id="identity-https-only-info-turn-on3">
     81                </description>
     82                <description when-httpsonlystatus="failed-sub" flex="1" data-l10n-id="identity-https-only-info-turn-off3">
     83                </description>
     84                <description when-httpsonlystatus="failed-top" flex="1" data-l10n-id="identity-https-only-info-no-upgrade">
     85                </description>
     86              </vbox>
     87            </vbox>
     88 
     89          </vbox>
     90        </hbox>
     91      </vbox>
     92 
     93      <!-- Clear Site Data Button -->
     94      <vbox id="identity-popup-clear-sitedata-footer"
     95            class="panel-subview-footer-button"
     96            hidden="true">
     97        <toolbarseparator/>
     98        <toolbarbutton id="identity-popup-clear-sitedata-button"
     99                data-l10n-id="identity-clear-site-data"
    100                class="subviewbutton"/>
    101      </vbox>
    102    </panelview>
    103 
    104    <!-- Security SubView -->
    105    <panelview id="identity-popup-securityView"
    106               class="PanelUI-subView"
    107               role="document">
    108 #include securityInformation.inc.xhtml
    109      <vbox id="identity-popup-more-info-footer">
    110        <!-- More Security Information -->
    111        <toolbarseparator />
    112        <toolbarbutton id="identity-popup-more-info"
    113                data-l10n-id="identity-more-info-link-text"
    114                class="subviewbutton panel-subview-footer-button"/>
    115      </vbox>
    116 
    117    </panelview>
    118  </panelmultiview>
    119 </panel>
    120 </html:template>