You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by ni...@apache.org on 2002/12/24 14:33:34 UTC

cvs commit: xml-forrest/src/resources/forrestbar/content/forrestbar forrestbarOverlay.js forrestbarOverlay.xul

nicolaken    2002/12/24 05:33:34

  Modified:    src/resources/forrestbar/content/forrestbar
                        forrestbarOverlay.js forrestbarOverlay.xul
  Log:
        <action dev="NKB" type="update" context="forrestbar">
          Tweaked forrestbar, added a sub-project menu for Jakarta, fixed
          download link and added submenu for tools.
        </action>
  
  Revision  Changes    Path
  1.4       +0 -28     xml-forrest/src/resources/forrestbar/content/forrestbar/forrestbarOverlay.js
  
  Index: forrestbarOverlay.js
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/forrestbar/content/forrestbar/forrestbarOverlay.js,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- forrestbarOverlay.js	18 Nov 2002 09:17:56 -0000	1.3
  +++ forrestbarOverlay.js	24 Dec 2002 13:33:34 -0000	1.4
  @@ -28,31 +28,3 @@
   	navigate(searchItem.selectedItem.value);
   }
   
  -function navNews() {
  -	navigate('http://www.apache.org/foundation/news.html');
  -}
  -
  -function navDownload() {
  -	navigate('http://www.apache.org/dyn/closer.cgi');
  -}
  -
  -function navGumpNightly() {
  -	navigate('http://cvs.apache.org/builds/gump/latest/');
  -}
  -	
  -function navCode() {
  -	navigate('http://cvs.apache.org/viewcvs/');
  -}
  -
  -function navTools() {
  -	navigate('http://nagoya.apache.org/');
  -}
  -
  -function navLocalForrest() {
  -	navigate('http://127.0.0.1:8888/');
  -}
  -
  -function navAskSam() {
  -	navigate('http://search.apache.org/');
  -}
  -
  
  
  
  1.4       +50 -13    xml-forrest/src/resources/forrestbar/content/forrestbar/forrestbarOverlay.xul
  
  Index: forrestbarOverlay.xul
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/forrestbar/content/forrestbar/forrestbarOverlay.xul,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- forrestbarOverlay.xul	16 Nov 2002 18:19:56 -0000	1.3
  +++ forrestbarOverlay.xul	24 Dec 2002 13:33:34 -0000	1.4
  @@ -13,19 +13,47 @@
   <toolbox id="navigator-toolbox">
     <toolbar id="forrestbar" persist="hidden" hidden="false" grippytooltiptext="Forrestbar">
     
  -   <image class="forrestbar" id="forrestbar-logo"/>
  -   <text class="forrestbar" value="Apache"/>
  +   <!--<image class="forrestbar" id="forrestbar-logo"/>-->
  +   <text class="forrestbar" value="Search for "/>
   
      <textbox class="forrestbar" id="forrestbar-input" onselect="search('forrestbar-input');" hidden="false"/>
      <toolbarbutton class="forrestbar" id="forrestbar-search" label="Search" onclick="search('forrestbar-input');" hidden="false"/>
   
  -   <menu label="Projects"
  -             id="forrestbar-projects" oncommand="navProject('forrestbar-projects');" hidden="false">
  +   <button label="Projects" type="menu" id="forrestbar-projects" hidden="false">
       <menupopup>
         <menuitem label="Apache" onclick="navigate('http://www.apache.org/');" />
         <menuitem label="HTTP Server " onclick="navigate('http://httpd.apache.org/');" />
         <menuitem label="APR" onclick="navigate('http://apr.apache.org/');" />
  -      <menuitem label="Jakarta" onclick="navigate('http://jakarta.apache.org/');" />
  +      <menuitem label="Incubator" onclick="navigate('http://incubator.apache.org/');" />
  +      <menu label="Jakarta">
  +       <menupopup>
  +         <menuitem label="Home" onclick="navigate('http://jakarta.apache.org/');"/>  
  +         <menuitem onclick="navigate('http://jakarta.apache.org/alexandria/index.html')" label="Alexandria"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/ant/index.html')" label="Ant"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/avalon/index.html')" label="Avalon"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/bcel/index.html')" label="BCEL"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/bsf/index.html')" label="BSF"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/cactus/index.html')" label="Cactus"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/commons/index.html')" label="Commons"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/ecs/index.html')" label="ECS"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/james/index.html')" label="James"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/jetspeed/index.html')" label="Jetspeed"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/jmeter/index.html')" label="JMeter"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/log4j/index.html')" label="Log4J"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/lucene/index.html')" label="Lucene"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/ojb/index.html')" label="OJB"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/oro/index.html')" label="ORO"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/poi/index.html')" label="POI"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/regexp/index.html')" label="Regexp"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/slide/index.html')" label="Slide"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/struts/index.html')" label="Struts"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/taglibs/index.html')" label="Taglibs"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/tomcat/index.html')" label="Tomcat"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/turbine/index.html')" label="Turbine"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/velocity/index.html')" label="Velocity"/>
  +         <menuitem onclick="navigate('http://jakarta.apache.org/watchdog/index.html')" label="Watchdog"/>
  +       </menupopup>                
  +      </menu>
         <menuitem label="PERL" onclick="navigate('http://perl.apache.org/');" />
         <menuitem label="PHP" onclick="navigate('http://php.apache.org/');" />
         <menuitem label="TCL" onclick="navigate('http://tcl.apache.org/');" />
  @@ -34,15 +62,24 @@
         <menuitem label="Foundation" onclick="navigate('http://www.apache.org/foundation/');" />
      
       </menupopup>
  -   </menu>
  +   </button>
          
  -   <toolbarbutton class="forrestbar" id="forrestbar-news"     label="News" onclick="navNews();" hidden="false"/>
  -   <toolbarbutton class="forrestbar" id="forrestbar-download" label="Download" onclick="navDownload();" hidden="false"/>
  -   <toolbarbutton class="forrestbar" id="forrestbar-gump-nightly"   label="Gump Nightly"   onclick="navGumpNightly();" hidden="false"/>
  -   <toolbarbutton class="forrestbar" id="forrestbar-code"     label="Code"  onclick="navCode();" hidden="false"/>
  -   <toolbarbutton class="forrestbar" id="forrestbar-tools"    label="Tools"  onclick="navTools();" hidden="false"/>
  -   <toolbarbutton class="forrestbar" id="forrestbar-local-forrest"   label="Local Forrest"   onclick="navLocalForrest();" hidden="false"/>
  -   <toolbarbutton class="forrestbar" id="forrestbar-asksam"   label="AskSam"   onclick="navAskSam();" hidden="false"/>
  +   <toolbarbutton class="forrestbar" id="forrestbar-news"     label="News" onclick="navigate('http://www.apache.org/foundation/news.html');" hidden="false"/>
  +   <toolbarbutton class="forrestbar" id="forrestbar-download" label="Downloads" onclick="navigate('http://nagoya.apache.org/dist/');" hidden="false"/>
  +   <toolbarbutton class="forrestbar" id="forrestbar-gump-nightly"   label="Gump Nightly"   onclick="navigate('http://cvs.apache.org/builds/gump/latest/');" hidden="false"/>
  +   <toolbarbutton class="forrestbar" id="forrestbar-code"     label="Code"  onclick="navigate('http://cvs.apache.org/viewcvs/');" hidden="false"/>
  +
  +   <button label="Tools" id="forrestbar-tools" hidden="false" type="menu">
  +    <menupopup>
  +      <menuitem label="Home" onclick="navigate('http://nagoya.apache.org/');" />
  +      <menuitem label="Bugzilla " onclick="navigate('http://nagoya.apache.org/bugzilla/index.html');" />
  +      <menuitem label="Wiki" onclick="navigate('http://nagoya.apache.org/wiki/apachewiki.cgi');" />
  +      <menuitem label="Mail archive" onclick="navigate('http://nagoya.apache.org/eyebrowse/ViewLists');" />
  +    </menupopup>
  +   </button>   
  +   
  +   <toolbarbutton class="forrestbar" id="forrestbar-local-forrest"   label="Local Forrest"   onclick="navigate('http://127.0.0.1:8888/');" hidden="false"/>
  +   <toolbarbutton class="forrestbar" id="forrestbar-asksam"   label="AskSam"   onclick="navigate('http://search.apache.org/');" hidden="false"/>
     
     </toolbar>
   </toolbox>