diff chrome/content/tinyurl_edit.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/tinyurl_edit.xul	Mon Aug 11 20:34:21 2008 +0900
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
+
+<dialog buttons="cancel, accept"
+        id="tinyurlEditDialog"
+        ondialogaccept="return tinyurl_edit_save();"
+        ondialogcancel="return true;"
+		onload="tinyurl_edit_load();"
+        title="TinyUrl - Edit" height="300" width="300" persist="height width"
+        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="padding: 1px; margin: 0;">
+	
+	<script type="application/x-javascript" src="chrome://tinyurl/content/edit.js"></script>
+	
+	<vbox flex="1" style="overflow: auto; padding: 7px;">
+		<textbox id="title-field" value="" />
+		
+		<hbox style="margin: 10px 3px;">
+			<image id="icon-image" src="chrome://tinyurl/content/icons/document.png" />
+			<label id="tinyurl-label" value="" style="color: #00F; text-decoration: underline; cursor: pointer;" onclick="tinyurl_edit_open()" />
+		</hbox>
+		
+		<textbox id="real-field" value="" readonly="true" multiline="true" rows="3" wrap="true" />
+	
+		<spacer height="50" width="1" />
+	</vbox>
+	
+	<hbox>
+		<hbox pack="center" align="center" flex="2">
+			<spacer height="1" width="20" />
+			<button value="Apply" dlgtype="accept" />
+			<button value="Cancel" dlgtype="cancel" />
+		</hbox>
+		<resizer id="windowResizer" dir="bottomright" />
+	</hbox>
+</dialog>
\ No newline at end of file