source: DASISH/t5.6/client/chrome/markingcollection/content/markingcollection/property.xul @ 2709

Last change on this file since 2709 was 2709, checked in by sroth, 11 years ago

Wired-Marker initial source code with minor adjustments.

  • Property svn:executable set to *
File size: 8.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8" ?>
2<?xml-stylesheet href="chrome://global/skin/" type="text/css" ?>
3<?xml-stylesheet href="chrome://markingcollection/skin/property.css" type="text/css" ?>
4<?xml-stylesheet href="chrome://markingcollection/skin/setting.css" type="text/css" ?>
5<!DOCTYPE dialog [
6<!ENTITY % overlayDTD   SYSTEM "chrome://markingcollection/locale/markingcollection.dtd" >
7%overlayDTD;
8<!ENTITY % markerCustomDTD SYSTEM "chrome://markingcollection/locale/markerCustom.dtd" >
9%markerCustomDTD;
10<!ENTITY % markerDTD SYSTEM "chrome://markingcollection/locale/marker.dtd" >
11%markerDTD;
12]>
13<dialog
14        id="mcPropDialog"
15        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
16        buttons="accept,cancel"
17        onload="mcPropService.init();"
18        ondialogaccept="return mcPropService.accept(event);"
19        ondialogcancel="mcPropService.cancel();">
20        <script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js" />
21        <script type="application/x-javascript" src="chrome://markingcollection/content/property.js" />
22        <stringbundleset id="mcStringBundles">
23                <stringbundle id="mcPropString" src="chrome://markingcollection/locale/markingcollection.properties" />
24        </stringbundleset>
25        <tabbox id="mcPropTabbox">
26                <tabs orient="horizontal">
27                        <tab label="&markingcollection.prop.general;" id="mcPropGeneralTab" />
28                        <tab label="&markingcollection.prop.note;" id="mcPropNoteTab" />
29                        <tab label="&markingcollection.prop.extended_message;" id="mcPropExtendedMessageTab"/>
30                        <tab label="PubMed Central" id="mcPropMedlineTab"/>
31                        <tab label="HYPER-ANCHOR Code" id="mcPropURLTab"/>
32                        <tab label="&markingcollection.prop.metacapture;" id="mcPropMetaCaptureTab"/>
33                </tabs>
34                <tabpanels id="mcPropTabpanels">
35                        <tabpanel id="mcPropGeneralTabpanel" orient="vertical">
36                                <groupbox id="mcPropTitleGroup" flex="1">
37                                        <caption label="&markingcollection.prop.title;" />
38                                        <hbox id="mcPropTitleHBox" style="border:2px solid transparent;">
39                                                <textbox
40                                                        id="mcPropTitle"
41                                                        multiline="true"
42                                                        newlines="replacewithspaces"
43                                                        readonly="true"
44                                                        flex="1"
45                                                        emptytext="&marker.initdata.dialog.emptytext.title;"
46                                                        placeholder="&marker.initdata.dialog.emptytext.title;"
47                                                        style="-moz-appearance:none !important;border:none;"
48                                                        onfocus="this.select()"
49                                                        oninput="mcPropService.inputTitle(event);"
50                                                        onblur="mcPropService.inputTitle(event);"
51                                                        onchange="mcPropService.checkedTitle(event);"/>
52                                        </hbox>
53                                </groupbox>
54                                <groupbox id="mcPropTagGroup" flex="1">
55                                        <caption label="&markingcollection.prop.tag;" />
56                                        <textbox
57                                                id="mcPropTagTextbox"
58                                                flex="1"
59                                                emptytext="&markingcollection.prop.tag.emptytext;"
60                                                placeholder="&markingcollection.prop.tag.emptytext;"
61                                                newlines="replacewithspaces"
62                                                readonly="true"
63                                                onfocus="this.select()"
64                                                onchange="mcPropService.checkedTag();"
65                                                style="-moz-appearance:none !important;border:none;"/>
66                                </groupbox>
67                                <groupbox id="mcPropMarkerGroup" flex="1">
68                                        <caption label="&markingcollection.marker;" />
69                                        <hbox flex="1">
70                                                <vbox flex="1" style="background:white;padding:10px;border:1px solid ThreeDShadow;text-align:center;" align="center">
71                                                        <label id="mcPropSample" value="Firefox, rediscover the web" />
72                                                </vbox>
73                                                <spacer flex="1" />
74                                                <vbox flex="1">
75                                                        <button id="mcPropMarkerCustomButton" label="&markingcollection.button.customize;..." oncommand="mcPropService.openDialog();" />
76                                                </vbox>
77                                        </hbox>
78                                </groupbox>
79                                <groupbox id="mcPropIconsizeGroup" flex="1" hidden="true">
80                                        <caption label="&markingcollection.icon_size;" />
81                                        <hbox flex="1">
82                                                <image id="mcPropIconsizeImage" class="iconsize" iconsize="small"/>
83                                                <radiogroup id="mcPropIconsize" orient="horizontal" onclick="mcPropService.commandIconsize(event);">
84                                                        <radio id="mcPropIconsizeLarge" value="large" label="&markingcollection.icon_size.large;"/>
85                                                        <radio id="mcPropIconsizeSmall" value="small" label="&markingcollection.icon_size.small;" selected="true"/>
86                                                </radiogroup>
87                                        </hbox>
88                                </groupbox>
89                                <groupbox id="mcPropShortcutGroup" flex="1">
90                                        <caption><checkbox id="mcPropShortcutDisabled" label="&markingcollection.shortcut;" oncommand="mcPropService.commandShortcut(event);"/></caption>
91                                        <description style="-moz-appearance:none;color:#ff0000;">&markingcollection.shortcut.attention_modifiers;</description>
92                                        <hbox flex="1" align="center" pack="center">
93                                                <checkbox id="mcPropShortcutAccel" label="Control" hidden="true"/>
94                                                <checkbox id="mcPropShortcutShift" label="Shift" hidden="true"/>
95                                                <checkbox id="mcPropShortcutAlt" label="Alt" hidden="true"/>
96                                                <label id="mcPropShortcutModifiers" control="mcPropShortcutKey"/>
97                                                <textbox id="mcPropShortcutKey" size="1" maxlength="1" readonly="true" onfocus="this.select()" onkeypress="mcPropService.inputShortcut(event);"/>
98                                        </hbox>
99                                </groupbox>
100                                <groupbox id="mcPropDatabaseGroup" flex="1">
101                                        <caption label="&markingcollection.database;" />
102                                        <grid flex="1">
103                                                <columns>
104                                                        <column />
105                                                        <column flex="1" />
106                                                </columns>
107                                                <rows id="mcPropDBRows">
108                                                        <row align="center">
109                                                                <label value="path:" />
110                                                                <textbox id="mcPropDBPath" readonly="true" />
111                                                        </row>
112                                                        <row align="center">
113                                                                <label value="date:" />
114                                                                <textbox id="mcPropDBDate" readonly="true" />
115                                                        </row>
116                                                        <row id="mcPropSizeRow" align="center">
117                                                                <label value="size:" />
118                                                                <textbox id="mcPropDBSize" readonly="true" />
119                                                        </row>
120                                                </rows>
121                                        </grid>
122                                        <hbox flex="1">
123                                                <spacer flex="1" />
124                                                <button id="mcPropMarkerCustomButton1" label="&markingcollection.database.vacuum;" oncommand="mcPropService.vacuumDB();" />
125                                        </hbox>
126                                </groupbox>
127                        </tabpanel>
128                        <tabpanel id="mcPropNoteTabpanel">
129                                <groupbox id="mcPropNoteGroup" flex="1">
130                                        <caption label="&markingcollection.prop.note;" />
131                                        <textbox
132                                                id="mcPropNote"
133                                                multiline="true"
134                                                readonly="true"
135                                                flex="1"
136                                                style="background:white;padding:10px;border:1px solid ThreeDShadow;text-align:center;"
137                                                onfocus="this.select()"
138                                                oninput="mcPropService.updateNoteTab(this.value);" />
139                                </groupbox>
140                        </tabpanel>
141                        <tabpanel id="mcPropExtendedMessageTabpanel">
142                                <grid flex="1">
143                                        <columns>
144                                                <column />
145                                                <column />
146                                        </columns>
147                                        <rows>
148                                                <row align="center">
149                                                        <hbox flex="1" pack="end">
150                                                                <label value="Logical Page:" />
151                                                        </hbox>
152                                                        <textbox id="mcPropExtendedMessageLogicalPageTextbox" size="1"   onfocus="this.select();"/>
153                                                </row>
154                                                <row align="center">
155                                                        <hbox flex="1" pack="end">
156                                                                <label value="Physical Page:" />
157                                                        </hbox>
158                                                        <textbox id="mcPropExtendedMessagePhysicalPageTextbox" size="1"  onfocus="this.select();"/>
159                                                </row>
160                                        </rows>
161                                </grid>
162                        </tabpanel>
163                        <tabpanel id="mcPropMedlineTabpanel">
164                                <grid flex="1">
165                                        <columns>
166                                                <column />
167                                                <column flex="1"/>
168                                        </columns>
169                                        <rows>
170                                                <row align="center">
171                                                        <hbox flex="1" pack="end">
172                                                                <label value="Pubmed Central ID:" />
173                                                        </hbox>
174                                                        <textbox
175                                                                id="mcPropMedlinePMCIDTextbox"
176                                                                readonly="true"
177                                                                style="-moz-appearance:none !important;border:none;background:white !important;"
178                                                                onfocus="this.select()"/>
179                                                </row>
180                                                <row align="center">
181                                                        <hbox flex="1" pack="end">
182                                                                <label value="Pubmed ID:" />
183                                                        </hbox>
184                                                        <textbox
185                                                                id="mcPropMedlinePMIDTextbox"
186                                                                readonly="true"
187                                                                style="-moz-appearance:none !important;border:none;background:white !important;"
188                                                                onfocus="this.select()"/>
189                                                </row>
190                                                <row align="start">
191                                                        <hbox flex="1" pack="end">
192                                                                <label value="Source:" />
193                                                        </hbox>
194                                                        <textbox
195                                                                id="mcPropMedlineSOTextbox"
196                                                                multiline="true"
197                                                                readonly="true"
198                                                                style="-moz-appearance:none !important;border:none;background:white !important;"
199                                                                onfocus="this.select()"/>
200                                                </row>
201                                        </rows>
202                                </grid>
203                        </tabpanel>
204                        <tabpanel id="mcPropURLTabpanel">
205                                <textbox
206                                        id="mcPropURLTextbox"
207                                        multiline="true"
208                                        readonly="true"
209                                        flex="1"
210                                        style="-moz-appearance:none !important;border:none;background:white !important;"
211                                        onfocus="this.select()"/>
212                        </tabpanel>
213                        <tabpanel id="mcPropMetaCaptureTabpanel">
214                                <textbox
215                                        id="mcPropMetaCaptureTextbox"
216                                        multiline="true"
217                                        readonly="true"
218                                        flex="1"
219                                        style="-moz-appearance:none !important;border:none;background:white !important;"
220                                        onfocus="this.select()"/>
221                        </tabpanel>
222                </tabpanels>
223        </tabbox>
224</dialog>
Note: See TracBrowser for help on using the repository browser.