Mercurial > hg > digilib-old
annotate xul/content/annota.xul @ 474:fb51443ca0ee
modified DocuDirent.compareTo instead of ImageFileset.compareTo
author | hertzhaft |
---|---|
date | Wed, 12 Apr 2006 14:12:37 +0200 |
parents | 0e841edf6c39 |
children |
rev | line source |
---|---|
203
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
1 <?xml version="1.0" ?> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
2 <?xml-stylesheet href="chrome://alcatraz/skin/" type="text/css" ?> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
3 <?xml-stylesheet href="chrome://global/skin/" type="text/css" ?> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
4 |
213 | 5 <window xmlns:html="http://www.w3.org/1999/xhtml" |
6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" | |
7 onload="setTreeDirectory()"> | |
203
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
8 |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
9 <script type="application/x-javascript" src="chrome://jslib/content/jslib.js" /> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
10 <script type="application/x-javascript" src="chrome://alcatraz/content/alcatraz.js" /> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
11 <script type="application/x-javascript" src="chrome://alcatraz/content/annota.js" /> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
12 <script type="application/x-javascript" src="chrome://alcatraz/content/rdfds.js" /> |
213 | 13 <script type="application/x-javascript" src="chrome://alcatraz/content/RDFTree.js" /> |
14 | |
203
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
15 |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
16 <!-- ANNOTA --> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
17 <tabpanel id="annota_tab" orient="vertical"> |
214 | 18 <vbox flex="1" > |
19 <hbox> | |
203
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
20 <toolbarbutton id="annota_file" type="menu" label="File"> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
21 <menupopup id="file_popup"> |
213 | 22 <menuitem label="Save" onclick="quickSave()"/> |
23 <menuitem label="Delete" oncommand="deleteAnnotation()"/> | |
24 <!-- <menuitem label="Save as..." onclick="saveAs()" /> --> | |
203
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
25 </menupopup> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
26 </toolbarbutton> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
27 <toolbarbutton id="annota_options" type="menu" label="Options"> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
28 <menupopup id="options_popup"> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
29 <menuitem id="local" label="Local" type="radio" name="location" checked="true" onclick="file_local()" /> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
30 <menuitem id="annotaDB" label="Annota DB" type="radio" name="location" onclick="file_annotaDB()" /> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
31 <menuseparator/> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
32 <menuitem id="tool_path" label="Tool URL" onclick="show_dialog('tool path')" /> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
33 <menuitem id="annotations_path" label="Path to annotations" onclick="file_open()" /> |
213 | 34 <menuitem id="creator_name" label="Name of creator" onclick="show_dialog('creator')" /> |
203
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
35 <menuseparator/> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
36 <menuitem id="save_options" label="Save Options" onclick="setProfile()" /> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
37 </menupopup> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
38 </toolbarbutton> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
39 <toolbarbutton id="annota_annotation" type="menu" label="Annotation"> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
40 <menupopup id="text_popup"> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
41 <menuitem label="Text Annotation" onclick="dialog_annotate();" /> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
42 </menupopup> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
43 </toolbarbutton> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
44 </hbox> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
45 |
214 | 46 <tree id="annotation_tree" flex="1" datasources="rdf:null" ref="urn:echo" ondblclick="tree_click()" |
47 height="300" width="100" flags="dont-build-content"> | |
203
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
48 |
213 | 49 <treecols id="cols"> |
214 | 50 <treecol id="name" label="Name" primary="true" flex="10" |
51 class="sortDirectionIndicator" sortActive="true" | |
52 sortDirection="ascending" | |
53 sort="rdf:http://purl.org/dc/elements/1.0/title"/> | |
54 <splitter/> | |
55 <treecol id="pagenumber" label="Page" flex="1" | |
56 class="sortDirectionIndicator" | |
57 sort="rdf:http://echo.unibe.ch/digilib/rdf#pn"/> | |
58 <treecol id="url" label="URL" hidden="true" flex="5" | |
59 class="sortDirectionIndicator" | |
60 sort="rdf:http://echo.unibe.ch/digilib/rdf#fn"/> | |
61 <treecol id="created" label="Created" hidden="true" flex="5" | |
62 class="sortDirectionIndicator" | |
63 sort="rdf:http://www.w3.org/2000/10/annotation-ns#created"/> | |
213 | 64 </treecols> |
203
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
65 |
213 | 66 <template> |
67 <rule> | |
214 | 68 <treechildren> |
69 <treeitem uri="rdf:*"> | |
213 | 70 <treerow> |
71 <treecell id="nameHeader" label="rdf:http://purl.org/dc/elements/1.0/title"/> | |
72 <treecell id="pagenumberHeader" label="rdf:http://echo.unibe.ch/digilib/rdf#pn"/> | |
73 <treecell id="urlHeader" label="rdf:http://echo.unibe.ch/digilib/rdf#fn"/> | |
74 <treecell id="createdHeader" label="rdf:http://www.w3.org/2000/10/annotation-ns#created"/> | |
75 </treerow> | |
76 </treeitem> | |
77 </treechildren> | |
78 </rule> | |
79 </template> | |
203
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
80 </tree> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
81 </vbox> |
bf945fcf9105
restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff
changeset
|
82 </tabpanel> |
213 | 83 </window> |