source: DASISH/t5.6/client/chrome/markingcollection/content/markingcollection/databasePropDialog.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: 2.7 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/setting.css" type="text/css" ?>
4<?xml-stylesheet href="chrome://markingcollection/skin/property.css" type="text/css" ?>
5<?xul-overlay href="chrome://markingcollection/content/databaseDialogOverlay.xul"?>
6<!DOCTYPE prefwindow SYSTEM "chrome://markingcollection/locale/markingcollection.dtd">
7<dialog
8        id="mcDBPropWindow"
9        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
10        title="&markingcollection.tools.settings; - &markingcollection.app.title;"
11        buttons="accept,cancel"
12        onload="mcDatabasePropService.init();"
13        onunload="mcDatabasePropService.done();"
14        ondialogaccept="return mcDatabasePropService.accept();"
15        ondialogcancel="return mcDatabasePropService.cancel();"
16>
17        <script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js" />
18        <script type="application/x-javascript" src="chrome://markingcollection/content/databasePropDialog.js" />
19        <stringbundleset>
20                <stringbundle id="mcDBPropString" src="chrome://markingcollection/locale/markingcollection.properties" />
21        </stringbundleset>
22        <groupbox flex="1">
23                <caption label="&markingcollection.prop.general;"/>
24                <grid>
25                        <columns>
26                                <column/>
27                                <column flex="1"/>
28                        </columns>
29                        <rows>
30                                <row>
31                                        <label value="&markingcollection.database.name;" control="mcDBPropTitleTextbox"/>
32                                        <textbox id="mcDBPropTitleTextbox" oninput="mcDatabasePropService.input();"/>
33                                </row>
34                                <row>
35                                        <label value="&markingcollection.database.comment;" control="mcDBPropCommentTextbox"/>
36                                        <textbox id="mcDBPropCommentTextbox" multiline="true" rows="5"/>
37                                </row>
38                        </rows>
39                </grid>
40                <checkbox id="mcDBPropUseCheckbox" label="&markingcollection.database.use;" oncommand="mcDatabasePropService.commandUse(event);"/>
41                <checkbox id="mcDBPropContextmenuCheckbox" label="&markingcollection.database.contextmenu;"/>
42                <checkbox id="mcDBPropDefaultCheckbox" label="&markingcollection.database.default;" oncommand="mcDatabasePropService.commandDefault(event);" hidden="true"/>
43        </groupbox>
44        <groupbox id="mcDBPropDatabaseGroup" flex="1">
45                <caption label="&markingcollection.database;" />
46                <grid flex="1">
47                        <columns>
48                                <column />
49                                <column flex="1" />
50                        </columns>
51                        <rows>
52                                <row align="center">
53                                        <label value="path:" />
54                                        <textbox id="mcDBPropDBPath" readonly="true" />
55                                </row>
56                                <row align="center">
57                                        <label value="date:" />
58                                        <textbox id="mcDBPropDBDate" readonly="true" />
59                                </row>
60                                <row id="mcDBPropSizeRow" align="center">
61                                        <label value="size:" />
62                                        <textbox id="mcDBPropDBSize" readonly="true" />
63                                </row>
64                        </rows>
65                </grid>
66        </groupbox>
67</dialog>
Note: See TracBrowser for help on using the repository browser.