r9476 - in apps/gobi/trunk/code: Global Page/skins
[email protected] Fri, 2 Jan 2009 12:20:09 +0100
Newsgroups
gmane.comp.java.helma.cvs
Message-ID
<[email protected] >
Author: hannes
Date: 2009-01-02 12:20:08 +0100 (Fri, 02 Jan 2009)
New Revision: 9476
Modified:
apps/gobi/trunk/code/Global/Markup.js
apps/gobi/trunk/code/Page/skins/edit.skin
apps/gobi/trunk/code/Page/skins/stylesheet.skin
Log:
Draw a thick border around focused text input elements.
Details at http://dev.helma.org/trac/helma/changeset/9476
Modified: apps/gobi/trunk/code/Global/Markup.js
===================================================================
--- apps/gobi/trunk/code/Global/Markup.js 2008-12-23 11:14:29 UTC (rev 9475)
+++ apps/gobi/trunk/code/Global/Markup.js 2009-01-02 11:20:08 UTC (rev 9476)
@@ -613,7 +613,7 @@
Html.link = Html.a; // convenience
Html.form = Html.partial(Html.renderCallbackElement, "form");
Html.textarea = Html.partial(Html.renderElement, "textarea");
-Html.input = Html.partial(Html.renderElement, "input");
+Html.input = Html.partial(Html.renderInputElement, "text");
Html.button = Html.partial(Html.renderInputElement, "button");
Html.submit = Html.partial(Html.renderInputElement, "submit");
Html.hidden = Html.partial(Html.renderInputElement, "hidden");
@@ -652,7 +652,7 @@
Html.Link = Html.A; // convenience
Html.Form = Html.partial(Html.createCallbackElement, "form");
Html.Textarea = Html.partial(Html.createElement, "textarea");
-Html.Input = Html.partial(Html.createElement, "input");
+Html.Input = Html.partial(Html.createInputElement, "text");
Html.Button = Html.partial(Html.createInputElement, "button");
Html.Submit = Html.partial(Html.createInputElement, "submit");
Html.Hidden = Html.partial(Html.createInputElement, "hidden");
Modified: apps/gobi/trunk/code/Page/skins/edit.skin
===================================================================
--- apps/gobi/trunk/code/Page/skins/edit.skin 2008-12-23 11:14:29 UTC (rev 9475)
+++ apps/gobi/trunk/code/Page/skins/edit.skin 2009-01-02 11:20:08 UTC (rev 9476)
@@ -10,7 +10,7 @@
<table class="horizontalFill"><tr><td>Describe Changes: </td>
<td class="horizontalFill"><input name="gobi_describe" style="width: 100%;"
- value="<% request.gobi_describe %>"/></td></tr></table>
+ type="text" value="<% request.gobi_describe %>"/></td></tr></table>
<p>
<input type="submit" name="preview" value="<% msg name='preview_button' %>"
Modified: apps/gobi/trunk/code/Page/skins/stylesheet.skin
===================================================================
--- apps/gobi/trunk/code/Page/skins/stylesheet.skin 2008-12-23 11:14:29 UTC (rev 9475)
+++ apps/gobi/trunk/code/Page/skins/stylesheet.skin 2009-01-02 11:20:08 UTC (rev 9476)
@@ -215,7 +215,8 @@
font-weight: bold;
}
- textarea, input, select {
+ textarea:focus, input[type=text]:focus {
+ border: 2px solid #66f;
}
input {