[app] Add template 'chart' page (bug #130)
[abstract.git] / app / chrome / content / chart.xul
blob239b40e9322e4fc3f9a48be7609a679f38e7cc5a
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
3 <?xml-stylesheet href="chrome://abstract/content/abstract.css" type="text/css"?>
4 <!DOCTYPE page SYSTEM "chrome://abstract/locale/chart.dtd">
6 <page
7 id="chart_page"
8 onload="chartPageLoad();"
9 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
11 <script type="application/x-javascript"
12 src="chrome://abstract/content/chart.js"/>
14 <stringbundleset>
15 <stringbundle id="bundle_abstract"
16 src="chrome://abstract/locale/abstract.properties" />
17 <stringbundle id="bundle_chart"
18 src="chrome://abstract/locale/chart.properties" />
19 </stringbundleset>
21 <commandset>
22 </commandset>
24 <keyset id="mainKeyset">
25 </keyset>
27 <broadcasterset>
28 <broadcaster id="canSet" />
29 <broadcaster id="isSet" disabled="true" collapsed="true" />
30 </broadcasterset>
32 <hbox align="center">
33 <description>&chartPage.title;</description>
34 </hbox>
35 <grid>
36 <rows>
37 <row align="center">
38 </row>
39 <row>
40 </row>
41 </rows>
42 <columns>
43 <column align="right" >
44 <description>&chart.date.label;</description>
45 <description>&chart.resource.label;</description>
46 <box/>
47 </column>
48 <column>
49 <datepicker id="chart.date" type="popup" />
50 <label id="chart.resource" class="text-link" value="&link.choose;"
51 onclick="openResource();"/>
52 <hbox>
53 <label id="transfer.set" class="text-link"
54 onclick="setResource();" value="&chart.setCmd.label;"
55 observes="canSet" />
56 <label id="transfer.hasResource" value="&chart.hasResource.label;"
57 observes="isSet" />
58 </hbox>
59 </column>
60 </columns>
61 </grid>
62 </page>
64 <!-- vim:set ts=2 sw=2 sts=2 et cindent tw=79 ft=xml: -->