All pastes #157709 Raw Edit

Unnamed

public text v1 · immutable
·published 2006-09-01 18:52 UTC
rendered paste body
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://admin/content/admin.css" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        id="admin-window"
        title="Blog Controller"
        orient="horizontal"
        onload="init()">
  <script type="text/javascript" src="SOAP.js" />
  <script type="text/javascript" src="admin.js" />
  <vbox id="body" flex="1">
    <toolbox>
      <toolbar style="background-color: #F5F6BE;">
        <toolbarbutton label="Login" />
      </toolbar>
    </toolbox>
    <vbox style="padding: 5px;">
      <tabbox id="navigation-tabs">
        <tabs>
          <tab id="list-tab" label="Listview" />
          <tab id="create-tab" label="Create" />
          <tab id="edit-tab" label="Edit" />
        </tabs>
        <tabpanels>
          <tabpanel id="list" orient="vertical">
            <vbox>
              <tree flex="1">
                <treecols>
                  <treecol id="id-col" label="ID" hidden="true" flex="none" style="width: 30px;" />
                  <treecol id="headline-col" label="Headline" flex="1" />
                  <treecol id="author-col" label="Author" flex="1" />
                  <treecol id="category-col" label="Category" flex="1" />
                  <treecol id="date-col" label="Date" flex="1" />
                </treecols>
                <treechildren>
                  <treeitem>
                    <treerow>
                      <treecell label="1" />
                      <treecell label="Lorem ipsum" />
                      <treecell label="Claus Joergensen" />
                      <treecell label="Random" />
                      <treecell label="31/08/2006" />
                    </treerow>
                  </treeitem>
                </treechildren>
              </tree>
              <hbox>
                <button id="edit-button" label="Edit" />
                <button id="del-button" label="Delete" />
              </hbox>
            </vbox>
          </tabpanel>
          <tabpanel id="create" orient="vertical">
          </tabpanel>
          <tabpanel id="edit" orient="vertical">
            <vbox class="mtop10">
              <label>Title</label>
              <textbox id="title-textbox" />
            </vbox>
            <vbox class="box">
              <label>Category</label>
              <hbox>
                <menulist>
                  <menupopup>
                    <menuitem label="Default" />
                    <menuitem label="PHP" />
                    <menuitem label="Life" />
                    <menuitem label="World of Warcraft" />
                    <menuitem label="Guildwars" />
                  </menupopup>
                </menulist>
              </hbox>
            </vbox>
            <seperator class="groove" orient="horizontal"/>
            <label>Text</label>
            <toolbox id="edit-toolbox">
              <toolbar id="editor-toolbar">
                <menulist>
                  <menupopup>
                    <menuitem label="[Style]" />
                    <menuitem label="Normal" />
                    <menuitem label="Paragraph &lt;p&gt;" />
                    <menuitem label="Heading 1 &lt;h1&gt;" />
                    <menuitem label="Heading 2 &lt;h2&gt;" />
                    <menuitem label="Heading 3 &lt;h3&gt;" />
                    <menuitem label="Heading 4 &lt;h4&gt;" />
                    <menuitem label="Heading 5 &lt;h5&gt;" />
                    <menuitem label="Heading 6 &lt;h6&gt;" />
                    <menuitem label="Address &lt;addr&gt;" />
                    <menuitem label="Formatted &lt;pre&gt;" />
                  </menupopup>
                </menulist>
                <menulist>
                  <menupopup>
                    <menuitem label="[Font]" />
                    <menuitem label="Arial" />
                    <menuitem label="Courier New" />
                    <menuitem label="Times New Roman" />
                    <menuitem label="Verdana" />
                  </menupopup>
                </menulist>
                <menulist>
                  <menupopup>
                    <menuitem label="[Size]" />
                    <menuitem label="1" />
                    <menuitem label="2" />
                    <menuitem label="3" />
                    <menuitem label="4" />
                    <menuitem label="5" />
                    <menuitem label="6" />
                    <menuitem label="7" />
                  </menupopup>
                </menulist>
              </toolbar>
              <toolbar id="editor-toolbar2">
                <toolbarbutton image="icons\rte\bold.gif" 
                               tooltiptext="Bold" oncommand="bold()" />
                <toolbarbutton image="icons\rte\italic.gif" tooltiptext="Italic"/>
                <toolbarbutton image="icons\rte\underline.gif" tooltiptext="Underline"/>
                <toolbarbutton image="icons\rte\left_just.gif" tooltiptext="Align left"/>
                <toolbarbutton image="icons\rte\centre.gif" tooltiptext="Center" />
                <toolbarbutton image="icons\rte\right_just.gif" tooltiptext="Align right"/>
                <toolbarbutton image="icons\rte\justifyfull.gif" tooltiptext="Justify Full"/>
                <toolbarbutton image="icons\rte\hr.gif" tooltiptext="Horizontal Rule"/>
                <toolbarbutton image="icons\rte\numbered_list.gif" tooltiptext="Ordered List"/>
                <toolbarbutton image="icons\rte\list.gif" tooltiptext="Unordered list"/>
                <toolbarbutton image="icons\rte\outdent.gif" tooltiptext="Outdent"/>
                <toolbarbutton image="icons\rte\indent.gif" tooltiptext="Indent"/>
                <toolbarbutton image="icons\rte\textcolor.gif" tooltiptext="Text Color"/>
                <toolbarbutton image="icons\rte\bgcolor.gif" tooltiptext="Background Color"/>
                <toolbarbutton image="icons\rte\hyperlink.gif" tooltiptext="Insert Link"/>
                <toolbarbutton image="icons\rte\image.gif" tooltiptext="Insert Image"/>
                <toolbarbutton image="icons\rte\insert_table.gif" tooltiptext="Insert Table"/>
              </toolbar>
            </toolbox>
            <editor id="editor" flex="1" type="content-primary" src="about:blank" />
            <seperator class="groove" orient="horizontal"/>
            <vbox class="box">
              <label>Keywords</label>
              <textbox />
            </vbox>
            <hbox id="buttons-hbox" pack="end">
              <button label="Update" image="icons/actions/edit-paste.png" />
              <button label="Delete" image="icons/actions/edit-delete.png" oncommand="remove()" />
              <!--
              <button label="Cancel" image="icons/actions/edit-clear.png" />
              -->
            </hbox>
          </tabpanel>
        </tabpanels>
      </tabbox>
    </vbox>
  </vbox>
</window>