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

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


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

  Modified:    examples/wiki/view/plugins/blogArchive  plugin.xhtml
  Log:
  UI improvements
  
  Revision  Changes    Path
  1.4       +16 -20    jboss-seam/examples/wiki/view/plugins/blogArchive/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/blogArchive/plugin.xhtml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- plugin.xhtml	31 Aug 2007 13:38:12 -0000	1.3
  +++ plugin.xhtml	1 Sep 2007 08:42:47 -0000	1.4
  @@ -7,12 +7,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="blogArchivePluginDiv"
  -           styleClass="#{showPluginPreferences and !empty blogArchivePreferencesEditor ? 'pluginPreferencesBox' : ''}">
  +    <s:div id="blogArchivePluginDiv"
  +           styleClass="#{showPluginPreferences and !empty blogArchivePreferencesEditor ? 'pluginPreferencesBox box' : 'box'}">
   
           <s:div id="blogArchivePreferences"
                 rendered="#{showPluginPreferences and !empty blogArchivePreferencesEditor}">
  @@ -28,28 +24,28 @@
   
           <s:div styleClass="blogArchive">
   
  -            <s:div styleClass="blogArchiveHeader blogArchiveTitle" rendered="#{not blogArchivePreferences.showSubscribeIcon}">
  -                <h:outputText styleClass="blogArchiveTitleText" value="Archive"/>
  +            <s:div styleClass="boxHeader" rendered="#{not blogArchivePreferences.showSubscribeIcon}">
  +                <h:outputText value="Archive"/>
               </s:div>
   
               <h:panelGrid rendered="#{blogArchivePreferences.showSubscribeIcon}"
                            columns="2" cellpadding="0" cellspacing="0" border="0"
  -                         styleClass="blogArchiveHeader fullWidth"
  -                         columnClasses="blogArchiveSubscribe, blogArchiveTitle">
  +                         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="blogArchiveSubscribeLink" 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="blogArchiveTitleText" value="Archive"/>
  +                <h:outputText value="Archive"/>
   
               </h:panelGrid>
   
  -            <div class="blogArchiveSelector">
  +            <div class="blogArchiveSelector boxContent">
                   <select id="blogArchiveCombo" class="blogArchiveCombo"
                           onchange="location.href = jQuery('#blogArchiveCombo')[0].options[jQuery('#blogArchiveCombo')[0].selectedIndex].value;">
                       <option value="#{wiki:renderURL(currentDocument)}">All entries (#{blogDirectory.totalNumOfBlogEntries})</option>
  @@ -68,10 +64,10 @@
                   </select>
               </div>
   
  -            <div class="blogArchiveFooter"/>
  +            <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