source: DASISH/t5.6/client/branches/webannotator-basic-current-xsd/chrome/markingcollection/content/markingcollection/captureDialog.xul @ 5703

Last change on this file since 5703 was 5703, checked in by stephanie.roth@snd.gu.se, 10 years ago

Initial commit of current status quo from GitHub. TODO: Adjust client code to work with updated xsd file.

  • Property svn:executable set to *
File size: 2.2 KB
Line 
1<?xml version="1.0" encoding="UTF-8" ?>
2<?xml-stylesheet href="chrome://global/skin/" type="text/css" ?>
3<!DOCTYPE overlay SYSTEM "chrome://markingcollection/locale/markingcollection.dtd">
4<dialog
5        id="mcCaptureDialog"
6        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
7        xmlns:html="http://www.w3.org/1999/xhtml"
8        title="&markingcollection.capture;"
9        buttons="accept,cancel"
10        onload="mcCaptureDialog.init();"
11        ondialogaccept="mcCaptureDialog.accept();"
12        ondialogcancel="mcCaptureDialog.cancel();">
13        <script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js" />
14        <script type="application/x-javascript" src="chrome://markingcollection/content/captureDialog.js" />
15        <stringbundleset id="mcStringBundles">
16                <stringbundle id="mcCaptureString" src="chrome://markingcollection/locale/markingcollection.properties" />
17        </stringbundleset>
18        <toolbox>
19                <toolbar id="mcCaptureToolbar">
20                        <toolbarbutton label="&markingcollection.capture.all_select;" oncommand="mcCaptureDialog.cmdAllSelect(event);"/>
21                </toolbar>
22        </toolbox>
23        <html:div id="cutdiv" style="position:relative;left:0px;top:0px;max-width:600px;max-height:400px;overflow:scroll;border:2px solid gray !important;" >
24                <html:div id="basediv" style="position:absolute;left:0px;top:0px;width:600px;height:400px;overflow:hidden !important;">
25                        <html:canvas id="cutcanvas"/>
26                        <html:div id="vertical_cursor"   style="position:absolute;left:10px;top:0px; width:1px; height:100%;max-width:1px; max-height:100%; background-color:red; opacity:0.5 !important;"/>
27                        <html:div id="horizontal_cursor" style="position:absolute;left:0px; top:10px;width:100%;height:1px; max-width:100%;max-height:1px;  background-color:red; opacity:0.5 !important;"/>
28                        <html:div id="rubber_band" style="display:none;position:absolute;left:0px;top:0px;width:0px;height:0px; border:2px dotted red !important;"/>
29                </html:div>
30        </html:div>
31        <hbox flex="1">
32                <label value="&markingcollection.capture.title;"/>
33                <textbox id="mcCaptureTitle" flex="1"/>
34        </hbox>
35        <hbox>
36                <checkbox id="mcCaptureLink" checked="true" label="&markingcollection.capture.document_link;"/>
37        </hbox>
38        <vbox id="captureMenuVBox" hidden="true">
39                <scrollbox width="1" height="1">
40                        <html:canvas id="capturecanvas"/>
41                </scrollbox>
42        </vbox>
43</dialog>
Note: See TracBrowser for help on using the repository browser.