diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/chrome/content/create.xul	Mon Aug 11 20:34:21 2008 +0900
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+
+<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
+
+
+<window id="tinyurl-create" title="Create TinyUrl"
+        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+	
+	<script type="application/x-javascript" src="chrome://tinyurl/content/tinyurl.js"></script>
+	<script type="application/x-javascript" src="chrome://tinyurl/content/saved.js"></script>
+	<script type="application/x-javascript" src="chrome://tinyurl/content/create.js" />
+	<script type="application/x-javascript">
+		window.addEventListener("load", tinyurl_create_load, true);
+	</script>
+	
+	<keyset>
+		<key id="close-key" key="w" modifiers="accel" oncommand="self.close();" />
+	</keyset>
+	
+	<deck id="loading-steps" style="background: #FFC; padding: 20px;" flex="1">
+		<vbox pack="center" align="center">
+			<label value="Loading...." />
+			<spacer height="10" />
+			<button id="cancel-btn" label="Cancel" oncommand="tinyrl_create_cancel()" default="true" />
+		</vbox>
+		<vbox style="font-weight: bold; padding: 10px text-align: center;" flex="1" align="center" pack="center">
+			<description id="tinyurl-label"></description>
+			<description style="font-weight: normal;">has been copied to your clipboard.</description>
+			<spacer height="7" />
+			<hbox>
+				<button label="Close" id="close1-btn" oncommand="self.close()" />
+				<button label="Goto" oncommand="tinyurl_create_goto();" style="font-weight: normal;" />
+				<button label="Save" oncommand="tinyurl_create_openSave()" style="font-weight: normal;" />
+			</hbox>
+			<spacer height="7" />
+		</vbox>
+		<vbox pack="center" align="center">
+			<description style="color: #F00;">
+				An error occurred.  Is your internet connection available?
+			</description>
+			<spacer height="10" />
+			<button label="Close" id="close2-btn" oncommand="self.close()" />
+		</vbox>
+	</deck>
+</window>
\ No newline at end of file