bug 23913, new wallet editor, r=ben
This commit is contained in:
Родитель
a7f7d651e8
Коммит
81000db67f
|
@ -560,6 +560,7 @@ sub MakeResourceAliases()
|
|||
_InstallResources(":mozilla:extensions:wallet:editor:MANIFEST_PROPERTIES", "$wallet_chrome_dir:locale:en-US:", 0);
|
||||
_InstallResources(":mozilla:extensions:wallet:src:MANIFEST_PROPERTIES", "$wallet_chrome_dir:locale:en-US:", 0);
|
||||
|
||||
_InstallResources(":mozilla:extensions:wallet:editor:MANIFEST_SKIN", "$wallet_chrome_dir:skin:default:", 0);
|
||||
_InstallResources(":mozilla:extensions:wallet:cookieviewer:MANIFEST_SKIN", "$wallet_chrome_dir:skin:default:", 0);
|
||||
_InstallResources(":mozilla:extensions:wallet:signonviewer:MANIFEST_SKIN", "$wallet_chrome_dir:skin:default:", 0);
|
||||
}
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
WalletEditor.properties
|
||||
WalletEditor.dtd
|
|
@ -43,6 +43,7 @@ override NO_STATIC_LIB=
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
install:: $(TARGETS)
|
||||
$(INSTALL) $(srcdir)/WalletEditor.xul $(srcdir)/WalletEditor.js $(srcdir)/wallet.css $(DIST)/bin/chrome/wallet/content/default
|
||||
$(INSTALL) $(srcdir)/WalletEditor.properties $(DIST)/bin/chrome/wallet/locale/en-US
|
||||
|
||||
$(INSTALL) $(srcdir)/WalletEditor.xul $(srcdir)/WalletEditor.js $(DIST)/bin/chrome/wallet/content/default
|
||||
$(INSTALL) $(srcdir)/WalletEditor.properties $(srcdir)/CookieViewer.dtd $(DIST)/bin/chrome/wallet/locale/en-US
|
||||
$(INSTALL) $(srcdir)/WalletEditor.css $(DIST)/bin/chrome/wallet/skin/default
|
||||
$(INSTALL) $(srcdir)/wallet.css $(DIST)/bin/chrome/wallet/skin/default
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<!ENTITY div.walletdataonsystem.label "The following wallet information is being saved for you.">
|
||||
<!ENTITY treehead.schemaname.label "Field name">
|
||||
<!ENTITY treehead.entries.label "Entries for field">
|
||||
<!ENTITY treehead.synonyms.label "Entries that mean the same as">
|
||||
<!ENTITY button.remove.label "Remove">
|
||||
<!ENTITY button.add.label "Add New ...">
|
||||
<!ENTITY windowtitle.label "Wallet Editor">
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1,8 +1,23 @@
|
|||
okCmdLabel = OK
|
||||
cancelCmdLabel = Cancel
|
||||
addCmdLabel = Add
|
||||
removeCmdLabel = Remove
|
||||
manageData = Manage Personal Data
|
||||
schemasHeading = Field Names:
|
||||
valuesHeading = Entries for field:
|
||||
synonymsHeading = Entries that mean the same as the above:
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
|
||||
EnterNewSchema=Enter a new field name
|
||||
EnterNewEntry=Enter a new value for the field
|
||||
EnterNewSynonym=Enter another value that means the same thing
|
||||
|
|
|
@ -1,22 +1,100 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://wallet/skin/" type="text/css"?>
|
||||
<!DOCTYPE window>
|
||||
<xul:window xmlns="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<!--
|
||||
The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
|
||||
<script src="chrome://global/content/strres.js"/>
|
||||
<script src="WalletEditor.js"/>
|
||||
<!-- CHANGE THIS WHEN MOVING FILES -->
|
||||
<?xml-stylesheet href="chrome://wallet/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<frameset rows="15,115,30" frameborder="no" border="0" bordercolor="#cccccc" onload="loadFrames();">
|
||||
<frame src="about:blank" frameborder="no" id="title_frame" bordercolor="#cccccc" scrolling="no"/>
|
||||
<frameset cols="100,200" bordercolor="#cccccc">
|
||||
<frame src="about:blank" id="schema_frame" frameborder="no" bordercolor="#cccccc" scrolling="auto"/>
|
||||
<frameset rows="53%,47%" bordercolor="#cccccc">
|
||||
<frame src="about:blank" id="value_frame" frameborder="no" bordercolor="#cccccc" scrolling="auto"/>
|
||||
<frame src="about:blank" id="synonym_frame" frameborder="no" bordercolor="#cccccc" scrolling="auto"/>
|
||||
</frameset>
|
||||
</frameset>
|
||||
<frame src="about:blank" id="button_frame" scrolling="no"/>
|
||||
</frameset>
|
||||
<!-- CHANGE THIS WHEN MOVING FILES -->
|
||||
<!DOCTYPE window SYSTEM "chrome://wallet/locale/WalletEditor.dtd" >
|
||||
|
||||
</xul:window>
|
||||
<window id="walleteditor"
|
||||
class="dialog"
|
||||
title="&windowtitle.label;"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
align="vertical"
|
||||
onload="Startup()">
|
||||
|
||||
<html:script src="chrome://wallet/content/WalletEditor.js"/>
|
||||
<html:script language="javascript" src="chrome://global/content/strres.js" />
|
||||
|
||||
<box id="system" flex="100%" align="vertical">
|
||||
<spring style="height: 7px;"/>
|
||||
<box><html:div>&div.walletdataonsystem.label;</html:div></box>
|
||||
<html:div class="separator" align="horizontal" style="margin-bottom: -2px;"/>
|
||||
<spring style="height: 10px;"/>
|
||||
<box id="system1" flex="100%" align="horizontal">
|
||||
<spring style="width: 7px;"/>
|
||||
<html:div style="width: 195px;">
|
||||
<box><html:div>&treehead.schemaname.label;</html:div></box>
|
||||
<tree id="schematree" class="inset" style="height: 250px; width: 195px;" align="vertical"
|
||||
onclick="ViewEntriesFromXul();">
|
||||
<treechildren id="schemalist"/>
|
||||
</tree>
|
||||
<spring flex="5%"/>
|
||||
<spring style="height: 7px;"/>
|
||||
<box align="horizontal">
|
||||
<titledbutton id="removeSchema" class="dialog push" disabled="true" value="&button.remove.label;" onclick="DeleteSchema();"/>
|
||||
<titledbutton id="addSchema" class="dialog push" disabled="false" value="&button.add.label;" onclick="AddSchema();"/>
|
||||
</box>
|
||||
</html:div>
|
||||
<spring style="width: 7px;"/>
|
||||
<html:div style="width: 195px;">
|
||||
<box><html:div>&treehead.entries.label;</html:div></box>
|
||||
<tree id="entrytree" class="inset" style="height: 113px; width: 195px;" align="vertical"
|
||||
onclick="ViewSynonymsFromXul();">
|
||||
<treechildren id="entrieslist"/>
|
||||
</tree>
|
||||
<spring style="height: 7px;"/>
|
||||
<box><html:div>&treehead.synonyms.label;</html:div></box>
|
||||
<tree id="synonymtree" class="inset" style="height: 113px; width: 195px;" align="vertical"
|
||||
onclick="SynonymSelected();">
|
||||
<treechildren id="synonymslist"/>
|
||||
</tree>
|
||||
</html:div>
|
||||
<spring style="width: 7px;"/>
|
||||
<html:div>
|
||||
<box align="vertical">
|
||||
<spring style="height: 12px;"/>
|
||||
<titledbutton id="removeEntry" class="dialog push" disabled="true" value="&button.remove.label;" onclick="DeleteEntry();"/>
|
||||
<titledbutton id="addEntry" class="dialog push" disabled="false" value="&button.add.label;" onclick="AddEntry();"/>
|
||||
<spring style="height: 88px;"/>
|
||||
<titledbutton id="removeSynonym" class="dialog push" disabled="true" value="&button.remove.label;" onclick="DeleteSynonym();"/>
|
||||
<titledbutton id="addSynonym" class="dialog push" disabled="false" value="&button.add.label;" onclick="AddSynonym();"/>
|
||||
</box>
|
||||
</html:div>
|
||||
<spring style="width: 7px;"/>
|
||||
</box>
|
||||
</box>
|
||||
<html:div class="separator" align="horizontal" style="margin-bottom: -2px;"/>
|
||||
|
||||
<!-- from dialogOverlay.xul -->
|
||||
<spring style="height: 5px;"/>
|
||||
<box align="horizontal">
|
||||
<spring flex="100%"/>
|
||||
<box id="okCancelButtons"/>
|
||||
</box>
|
||||
<spring style="height: 5px;"/>
|
||||
|
||||
</window>
|
||||
|
|
|
@ -55,11 +55,15 @@ clobber::
|
|||
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib
|
||||
rm -f $(DIST)\bin\chrome\wallet\content\default\WalletEditor.xul
|
||||
rm -f $(DIST)\bin\chrome\wallet\content\default\WalletEditor.js
|
||||
rm -f $(DIST)\bin\chrome\wallet\skin\default\WalletEditor.css
|
||||
rm -f $(DIST)\bin\chrome\wallet\content\default\wallet.css
|
||||
rm -f $(DIST)\bin\chrome\wallet\locale\en-US\WalletEditor.properties
|
||||
rm -f $(DIST)\bin\chrome\wallet\locale\en-US\WalletEditor.dtd
|
||||
|
||||
install:: $(DLL)
|
||||
$(MAKE_INSTALL) WalletEditor.xul $(DIST)\bin\chrome\wallet\content\default
|
||||
$(MAKE_INSTALL) WalletEditor.js $(DIST)\bin\chrome\wallet\content\default
|
||||
$(MAKE_INSTALL) WalletEditor.css $(DIST)\bin\chrome\wallet\skin\default
|
||||
$(MAKE_INSTALL) wallet.css $(DIST)\bin\chrome\wallet\content\default
|
||||
$(MAKE_INSTALL) WalletEditor.properties $(DIST)\bin\chrome\wallet\locale\en-US
|
||||
$(MAKE_INSTALL) WalletEditor.dtd $(DIST)\bin\chrome\wallet\locale\en-US
|
||||
|
|
Загрузка…
Ссылка в новой задаче