PageRenderTime 20ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/security/manager/pki/resources/content/crlManager.xul

http://github.com/zpao/v8monkey
Unknown | 105 lines | 91 code | 14 blank | 0 comment | 0 complexity | 062a331e30e419c9f9d99701f926c793 MD5 | raw file
  1<?xml version="1.0"?>
  2<!-- ***** BEGIN LICENSE BLOCK *****
  3 Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4
  5 The contents of this file are subject to the Mozilla Public License Version
  6 1.1 (the "License"); you may not use this file except in compliance with
  7 the License. You may obtain a copy of the License at
  8 http://www.mozilla.org/MPL/
  9
 10 Software distributed under the License is distributed on an "AS IS" basis,
 11 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 12 for the specific language governing rights and limitations under the
 13 License.
 14
 15 The Original Code is Mozilla Communicator client code, released
 16 March 31, 1998.
 17
 18 The Initial Developer of the Original Code is
 19 Netscape Communications Corporation.
 20 Portions created by the Initial Developer are Copyright (C) 1998-1999
 21 the Initial Developer. All Rights Reserved.
 22
 23 Contributor(s):
 24   David Drinan (ddrinan@netscape.com)
 25
 26 Alternatively, the contents of this file may be used under the terms of
 27 either the GNU General Public License Version 2 or later (the "GPL"), or
 28 the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 29 in which case the provisions of the GPL or the LGPL are applicable instead
 30 of those above. If you wish to allow use of your version of this file only
 31 under the terms of either the GPL or the LGPL, and not to allow others to
 32 use your version of this file under the terms of the MPL, indicate your
 33 decision by deleting the provisions above and replace them with the notice
 34 and other provisions required by the GPL or the LGPL. If you do not delete
 35 the provisions above, a recipient may use your version of this file under
 36 the terms of any one of the MPL, the GPL or the LGPL.
 37
 38 ***** END LICENSE BLOCK ***** -->
 39
 40<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
 41
 42<!DOCTYPE dialog [
 43    <!ENTITY % prefValDTD SYSTEM "chrome://pippki/locale/validation.dtd">
 44    %prefValDTD;
 45    <!ENTITY % prefCertMgrDTD SYSTEM "chrome://pippki/locale/certManager.dtd">
 46    %prefCertMgrDTD;
 47]>
 48
 49<dialog id="crlviewer"
 50        windowtype="mozilla:crlmanager"
 51        title="&validation.crlmanager.label;"
 52        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
 53        style="width: 65ch;"
 54        onload="onLoad();"
 55        buttons="accept"
 56        buttonlabelaccept="&certmgr.close.label;"
 57        persist="screenX screenY width height">
 58
 59  <stringbundle id="pippki_bundle" src="chrome://pippki/locale/pippki.properties"/>
 60  <script type="application/javascript" src="chrome://global/content/strres.js"/>
 61  <script type="application/javascript" src="chrome://pippki/content/crlManager.js"/>
 62
 63  <description value="&validation.crlmanager.description;"/>
 64  <separator class="thin"/>
 65  <tree id="crltree" style="height: 10em;"
 66   onselect="EnableCrlActions()" flex="1">
 67    <treecols>
 68      <treecol id="Col1" flex="3" label="&certmgr.certdetail.o;"/>
 69      <splitter class="tree-splitter"/>
 70      <treecol id="Col2" flex="5" label="&certmgr.certdetail.ou;"/>
 71      <splitter class="tree-splitter"/>
 72      <treecol id="Col3" flex="2" label="&validation.crllastupdate.label;"/>
 73      <splitter class="tree-splitter"/>
 74      <treecol id="Col4" flex="2" label="&validation.crlnextupdate.label;"/>
 75      <splitter class="tree-splitter"/>
 76      <treecol id="Col5" flex="2" label="&validation.crlautoupdateenabled.label;"/>
 77      <splitter class="tree-splitter"/>
 78      <treecol id="Col6" flex="3" label="&validation.crlautoupdatestatus.label;"/>
 79    </treecols>
 80
 81    <treechildren id="crlList"/>
 82  </tree>
 83  <separator class="thin"/>
 84
 85  <hbox id="dialogButtons">
 86    <button id="deleteCrl" disabled="true"
 87            label="&validation.deletecrl.label;"
 88            accesskey="&validation.deletecrl.accesskey;"
 89            oncommand="DeleteCrlSelected();"/>
 90    <button id="editPrefs" class="push" disabled="true"
 91            label="&validation.advanced.label;"
 92            accesskey="&validation.advanced.accesskey;"
 93            oncommand="EditAutoUpdatePrefs();"/>
 94    <button id="updateCRL" class="push" disabled="true"
 95            label="&validation.updatecrl.label;"
 96            accesskey="&validation.updatecrl.accesskey;"
 97            oncommand="UpdateCRL();"/>
 98    <button id="importCRL" class="push"
 99            label="&certmgr.restore2.label;"
100            accesskey="&certmgr.restore2.accesskey;"
101            oncommand="ImportCRL();"/>
102    <spacer flex="2"/>
103    <button dlgtype="accept"/>
104  </hbox>
105</dialog>