[weld-commits] Weld SVN: r6472 - in examples/trunk/jsf/pastecode/src/main/webapp: img and 1 other directories.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Wed Jun 16 21:58:20 EDT 2010
Author: shane.bryzak at jboss.com
Date: 2010-06-16 21:58:20 -0400 (Wed, 16 Jun 2010)
New Revision: 6472
Added:
examples/trunk/jsf/pastecode/src/main/webapp/img/submit.png
Modified:
examples/trunk/jsf/pastecode/src/main/webapp/home.xhtml
examples/trunk/jsf/pastecode/src/main/webapp/style/style.css
Log:
completed main form style changes
Modified: examples/trunk/jsf/pastecode/src/main/webapp/home.xhtml
===================================================================
--- examples/trunk/jsf/pastecode/src/main/webapp/home.xhtml 2010-06-17 01:37:20 UTC (rev 6471)
+++ examples/trunk/jsf/pastecode/src/main/webapp/home.xhtml 2010-06-17 01:58:20 UTC (rev 6472)
@@ -26,21 +26,23 @@
</div>
<div class="formRow">
- <h:outputLabel for="user" value="Name / title"/>
- <h:inputText id="user" maxlength="30" size="30" value="#{pasteWindow.codeFragment.user}"/>
- </div>
-
- <div class="formRow">
<h:outputLabel for="secured" value="Exposure"/>
<h:selectOneMenu id="exposure" value="#{pasteWindow.privateFragment}">
<f:selectItem itemValue="#{true}" itemLabel="Private"/>
<f:selectItem itemValue="#{false}" itemLabel="Public"/>
</h:selectOneMenu>
</div>
+
+ <div class="formRow">
+ <h:outputLabel for="user" value="Name / title"/>
+ <h:inputText id="user" maxlength="30" size="30" value="#{pasteWindow.codeFragment.user}"/>
+ </div>
<div class="formButtons">
- <h:commandButton action="#{pasteWindow.send}" id="send" value=" Send "/>
+ <h:commandButton action="#{pasteWindow.send}" id="send" image="img/submit.png"/>
</div>
+
+ <br style="clear:both"/>
</ui:define>
Added: examples/trunk/jsf/pastecode/src/main/webapp/img/submit.png
===================================================================
(Binary files differ)
Property changes on: examples/trunk/jsf/pastecode/src/main/webapp/img/submit.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: examples/trunk/jsf/pastecode/src/main/webapp/style/style.css
===================================================================
--- examples/trunk/jsf/pastecode/src/main/webapp/style/style.css 2010-06-17 01:37:20 UTC (rev 6471)
+++ examples/trunk/jsf/pastecode/src/main/webapp/style/style.css 2010-06-17 01:58:20 UTC (rev 6472)
@@ -75,6 +75,7 @@
div#main {
clear: both;
padding: 2px;
+ margin-left: 4px;
}
div#content {
@@ -97,17 +98,17 @@
margin: 8px 4px 8px 4px;
}
+/* General form styles */
+
.pastecode {
width: 98%;
height: 260px;
margin-left: 4px;
- background-color: #fcfcfc;
+ background-color: #fafafc;
+ border: 1px solid #cccccc;
overflow: auto;
- border: 1px solid #7f7f7f;
}
-/* General form styles */
-
div.formRow {
padding: 3px 4px 3px 2px;
clear: both;
@@ -120,11 +121,17 @@
}
div.formRow input[type='text'] {
- width: 220px;
+ width: 210px;
+ background-color: #fafafc;
+ border: 1px solid #cccccc;
+ padding: 4px;
}
-div.formRow input[type='text'].wide {
- width: 440px;
+div.formRow select {
+ width: 220px;
+ background-color: #fafafc;
+ border: 1px solid #cccccc;
+ padding: 4px;
}
div.formButtons {
More information about the weld-commits
mailing list