updated sidebar with treeView interface.
This commit is contained in:
parent
686389ced5
commit
b0e5715c17
|
@ -3,8 +3,10 @@
|
||||||
<?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css"Ê?>
|
<?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css"Ê?>
|
||||||
|
|
||||||
<page id="scholar-sidebar" title="Scholar"
|
<page id="scholar-sidebar" title="Scholar"
|
||||||
|
onload="setView()"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
|
||||||
|
|
||||||
|
<script src="sidebar.js"/>
|
||||||
|
|
||||||
<tree
|
<tree
|
||||||
id="scholar-sidebar-items"
|
id="scholar-sidebar-items"
|
||||||
|
@ -19,56 +21,29 @@
|
||||||
<treecol
|
<treecol
|
||||||
id="title_column"
|
id="title_column"
|
||||||
label="Title"
|
label="Title"
|
||||||
flex="1"
|
flex="1"/>
|
||||||
sort="?rsst"
|
|
||||||
persist="width ordinal hidden sortActive sortDirection"/>
|
|
||||||
<splitter class="tree-splitter"/>
|
<splitter class="tree-splitter"/>
|
||||||
<treecol
|
<treecol
|
||||||
id="description_column"
|
id="description_column"
|
||||||
label="Description"
|
label="Description"
|
||||||
flex="1"
|
flex="1"/>
|
||||||
sort="?rssd"
|
|
||||||
persist="width ordinal hidden sortActive sortDirection"/>
|
|
||||||
<splitter class="tree-splitter"/>
|
<splitter class="tree-splitter"/>
|
||||||
<treecol
|
<treecol
|
||||||
id="link_column"
|
id="link_column"
|
||||||
label="URL"
|
label="URL"
|
||||||
flex="1"
|
flex="1"/>
|
||||||
sort="?rssl"
|
|
||||||
persist="width ordinal hidden sortActive sortDirection"/>
|
|
||||||
</treecols>
|
</treecols>
|
||||||
|
<treechildren/>
|
||||||
</tree>
|
</tree>
|
||||||
<tree
|
<splitter collapse="before" resizeafter="grow"/>
|
||||||
id="scholar-sidebar-notes"
|
|
||||||
seltype="multiple"
|
|
||||||
flex="1"
|
|
||||||
enableColumnDrag="true"
|
|
||||||
datasources="rdf:null"
|
|
||||||
ref=""
|
|
||||||
flags="dont-build-content">
|
|
||||||
|
|
||||||
<treecols>
|
<vbox>
|
||||||
<treecol
|
<label control="test1" value="Test1:"/>
|
||||||
id="title_column"
|
<textbox id="test1"/>
|
||||||
label="Title"
|
<label control="test2" value="Test2:"/>
|
||||||
flex="1"
|
<textbox id="test2"/>
|
||||||
sort="?rsst"
|
<label control="test3" value="Test3:"/>
|
||||||
persist="width ordinal hidden sortActive sortDirection"/>
|
<textbox id="test3"/>
|
||||||
<splitter class="tree-splitter"/>
|
</vbox>
|
||||||
<treecol
|
|
||||||
id="description_column"
|
|
||||||
label="Description"
|
|
||||||
flex="1"
|
|
||||||
sort="?rssd"
|
|
||||||
persist="width ordinal hidden sortActive sortDirection"/>
|
|
||||||
<splitter class="tree-splitter"/>
|
|
||||||
<treecol
|
|
||||||
id="link_column"
|
|
||||||
label="URL"
|
|
||||||
flex="1"
|
|
||||||
sort="?rssl"
|
|
||||||
persist="width ordinal hidden sortActive sortDirection"/>
|
|
||||||
</treecols>
|
|
||||||
</tree>
|
|
||||||
|
|
||||||
</page>
|
</page>
|
Loading…
Reference in New Issue
Block a user