You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by rg...@apache.org on 2010/10/23 01:50:36 UTC

svn commit: r1026533 - in /incubator/wookie/trunk/widgets/widget-template: index.html style/screen.css

Author: rgardler
Date: Fri Oct 22 23:50:36 2010
New Revision: 1026533

URL: http://svn.apache.org/viewvc?rev=1026533&view=rev
Log:
- add a save preferences button
- Minor layout improvements

Modified:
    incubator/wookie/trunk/widgets/widget-template/index.html
    incubator/wookie/trunk/widgets/widget-template/style/screen.css

Modified: incubator/wookie/trunk/widgets/widget-template/index.html
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/widget-template/index.html?rev=1026533&r1=1026532&r2=1026533&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/widget-template/index.html (original)
+++ incubator/wookie/trunk/widgets/widget-template/index.html Fri Oct 22 23:50:36 2010
@@ -26,10 +26,14 @@
 	<body>
 	  <div id="wookie-widget">
 		<div id="wookie-toolbar"><img id="wookie-widget-icon" src="images/icon_16x16.png" onclick="wookieShowSettings()" alt="@widget.shortname@ Icon"/>@widget.shortname@</div>
-		<div id="wookie-content">@widget.description@</div>
+		<div id="wookie-content">
+		  <h2>@widget.shortname@</h2>
+		  <p>@widget.description@</p>
+		</div>
 		<div id="wookie-settings">
 	      <p>This is the settings pane, it is hidden by default. 
 	         If your widget does not have any settings then remove this pane.</p>
+	       <p><input type="submit" class="wookie-form-button" value="Save" onclick="wookieShowMain()"/></p>
 	    </div>
 		<div id="wookie-footer">Powered by Apache Wookie (Incubating)</div>
 	  </div>

Modified: incubator/wookie/trunk/widgets/widget-template/style/screen.css
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/widget-template/style/screen.css?rev=1026533&r1=1026532&r2=1026533&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/widget-template/style/screen.css (original)
+++ incubator/wookie/trunk/widgets/widget-template/style/screen.css Fri Oct 22 23:50:36 2010
@@ -62,3 +62,14 @@ html, body {
     text-align:center;
     height:1.5em;   /* Height of the footer */
 }
+
+input.wookie-form-button {
+   font-size:9px;
+   font-family:Verdana,sans-serif;
+   font-weight:bold;
+   color:#fcfcfc;
+   background-color:#000000;
+   border-style:solid;
+   border-color:#cccccc;
+   border-width:1px;
+}
\ No newline at end of file