gecko-dev/rdf/resources/sidebar-browser.xul

33 строки
1.1 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://sidebar/skin/" type="text/css"?>
<!DOCTYPE window
[
<!ENTITY sidebar.title.label "Sidebar">
<!ENTITY sidebar.reload.label "reload">
<!ENTITY sidebar.customize.label "customize...">
]>
<window
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="Init('resource:/res/rdf/sidebar-browser.rdf',
'NC:BrowserSidebarRoot');" align="vertical">
<html:script src="resource://res/rdf/sidebar.js" />
<box id="sidebox" align="vertical" flex="100%">
<box class="sidebartitle">
<html:div class="sidebartitlelabel">&sidebar.title.label;</html:div>
<spring flex="100%"/>
<titledbutton class="borderless paneltitle"
value="&sidebar.reload.label;"
onclick="window.location.reload()" />
<titledbutton class="borderless paneltitle"
value="&sidebar.customize.label;"
onclick="dialogWindow=customize();" />
</box>
</box>
</window>