60 lines
No EOL
1.6 KiB
XML
60 lines
No EOL
1.6 KiB
XML
<?xml version="1.0"?>
|
|
<?xml-stylesheet href="chrome://global/skin/" type"text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://scholar/skin/scholar.css" type="text/css"?>
|
|
<!DOCTYPE window SYSTEM "chrome://scholar/locale/scholar.dtd">
|
|
|
|
<page id="scholar-sidebar" title="Scholar"
|
|
onload="init()"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
|
|
|
|
<script src="include.js"/>
|
|
<script src="sidebar.js"/>
|
|
|
|
<stringbundle id="scholar-strings" src="chrome://scholar/locale/scholar.properties"/>
|
|
<vbox id="view-pane" flex="1">
|
|
<tree
|
|
id="list-tree"
|
|
onselect="this.view.selectionChanged()"
|
|
enableColumnDrag="true"
|
|
seltype="multiple" flex="1">
|
|
|
|
<treecols>
|
|
<treecol
|
|
id="title_column"
|
|
label="&sidebar.items.title_column;"
|
|
flex="2"
|
|
primary="true"/>
|
|
<splitter class="tree-splitter"/>
|
|
<treecol
|
|
id="creator_column"
|
|
label="&sidebar.items.creator_column;"
|
|
flex="1"/>
|
|
</treecols>
|
|
<treechildren/>
|
|
</tree>
|
|
<sidebarheader>
|
|
<toolbarbutton id="tb-add" label="New…" oncommand="newItem();" />
|
|
<spacer flex="1" />
|
|
<toolbarbutton id="tb-edit" label="Edit…" oncommand="editSelectedItem();" hidden="true"/>
|
|
</sidebarheader>
|
|
</vbox>
|
|
|
|
|
|
<vbox id="object-pane" hidden="true">
|
|
<grid>
|
|
<columns>
|
|
<column/>
|
|
<column flex="1"/>
|
|
</columns>
|
|
|
|
<rows id="dynamic-fields">
|
|
</rows>
|
|
</grid>
|
|
</vbox>
|
|
|
|
<hbox id="edit-pane" hidden="true">
|
|
<button label="Cancel" oncommand="returnToTree(false)"/>
|
|
<button label="Save" oncommand="returnToTree(true)"/>
|
|
</hbox>
|
|
</page> |