[jboss-svn-commits] JBL Code SVN: r13199 - labs/jbossforums/branches/forums101P26/forums/src/resources/portal-forums-war/views/topics.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Jul 6 19:23:34 EDT 2007


Author: unibrew
Date: 2007-07-06 19:23:34 -0400 (Fri, 06 Jul 2007)
New Revision: 13199

Modified:
   labs/jbossforums/branches/forums101P26/forums/src/resources/portal-forums-war/views/topics/delete_poll.xhtml
Log:
[JBFORUMS-244] DeletePollView rethemed.

Modified: labs/jbossforums/branches/forums101P26/forums/src/resources/portal-forums-war/views/topics/delete_poll.xhtml
===================================================================
--- labs/jbossforums/branches/forums101P26/forums/src/resources/portal-forums-war/views/topics/delete_poll.xhtml	2007-07-06 23:10:30 UTC (rev 13198)
+++ labs/jbossforums/branches/forums101P26/forums/src/resources/portal-forums-war/views/topics/delete_poll.xhtml	2007-07-06 23:23:34 UTC (rev 13199)
@@ -25,37 +25,47 @@
 <div  xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:c="http://java.sun.com/jstl/core"
-      xmlns:h="http://java.sun.com/jsf/html"      
+      xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:t="http://myfaces.apache.org/tomahawk"
       xmlns:forums="http://www.jboss.com/products/jbossportal/forums"
-      class="bb"
+      class="forumscontainer"
 >
 
 <ui:composition template="/views/common/common.xhtml">
 <ui:define name="mainContent">
-	
-    <table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
-	   <tr>
-	      <th class="thHead" height="25" valign="middle"><span class="tableTitle">${resource.Information}</span></th>
-	   </tr>
-	   <tr>
-	      <td class="row1" align="center">
-	         <h:form>
-	         	<span class="gen"><br/>
-	         		${resource.Confirm_delete_poll}
-	            <br/><br/>	                        	            
-	            <h:commandButton type="submit" value="${resource.Yes}" styleClass="mainoption" action="#{editPost.deletePoll}"/>
-	            	&#160;&#160;
-	            <h:commandButton type="button" value="${resource.No}" styleClass="liteoption" onclick="javascript:history.back();"/>	            
-               </span>	
-	         </h:form>
-	      </td>
-	   </tr>
-	</table>
-
-
+<div class="dialog">
+<table cellpadding="0" cellspacing="0" border="0" width="100%">
+    <tr>
+        <td class="icon">
+            <img src="#{forums:themeURL('resourceIconDialogWarningURL')}" border="0" />
+        </td>
+        <td class="title" width="100%">
+            ${resource.Delete_poll}
+        </td>
+    </tr>
+    <tr>
+        <td class="icon"></td>
+        <td>
+            ${resource.Confirm_delete_poll}
+        </td>
+    </tr>
+    <tr>
+        <td class="buttons" colspan="2">
+            <h:form>
+                <h:commandButton type="submit"
+                                 value="${resource.Yes}"
+                                 styleClass="buttonMed"
+                                 action="#{editPost.deletePoll}"/>
+                <h:commandButton type="button"
+                                 value="${resource.No}"
+                                 styleClass="buttonMed"
+                                 onclick="javascript:history.back();"/>
+            </h:form>
+        </td>
+    </tr>
+</table>
+</div>
 </ui:define>
 </ui:composition>
-
-</div>
\ No newline at end of file
+</div>




More information about the jboss-svn-commits mailing list