comparison chrome/content/create.xul @ 0:c14d52a3b2fe

initial import
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 11 Aug 2008 20:34:21 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c14d52a3b2fe
1 <?xml version="1.0"?>
2
3 <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
4
5
6 <window id="tinyurl-create" title="Create TinyUrl"
7 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
8
9
10 <script type="application/x-javascript" src="chrome://tinyurl/content/tinyurl.js"></script>
11 <script type="application/x-javascript" src="chrome://tinyurl/content/saved.js"></script>
12 <script type="application/x-javascript" src="chrome://tinyurl/content/create.js" />
13 <script type="application/x-javascript">
14 window.addEventListener("load", tinyurl_create_load, true);
15 </script>
16
17 <keyset>
18 <key id="close-key" key="w" modifiers="accel" oncommand="self.close();" />
19 </keyset>
20
21 <deck id="loading-steps" style="background: #FFC; padding: 20px;" flex="1">
22 <vbox pack="center" align="center">
23 <label value="Loading...." />
24 <spacer height="10" />
25 <button id="cancel-btn" label="Cancel" oncommand="tinyrl_create_cancel()" default="true" />
26 </vbox>
27 <vbox style="font-weight: bold; padding: 10px text-align: center;" flex="1" align="center" pack="center">
28 <description id="tinyurl-label"></description>
29 <description style="font-weight: normal;">has been copied to your clipboard.</description>
30 <spacer height="7" />
31 <hbox>
32 <button label="Close" id="close1-btn" oncommand="self.close()" />
33 <button label="Goto" oncommand="tinyurl_create_goto();" style="font-weight: normal;" />
34 <button label="Save" oncommand="tinyurl_create_openSave()" style="font-weight: normal;" />
35 </hbox>
36 <spacer height="7" />
37 </vbox>
38 <vbox pack="center" align="center">
39 <description style="color: #F00;">
40 An error occurred. Is your internet connection available?
41 </description>
42 <spacer height="10" />
43 <button label="Close" id="close2-btn" oncommand="self.close()" />
44 </vbox>
45 </deck>
46 </window>