annotate xul/content/annota.xul @ 252:59250ea2ad55

servlet version 1.19b5 - filename and dpi in request - filename and dpi in dlInfo-*
author robcast
date Wed, 25 Aug 2004 01:06:30 +0200
parents 0e841edf6c39
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
5 <window xmlns:html="http://www.w3.org/1999/xhtml"
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
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
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
13 <script type="application/x-javascript" src="chrome://alcatraz/content/RDFTree.js" />
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
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
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
18 <vbox flex="1" >
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
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
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
22 <menuitem label="Save" onclick="quickSave()"/>
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
23 <menuitem label="Delete" oncommand="deleteAnnotation()"/>
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
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
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
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
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
46 <tree id="annotation_tree" flex="1" datasources="rdf:null" ref="urn:echo" ondblclick="tree_click()"
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
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
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
49 <treecols id="cols">
214
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
50 <treecol id="name" label="Name" primary="true" flex="10"
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
51 class="sortDirectionIndicator" sortActive="true"
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
52 sortDirection="ascending"
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
53 sort="rdf:http://purl.org/dc/elements/1.0/title"/>
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
54 <splitter/>
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
55 <treecol id="pagenumber" label="Page" flex="1"
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
56 class="sortDirectionIndicator"
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
57 sort="rdf:http://echo.unibe.ch/digilib/rdf#pn"/>
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
58 <treecol id="url" label="URL" hidden="true" flex="5"
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
59 class="sortDirectionIndicator"
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
60 sort="rdf:http://echo.unibe.ch/digilib/rdf#fn"/>
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
61 <treecol id="created" label="Created" hidden="true" flex="5"
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
62 class="sortDirectionIndicator"
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
63 sort="rdf:http://www.w3.org/2000/10/annotation-ns#created"/>
213
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
64 </treecols>
203
bf945fcf9105 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
65
213
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
66 <template>
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
67 <rule>
214
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
68 <treechildren>
0e841edf6c39 The tree is sortable now.
slarti
parents: 213
diff changeset
69 <treeitem uri="rdf:*">
213
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
70 <treerow>
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
71 <treecell id="nameHeader" label="rdf:http://purl.org/dc/elements/1.0/title"/>
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
72 <treecell id="pagenumberHeader" label="rdf:http://echo.unibe.ch/digilib/rdf#pn"/>
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
73 <treecell id="urlHeader" label="rdf:http://echo.unibe.ch/digilib/rdf#fn"/>
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
74 <treecell id="createdHeader" label="rdf:http://www.w3.org/2000/10/annotation-ns#created"/>
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
75 </treerow>
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
76 </treeitem>
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
77 </treechildren>
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
78 </rule>
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
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
8e4724b71b67 Enhanced the robustness of the annotation tab.
slarti
parents: 203
diff changeset
83 </window>