You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2001/06/04 09:55:01 UTC

cvs commit: jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets HomePageCustomizer.vm

taylor      01/06/04 00:55:01

  Added:       webapp/WEB-INF/templates/vm/portlets HomePageCustomizer.vm
  Log:
  Customizer rewritten in velocity (simplicity!)
  
  Revision  Changes    Path
  1.1                  jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/HomePageCustomizer.vm
  
  Index: HomePageCustomizer.vm
  ===================================================================
  
  <br>
  <table  width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr> 
      <td>
        <h2>Customize Home Page</h2>
  
        Please check which portlets you want to see on which device.
        
        <!-- The input form -->		  
        <form method="post" action="$databean.Page2URL">
          <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr valign="top"> 
              <td width="150"></td>
              <td align="center" width="70"><b>Web</b></td>
              <td align="center" width="70"><b>WAP Phone</b></td>
              <td> &nbsp;</td>
            </tr>
              
            #foreach ($portletbean in $databean.PortletDataBeans)
  
            <tr valign="middle"> 
              <td  width="150">$portletbean.Title</td>
  
              #if ( $portletbean.HTMLCapable )
              
              <td  align="center" width="70">
                <input 
                  type="checkbox"    
                  name="checkHTML$portletbean.Name" 
                  value="$portletbean.Name" 
                  $portletbean.HTMLChecked
                >
              </td>
              
              #else
              
              <td  align="center" width="70">  </td>
              
              #end
              
              #if( $portletbean.WMLCapable )
  
              <td align="center" width="70">
                <input 
                  type="checkbox" 
                  name="checkWML$portletbean.Name" 
                  value="$portletbean.Name" 
                  $portletbean.WMLChecked
                >
              </td>
              
              #else
              
              <td  align="center" width="70">  </td>
              
              #end
              
              <td>&nbsp;</td>
            </tr>
          #end
   
          </table>
          <p align="center">
  
          #set ($sq = "'")
            <input type="submit" name="Submit" value="Finish">
            <input 
              type="button" 
              name="Submit2" 
              value="Cancel"                    
              onClick="document.location.href=${sq}$databean.HomeURL${sq}"
            >
          </p>
        </form>
      </td>
    </tr>
  </table>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org