[jboss-cvs] jboss-seam/examples/contactlist/view ...

Gavin King gavin.king at jboss.com
Thu Oct 5 21:20:24 EDT 2006


  User: gavin   
  Date: 06/10/05 21:20:24

  Modified:    examples/contactlist/view    screen.css search.xhtml
                        viewContact.xhtml
  Log:
  better ui
  
  Revision  Changes    Path
  1.2       +64 -79    jboss-seam/examples/contactlist/view/screen.css
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: screen.css
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/contactlist/view/screen.css,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- screen.css	6 Oct 2006 00:23:41 -0000	1.1
  +++ screen.css	6 Oct 2006 01:20:24 -0000	1.2
  @@ -4,48 +4,48 @@
   
   .menuButton {
   	background-color:#8CAFCD;
  -	border: 1px solid white;
  -	border-style: none solid none none ;
  -	margin-left:0px;
  -	padding-bottom: 5px;
  +	padding-top:10px;
  +	padding-bottom:10px;
  +}
  +.menuButton a {
  +    font-weight:bold;
  +    text-decoration:none;
  +	padding-left:25px;
  +	padding-right:25px;
   }
   .menuButton a:active,.menuButton a:link,.menuButton a:visited {
   	font-family:Arial,sans-serif;
  +	background-color:#8CAFCD;
       color: white;
  -    font-weight:bold;
  -    text-decoration:none;
  -	padding:20px;
  +	border-right: 1px solid white;
   }
   .menuButton a:hover {
   	font-family:Arial,sans-serif;
       background-color: white;
       color:#8CAFCD;
  -    font-weight:bold;
  -    text-decoration:none;
  -	padding:20px;
   }
   
  -.actionButton a:active,.actionButton a:link,.actionButton a:visited,.actionButton a:hover {
  +.actionButton {
  +	width:100%;
  +	text-align:center;
  +}
  +.tableControl {
  +	width:100%;
  +	text-align:right;
  +}
  +.actionButton a, .tableControl a {
   	font-family:Arial,sans-serif;
  -	font-size:0.9em;
   	font-weight:bold;
   	color: #578BB8;
   	border: 1px solid #578BB8;
   	text-decoration:none;
  -	padding:3px;
  +	padding:5px;
   }
  -.actionButton a:hover {
  -	font-family:Arial,sans-serif;
  -	font-size:0.9em;
  -	font-weight:bold;
  +.actionButton a:hover, .tableControl a:hover {
   	color: white;
   	background-color: #578BB8;
  -	border: 4px solid #578BB8;
  -	text-decoration:none;
  -	padding:1px;
   }
   
  -
   h1 {
   	font-family:Arial,sans-serif;
   	color:#578BB8;
  @@ -57,25 +57,16 @@
   	font-family:Arial,sans-serif;
   	color: #616161;
   }
  -textarea {
  -	width: 300px;
  -	height: 100px;
  +
  +.body {
  +	padding: 30px;
   }
  +
  +
   table {
   	width: 100%;
  +	margin-bottom: 20px;
   }
  -.body {
  -	padding: 25px;
  -}
  -.nav {
  -	width:100%;
  -	margin-top: 30px;
  -	background-color:#D6D6D6;
  -	height: 30px;
  -	border: 2px solid #578BB8;
  -	border-style: solid none none none ;	
  -}
  -
   th {
   	background-color:#578BB8;
   	color:white;
  @@ -100,6 +91,7 @@
   .second td {
   	background-color:white;
   }
  +
   .dialog 
   {
   	padding: 15px;
  @@ -111,42 +103,35 @@
   	width: 120px;
   	font-weight: bold;
   }
  -
   .dialog .textfield {
   	width: 180px;
   	margin-bottom: 5px;
   }
   
  -.prop {
  -	padding: 5px;
  -}
  -.buttons {
  -	margin-top: 15px;
  -}
  -.actionButtons {
  -	width:100px;
  -}
  -div .errors {
  -	border: 2px solid red;
  -	padding: 5px;
  -	margin-top:10px;
  -	margin-bottom:10px;
  -}
  -td .errors {
  -   border: 1px solid red;
  -}
   .message {
   	border: 1px solid #FFCC00;
   	padding: 5px;
   	margin-top:10px;
   	margin-bottom:10px;
  +	background-color:#F0F0F0;
  +}
  +
  +.prop {
  +	padding: 5px;
   }
   .prop .name {
   	font-weight:bold;
   	text-align:left;
  -	width:20%;
  +	width:110px;
   }
   .prop .value {
   	text-align:left;
  -	width:80%;
  +	width:200px;
  +}
  +.value input {
  +	width:190px;
  +}
  +.prop .errors {
  +	color: red;
  +	text-align:left;
   }
  \ No newline at end of file
  
  
  
  1.3       +1 -1      jboss-seam/examples/contactlist/view/search.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: search.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/contactlist/view/search.xhtml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- search.xhtml	6 Oct 2006 00:23:41 -0000	1.2
  +++ search.xhtml	6 Oct 2006 01:20:24 -0000	1.3
  @@ -69,7 +69,7 @@
         </table>
         
         <!-- pagination control -->
  -      <div class="actionButton">
  +      <div class="tableControl">
           <s:link view="/search.xhtml" rendered="#{contacts.previousExists}" value="&lt;&lt; First Page">
             <f:param name="firstResult" value="0"/>
           </s:link>
  
  
  
  1.4       +9 -0      jboss-seam/examples/contactlist/view/viewContact.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: viewContact.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/contactlist/view/viewContact.xhtml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- viewContact.xhtml	6 Oct 2006 00:23:41 -0000	1.3
  +++ viewContact.xhtml	6 Oct 2006 01:20:24 -0000	1.4
  @@ -33,38 +33,47 @@
             <tr class="prop">
               <td class="name">First Name:</td>
               <td class="value">#{contact.firstName}</td>
  +            <td/>
             </tr>
             <tr class="prop">
               <td class="name">Last Name:</td>
               <td class="value">#{contact.lastName}</td>
  +            <td/>
             </tr>
             <tr class="prop">
               <td class="name">Cell Phone:</td>
               <td class="value">#{contact.cellPhone}</td>
  +            <td/>
             </tr>
             <tr class="prop">
               <td class="name">Home Phone:</td>
               <td class="value">#{contact.homePhone}</td>
  +            <td/>
             </tr>
             <tr class="prop">
               <td class="name">Address:</td>
               <td class="value">#{contact.address}</td>
  +            <td/>
             </tr>
             <tr class="prop">
               <td class="name">City:</td>
               <td class="value">#{contact.city}</td>
  +            <td/>
             </tr>
             <tr class="prop">
               <td class="name">State:</td>
               <td class="value">#{contact.state}</td>
  +            <td/>
             </tr>
             <tr class="prop">
               <td class="name">Zip:</td>
               <td class="value">#{contact.zip}</td>
  +            <td/>
             </tr>
             <tr class="prop">
               <td class="name">Country:</td>
               <td class="value">#{contact.country}</td>
  +            <td/>
             </tr>
           </table>
         </div>
  
  
  



More information about the jboss-cvs-commits mailing list