File: LiveHTTPSideBar.xul

package info (click to toggle)
livehttpheaders 0.16-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 712 kB
  • ctags: 192
  • sloc: makefile: 11
file content (106 lines) | stat: -rw-r--r-- 4,839 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?xml version="1.0"?>
<!-- 
  **** BEGIN LICENSE BLOCK ****
  Copyright(c) 2002-2003 Daniel Savard.

  LiveHTTPHeaders: this programs have two purpose
  - Add a tab in PageInfo to show http headers sent and received 
  - Add a tool that display http headers in real time while loading pages

  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU General Public License as published by the Free
  Software Foundation; either version 2 of the License, or (at your option) 
  any later version.

  This program is distributed in the hope that it will be useful, but 
  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 
  more details.
  
  You should have received a copy of the GNU General Public License along with
  this program; if not, write to the Free Software Foundation, Inc., 59 Temple
  Place, Suite 330, Boston, MA 02111-1307 USA
  **** END LICENSE BLOCK ****
-->

<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="chrome://livehttpheaders/skin/livehttpheaders.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://livehttpheaders/locale/livehttpheaders.dtd" >
<window title="&livehttpheaders.live.title;"
  id="LiveHTTPSideBar"
  windowtype="global:LiveHTTPSideBar"
  xmlns:html="http://www.w3.org/1999/xhtml"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  width="750"
  height="500"
  onload="livehttpheaders.live.startHeaderInfoLive()"
  onunload="livehttpheaders.live.stopHeaderInfoLive()">
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
<script type="application/x-javascript" src="chrome://livehttpheaders/content/LiveHTTPHeaders.js" />
<script type="application/x-javascript" src="chrome://livehttpheaders/content/headerinfo.js" />

<html:link rel="icon" href="chrome://livehttpheaders/skin/favicon.ico" style="display: none;"/>

  <popupset id="popupset">
    <popup id="headerinfo-context">
      <menuitem label="&livehttpheaders.live.copy;"
                observes="datapresent"
                oncommand="livehttpheaders.live.oHeaderInfoLive.copy();" />
      <menuitem label="&livehttpheaders.live.selectblock;"
                observes="datapresent"
                oncommand="livehttpheaders.live.oHeaderInfoLive.selectBlock();" />
      <menuitem label="&livehttpheaders.live.selectall;"
                observes="datapresent"
                oncommand="livehttpheaders.live.oHeaderInfoLive.selectAll();" />
      <menuseparator/>
      <menuitem label="&livehttpheaders.menu.saveselection;"
                observes="datapresent"
                oncommand="livehttpheaders.live.oHeaderInfoLive.saveSelection();" />
      <menuitem label="&livehttpheaders.menu.saveall;"
                observes="datapresent"
                oncommand="livehttpheaders.live.oHeaderInfoLive.saveAll();" />
      <menuseparator/>
      <menuitem label="&livehttpheaders.live.clear;"
                observes="datapresent"
                oncommand="livehttpheaders.live.oHeaderInfoLive.clear();" />
      <!--
      <menuseparator/>
      <menuitem label="&livehttpheaders.live.replay;"
                observes="datapresent"
                oncommand="livehttpheaders.live.oHeaderInfoLive.replay();"
                tooltiptext="&livehttpheaders.live.replay.tips;" />
      -->
    </popup>
  </popupset>

  <broadcasterset id="broadcasterset">
    <broadcaster id="datapresent" disabled="true" />
  </broadcasterset>

  <!-- LiveHTTPHeaders -->
  <vbox flex="1" id="livehttpheaders-live-tab-box">
    <separator class="thin"/>
      <tree id="headerinfo-dump" flex="1" class="inset livehttpheaders" seltype="multiple"
            hidecolumnpicker="true" context="headerinfo-context"
            onselect="livehttpheaders.live.oHeaderInfoLive.onselect();">
        <treecols>
          <treecol persist="hidden width" flex="1"
                   id="headerinfo-response-name" primary="true"
                   label="&livehttpheaders.live.headers;"/>
        </treecols>
        <treechildren flex="1"/>
      </tree>
      <scrollbar id="headerinfo-dump-scroll" curpos="0" maxpos="0" pageincrement="0" 
                 orient="horizontal" />
      
    <hbox align="right" valign="middle">
      <button label="&livehttpheaders.live.saveall;" id="headerinfo-saveall"
              icon="save"
              oncommand="livehttpheaders.live.oHeaderInfoLive.saveAll();" observes="datapresent" />
      <separator class="thin" flex="1" />
      <button label="&livehttpheaders.live.clear;" id="headerinfo-clear"
              icon="clear"
              oncommand="livehttpheaders.live.oHeaderInfoLive.clear();" observes="datapresent" />
    </hbox>
  </vbox>
</window>