testing/extensions/community/chrome/content/tabs/qmo.xul
author zach@zachlipton.com
Tue, 14 Aug 2007 11:23:52 -0700
changeset 4632 a50754a328c4d252f127899e29b7b568a7e20244
parent 4399 4d9c0c9f153369b3c68917d0a8a58c568a05b884
child 5843 79e8c861a0dd70389b8ea77092fbff989b24cd2f
permissions -rw-r--r--
Replace "visit qmo" text link with an image on the qmo tab. Bug 391638.

<?xml version="1.0"?><!-- -*- Mode: HTML -*- 
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Mozilla Community QA Extension
#
# The Initial Developer of the Original Code is the Mozilla Corporation.
# Portions created by the Initial Developer are Copyright (C) 2007
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#   Zach Lipton <zach@zachlipton.com>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the LGPL or the GPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK ***** -->

<!DOCTYPE overlay [
<!ENTITY % qaDTD SYSTEM "chrome://qa/locale/qa.dtd"> %qaDTD;
]>

<overlay id="qa-qmo-overlay" 
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:html="http://www.w3.org/1999/xhtml">


<script type="application/x-javascript">
  window.addEventListener('load', qmo.populateFields, false)
</script>

<tabpanel id="qa-tab-qmo">
<vbox pack="start">
  <hbox>
    <html:a href="http://quality.mozilla.org" target="blank">
      <image src='chrome://qa/skin/qmo-badge.png' 
        style='max-width: 75px; max-height: 31px; margin-top: 3px; margin-left: 3px;' />
    </html:a>
  </hbox>
 
  
  <hbox class="box-mheight">
	<groupbox  class="box-mheight">
		<caption label="&qa.qmo.help;" />
		<div class="box-mheight" xmlns="http://www.w3.org/1999/xhtml" id="qa-qmo-help">
		</div>
	</groupbox>
	<groupbox class="box-mheight">
		<caption label="&qa.qmo.events;" />
		<div class="box-mheight" xmlns="http://www.w3.org/1999/xhtml" id="qa-qmo-events">
			<ul>
			</ul>
		</div>
	</groupbox>
  </hbox>
  <groupbox>
    <caption label="&qa.qmo.forumposts;" />
    <div xmlns="http://www.w3.org/1999/xhtml" id="qa-qmo-forumposts">
      <ul>
      </ul>
    </div>
  </groupbox>
  
  <groupbox id="qa-qmo-latestbox">
    <caption label="&qa.qmo.thelatest;" />
    <div xmlns="http://www.w3.org/1999/xhtml" id="qa-qmo-latest">
	
    </div>
  </groupbox>
  
</vbox>
</tabpanel>

</overlay>