home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2005 March / PCpro_2005_03.ISO / files / firefox / chromedit-0.1.1.1-fx_mz_tb.xpi / chrome / chromedit.jar / content / chromedit.xul < prev    next >
Encoding:
Extensible Markup Language  |  2004-09-16  |  5.2 KB  |  119 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE window SYSTEM "chrome://chromedit/locale/chromedit.dtd">
  4.  
  5. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  6. <?xml-stylesheet href="chrome://chromedit/skin/chromedit.css" type="text/css"?>
  7.  
  8. <window xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  9.         xmlns:html="http://www.w3.org/1999/xhtml"
  10.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.         windowtype="global:ChromEditWindow" width="640" viewsourcetitlepreface="sourceview"
  12.         title="&window.title;"
  13.         screenY="10" screenX="10" persist="screenX screenY width height sizemode"
  14.         onunload="saveIfChanged();"
  15.         onload="startUp()"
  16.         id="ce-main" height="480" align="vertical">
  17.  
  18. <keyset id="chromeditKeyset">
  19.   <key id="chromedit_key_close" key="W" modifiers="accel" oncommand="window.close();"/>
  20.   <key id="chromedit_key_close2" key="VK_F4" modifiers="alt" oncommand="window.close();"/>
  21. </keyset>
  22.  
  23. <script type="application/x-javascript" src="chrome://chromedit/content/chromedit.js" />
  24.  
  25. <stringbundleset id="ceBundles">
  26.   <stringbundle id="bundle_ce" src="chrome://chromedit/locale/chromedit.properties"/>
  27. </stringbundleset>
  28.  
  29. <tabbox id="tabbox" flex="1">
  30.   <tabs orient="horizontal">
  31.     <tab id="chromeTab"  label="&tab.chrome.label;"     accesskey="&tab.chrome.accesskey;"/>
  32.     <tab id="contentTab" label="&tab.content.label;"    accesskey="&tab.content.accesskey;"/>
  33.     <tab id="jsTab"      label="&tab.js.label;"         accesskey="&tab.js.accesskey;"/>
  34.     <tab id="prefTab"    label="&tab.prefs.label;"      accesskey="&tab.prefs.accesskey;"/>
  35.     <tab id="egoTab"     label="&tab.ego.label;"        accesskey="&tab.ego.accesskey;"/>
  36.   </tabs>
  37.   <tabpanels id="tabpanels" flex="1">
  38.       <vbox flex="1" id="userChromeTab">
  39.         <hbox flex="1" style="border:2px solid red;">
  40.           <textbox id="editChrome" flex="1" class="" multiline="true" value=""
  41.                    oninput="document.getElementById('save-chrome').removeAttribute('disabled');"
  42.                    style="white-space: pre;"/>
  43.         </hbox>
  44.  
  45.         <hbox id="" class="ce-button-box" align="center">
  46.           <button id="save-chrome" disabled="true" class="" value="save" label="&saveBtn.label;"
  47.                 oncommand="saveIt('userChrome.css','editChrome', 'save-chrome')" />
  48.           <hbox align="center" flex="1">
  49.             <label>&savedas.label;</label>
  50.             <textbox flex="1" id="path-chrome"  readonly="true"/>
  51.           </hbox>
  52.         </hbox>
  53.       </vbox>
  54.  
  55.       <vbox id="userContentTab">
  56.         <hbox flex="1" style="border:2px solid green;">
  57.           <textbox id="editContent" flex="1" class="" multiline="true" value="" cols="150" wrap="false"
  58.                 oninput="document.getElementById('save-content').removeAttribute('disabled');"
  59.                 style="white-space: nowrap;"/>
  60.         </hbox>
  61.  
  62.         <hbox id="" class="ce-button-box" align="center">
  63.           <button id="save-content" disabled="true" class="" label="&saveBtn.label;" value="save"
  64.                 oncommand="saveIt('userContent.css','editContent', 'save-content')" />
  65.           <hbox align="center" flex="1">
  66.             <label>&savedas.label;</label>
  67.             <textbox flex="1" id="path-content" readonly="true"/>
  68.           </hbox>
  69.         </hbox>
  70.       </vbox>
  71.  
  72.       <vbox id="userjsTab">
  73.         <hbox flex="1" style="border:2px solid blue;">
  74.           <textbox id="editJs" flex="1" class="" multiline="true" value="" cols="150" wrap="false"
  75.                 oninput="document.getElementById('save-js').removeAttribute('disabled');"
  76.                 style="white-space: nowrap;"/>
  77.         </hbox>
  78.  
  79.         <hbox id="" class="ce-button-box" align="center">
  80.           <button id="save-js" disabled="true" class="" value="save" label="&saveBtn.label;"
  81.                 oncommand="saveIt('user.js','editJs', 'save-js')" />
  82.           <hbox align="center" flex="1">
  83.             <label>&savedas.label;</label>
  84.             <textbox flex="1" id="path-js" readonly="true"/>
  85.           </hbox>
  86.         </hbox>
  87.       </vbox>
  88.  
  89.       <vbox id="prefsjsTab">
  90.         <hbox flex="1" style="border:2px dotted blue;">
  91.           <textbox id="editprefs" flex="1" class="" multiline="true" value="" cols="150" wrap="false"
  92.                 oninput="document.getElementById('save-prefs').removeAttribute('disabled');"
  93.                 readonly="true" style="white-space: nowrap;"/>
  94.         </hbox>
  95.  
  96.         <hbox id="" class="ce-button-box" align="center">
  97.           <hbox align="center" flex="1">
  98.             <label>&savedbyMozApp.label;</label>
  99.             <textbox flex="1" id="path-prefs" readonly="true"/>
  100.           </hbox>
  101.         </hbox>
  102.       </vbox>
  103.  
  104.       <vbox id="idTab">
  105.           <hbox flex="1" style="border:3px double invert;">
  106.             <iframe flex="1" src="chrome://chromedit/content/html/cdn-mozdev.html"/>
  107.           </hbox> <!-- http://cdn.mozdev.org/mini/ -->
  108.           <separator class="groove"/>
  109.           <hbox>
  110.             <checkbox id="chromeditab" label="&openintab.label;"
  111.                oncommand="updateChromeditPref('chromeditab');"/>
  112.           </hbox>
  113.       </vbox>
  114.  
  115.   </tabpanels>
  116. </tabbox>
  117.  
  118. </window>
  119.