[jboss-cvs] jboss-seam/examples/wiki/view/plugins/blogRecentEntries ...

Christian Bauer christian at hibernate.org
Sat Sep 1 04:42:49 EDT 2007


  User: cbauer  
  Date: 07/09/01 04:42:49

  Modified:    examples/wiki/view/plugins/blogRecentEntries  plugin.xhtml
  Log:
  UI improvements
  
  Revision  Changes    Path
  1.3       +16 -22    jboss-seam/examples/wiki/view/plugins/blogRecentEntries/plugin.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: plugin.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/plugins/blogRecentEntries/plugin.xhtml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- plugin.xhtml	31 Aug 2007 13:38:13 -0000	1.2
  +++ plugin.xhtml	1 Sep 2007 08:42:49 -0000	1.3
  @@ -8,14 +8,8 @@
           xmlns:wiki="http://jboss.com/products/seam/wiki"
           xmlns:s="http://jboss.com/products/seam/taglib">
   
  -
  -    <script type="text/javascript">jQuery(function() {
  -        clearDocumentBackground();
  -    });</script>
  -
  -
  -    <s:div styleClass="shadowContainer"><div class="shadow1"><div class="shadow2"><s:div id="blogRecentEntriesPluginDiv"
  -           styleClass="#{showPluginPreferences and !empty blogRecentEntriesPreferencesEditor ? 'pluginPreferencesBox' : ''}">
  +    <s:div id="blogRecentEntriesPluginDiv"
  +           styleClass="#{showPluginPreferences and !empty blogRecentEntriesPreferencesEditor ? 'pluginPreferencesBox box' : 'box'}">
   
           <s:div id="blogRecentEntriesPreferences"
                 rendered="#{showPluginPreferences and !empty blogRecentEntriesPreferencesEditor}">
  @@ -31,30 +25,30 @@
   
           <s:div styleClass="blogRecentEntries">
   
  -            <s:div styleClass="blogRecentEntriesHeader blogRecentEntriesTitle" rendered="#{not blogRecentEntriesPreferences.showSubscribeIcon}">
  -                <h:outputText styleClass="blogRecentEntriesTitleText" value="Recent Entries"/>
  +            <s:div styleClass="boxHeader" rendered="#{not blogRecentEntriesPreferences.showSubscribeIcon}">
  +                <h:outputText value="Recent Entries"/>
               </s:div>
   
               <h:panelGrid rendered="#{blogRecentEntriesPreferences.showSubscribeIcon}"
                            columns="2" cellpadding="0" cellspacing="0" border="0"
  -                         styleClass="blogRecentEntriesHeader fullWidth"
  -                         columnClasses="blogRecentEntriesSubscribe, blogRecentEntriesTitle">
  +                         styleClass="boxHeader fullWidth">
   
  -                <h:outputLink rendered="#{not empty currentDirectory.feed}"
  -                              value="#{facesContext.externalContext.request.contextPath}/servlets/feeds/atom.seam?feedId=#{currentDirectory.feed.id}">
  -                    <h:panelGrid columns="2" cellpadding="0" cellspacing="0" border="0">
  +                <h:panelGrid rendered="#{not empty currentDirectory.feed}" columns="2" cellpadding="0" cellspacing="0" border="0">
  +                    <h:outputLink value="#{facesContext.externalContext.request.contextPath}/servlets/feeds/atom.seam?feedId=#{currentDirectory.feed.id}">
                           <h:graphicImage value="/themes/#{wikiPreferences.themeName}/img/icon.atom.ongrey.gif" width="18" height="18" alt="Atom"/>
  -                        <h:outputText styleClass="blogRecentEntriesSubscribeLink" value="Subscribe"/>
  -                    </h:panelGrid>
                   </h:outputLink>
  +                    <h:outputLink value="#{facesContext.externalContext.request.contextPath}/servlets/feeds/atom.seam?feedId=#{currentDirectory.feed.id}">
  +                        <h:outputText value="Subscribe"/>
  +                    </h:outputLink>
  +                </h:panelGrid>
   
  -                <h:outputText styleClass="blogRecentEntriesTitleText" value="Recent Entries"/>
  +                <h:outputText value="Recent Entries"/>
   
               </h:panelGrid>
   
               <h:dataTable value="#{recentBlogEntries}" var="dayMap"
                            rendered="#{recentBlogEntries.rowCount > 0}"
  -                         styleClass="datatable"
  +                         styleClass="datatable boxContent"
                            columnClasses="defaultColumn"
                            cellpadding="0" cellspacing="0" border="0">
                   <h:column>
  @@ -77,11 +71,11 @@
                   </h:column>
               </h:dataTable>
   
  -            <div class="blogRecentEntriesFooter"/>
  +            <div class="boxFooter"/>
   
           </s:div>
   
   
  -    </s:div></div></div></s:div>
  +    </s:div>
   
   </wiki:plugin>
  \ No newline at end of file
  
  
  



More information about the jboss-cvs-commits mailing list