chat/content/otr-finger.xul
author Khushil Mistry <khushil324@gmail.com>
Wed, 11 Dec 2019 17:28:00 +1300
changeset 36852 7f136a6c0f30254e0edd6c633b2d81406b9c9047
parent 34905 0146e4f2fdaf0c60393d24808e76047e0b7ee32a
permissions -rw-r--r--
Bug 1597964 - Restructure all <xul:dialog> usages such that they are not the top level element in chat/. r=mkmelin

<?xml version="1.0" encoding="UTF-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<?xml-stylesheet href="chrome://global/skin/" type="text/css" ?>

<!DOCTYPE window>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        xmlns:html="http://www.w3.org/1999/xhtml"
        data-l10n-id="otr-finger"
        data-l10n-attrs="buttonlabelaccept"
        onload="otrFinger.onload()">

  <dialog id="otr-fingerwindow"
          buttons="accept">

    <linkset>
      <html:link rel="localization" href="messenger/otr/finger.ftl"/>
    </linkset>

    <script src="chrome://chat/content/otr-finger.js"/>

    <label data-l10n-id="finger-intro" />
    <separator class="thin"/>
    <vbox id="fingerprints" class="contentPane" flex="1">
      <tree id="fingerTree"
            flex="1"
            width="800"
            style="height: 20em;"
            onselect="otrFinger.select()">
        <treecols>
          <treecol id="screenname" data-l10n-id="finger-screenName" flex="20" />
          <splitter class="tree-splitter"/>
          <treecol id="fingerprint" data-l10n-id="finger-fingerprint" flex="120" />
          <splitter class="tree-splitter"/>
          <treecol id="verified" data-l10n-id="finger-verified" flex="10" />
          <splitter class="tree-splitter"/>
        </treecols>
        <treechildren/>
      </tree>
      <separator class="thin"/>
      <hbox>
        <button id="remove"
                data-l10n-id="finger-remove"
                disabled="true"
                oncommand="otrFinger.remove()"/>
        <button id="remove-all"
                data-l10n-id="finger-remove-all"
                oncommand="otrFinger.removeAll()"/>
      </hbox>
    </vbox>
  </dialog>
</window>