Mercurial > hg > digilib-old
comparison xul/content/annota.xul @ 203:bf945fcf9105
restarting with version control of xul sidebar/toolbar
author | luginbue |
---|---|
date | Fri, 27 Feb 2004 11:24:53 +0100 |
parents | |
children | 8e4724b71b67 |
comparison
equal
deleted
inserted
replaced
202:7501034e54e1 | 203:bf945fcf9105 |
---|---|
1 <?xml version="1.0" ?> | |
2 <?xml-stylesheet href="chrome://alcatraz/skin/" type="text/css" ?> | |
3 <?xml-stylesheet href="chrome://global/skin/" type="text/css" ?> | |
4 | |
5 <overlay id="toverlay" | |
6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | |
7 | |
8 <script type="application/x-javascript" src="chrome://jslib/content/jslib.js" /> | |
9 <script type="application/x-javascript" src="chrome://alcatraz/content/alcatraz.js" /> | |
10 <script type="application/x-javascript" src="chrome://alcatraz/content/annota.js" /> | |
11 <script type="application/x-javascript" src="chrome://alcatraz/content/rdfds.js" /> | |
12 | |
13 <!-- ANNOTA --> | |
14 <tabpanel id="annota_tab" orient="vertical"> | |
15 <vbox flex="1"> | |
16 <hbox> | |
17 <toolbarbutton id="annota_file" type="menu" label="File"> | |
18 <menupopup id="file_popup"> | |
19 <menuitem label="Save" onclick="file_save()" /> | |
20 </menupopup> | |
21 </toolbarbutton> | |
22 <toolbarbutton id="annota_options" type="menu" label="Options"> | |
23 <menupopup id="options_popup"> | |
24 <menuitem id="local" label="Local" type="radio" name="location" checked="true" onclick="file_local()" /> | |
25 <menuitem id="annotaDB" label="Annota DB" type="radio" name="location" onclick="file_annotaDB()" /> | |
26 <menuseparator/> | |
27 <menuitem id="tool_path" label="Tool URL" onclick="show_dialog('tool path')" /> | |
28 <menuitem id="annotations_path" label="Path to annotations" onclick="file_open()" /> | |
29 <menuseparator/> | |
30 <menuitem id="save_options" label="Save Options" onclick="setProfile()" /> | |
31 </menupopup> | |
32 </toolbarbutton> | |
33 <toolbarbutton id="annota_annotation" type="menu" label="Annotation"> | |
34 <menupopup id="text_popup"> | |
35 <menuitem label="Text Annotation" onclick="dialog_annotate();" /> | |
36 </menupopup> | |
37 </toolbarbutton> | |
38 </hbox> | |
39 | |
40 <tree id="file_tree" flex="100" datasources="file:///home/halter/test.rdf" ref="urn:echo" ondblclick="tree_click()"> | |
41 | |
42 <treecols id="cols"> | |
43 <treecol id="name" label="Name" primary="true" flex="1"/> | |
44 <treecol id="url" label="URL" hidden="true" flex="1"/> | |
45 </treecols> | |
46 | |
47 <template> | |
48 | |
49 <rule> | |
50 <treechildren flex="1" > | |
51 <treeitem uri="rdf:*" persist="open"> | |
52 <treerow> | |
53 <treecell label="rdf:http://purl.org/dc/elements/1.0/title"/> | |
54 <treecell label="rdf:http://echo.unibe.ch/digilib/rdf#fn"/> | |
55 </treerow> | |
56 </treeitem> | |
57 </treechildren> | |
58 </rule> | |
59 | |
60 </template> | |
61 </tree> | |
62 | |
63 </vbox> | |
64 </tabpanel> | |
65 </overlay> |