Annotation of kupu/default/toolbar.kupu, revision 1.1

1.1     ! dwinter     1: <?xml version="1.0" ?>
        !             2: <kupu:feature
        !             3:     name="toolbar"
        !             4:     implementation="default"
        !             5:     xmlns="http://www.w3.org/1999/xhtml"
        !             6:     xmlns:kupu="http://kupu.oscom.org/namespaces/dist"
        !             7:     xmlns:i18n="http://xml.zope.org/namespaces/i18n"
        !             8:     i18n:domain="kupu"
        !             9:     >
        !            10:   <kupu:id>$Id: toolbar.kupu 15693 2005-08-05 14:14:33Z duncan $</kupu:id>
        !            11: 
        !            12:   <kupu:part name="toolbar">
        !            13:     <div class="kupu-tb" id="toolbar">
        !            14:       <kupu:define-slot name="toolbar" />
        !            15:     </div>
        !            16:   </kupu:part>
        !            17: 
        !            18:   <kupu:part name="buttons">
        !            19:     <span id="kupu-tb-buttons" class="kupu-tb-buttons">
        !            20:       <kupu:define-slot name="toolbar-buttons" />
        !            21:     </span>
        !            22:   </kupu:part>
        !            23: 
        !            24:   <kupu:part name="liststyles">
        !            25:     <select id="kupu-ulstyles" class="kupu-ulstyles">
        !            26:       <option value="disc" i18n:translate="list-disc">&#9679;</option>
        !            27:       <option value="square" i18n:translate="list-square">&#9632;</option>
        !            28:       <option value="circle" i18n:translate="list-circle">&#9675;</option>
        !            29:       <option value="none" i18n:translate="list-nobullet">no bullet</option>
        !            30:     </select>
        !            31:     <select id="kupu-olstyles" class="kupu-olstyles">
        !            32:       <option value="decimal" 
        !            33:               i18n:translate="list-decimal">1</option>
        !            34:       <option value="upper-roman" 
        !            35:               i18n:translate="list-upperroman">I</option>
        !            36:       <option value="lower-roman" 
        !            37:               i18n:translate="list-lowerroman">i</option>
        !            38:       <option value="upper-alpha" 
        !            39:               i18n:translate="list-upperalpha">A</option>
        !            40:       <option value="lower-alpha" 
        !            41:               i18n:translate="list-loweralpha">a</option>
        !            42:     </select>
        !            43:   </kupu:part>
        !            44: 
        !            45:   <kupu:part name="zoom">
        !            46:     <span class="kupu-tb-buttongroup" style="float: right" id="kupu-zoom">
        !            47:       <button type="button" class="kupu-zoom" id="kupu-zoom-button"
        !            48:                 title="zoom: alt-x" accesskey="x">&#160;</button>
        !            49:     </span>
        !            50:   </kupu:part>
        !            51: 
        !            52:   <kupu:part name="logo">
        !            53:     <span class="kupu-tb-buttongroup kupu-logo" style="float: right" id="kupu-logo">
        !            54:       <button type="button" class="kupu-logo" title="Kupu 1.3 rc2" 
        !            55:               i18n:attributes="title" accesskey="k"
        !            56:               onclick="window.open('http://kupu.oscom.org');">&#160;</button>
        !            57:     </span>
        !            58:   </kupu:part>
        !            59: 
        !            60:   <kupu:part name="select-styles">
        !            61:     <select id="kupu-tb-styles">
        !            62:       <option value="P" i18n:translate="">
        !            63:         Normal
        !            64:       </option>
        !            65:       <option value="H1">
        !            66:         <span i18n:translate="">Heading 1</span>
        !            67:       </option>
        !            68:       <option value="H2">
        !            69:         <span i18n:translate="">Heading 2</span>
        !            70:       </option>
        !            71:       <option value="H3">
        !            72:         <span i18n:translate="">Heading 3</span>
        !            73:       </option>
        !            74:       <option value="H4">
        !            75:         <span i18n:translate="">Heading 4</span>
        !            76:       </option>
        !            77:       <option value="H5">
        !            78:         <span i18n:translate="">Heading 5</span>
        !            79:       </option>
        !            80:       <option value="H6">
        !            81:         <span i18n:translate="">Heading 6</span>
        !            82:       </option>
        !            83:       <option value="PRE" i18n:translate="">
        !            84:         Formatted
        !            85:       </option>
        !            86:     </select>
        !            87:   </kupu:part>
        !            88: 
        !            89:   <kupu:part name="buttongroup-basicmarkup">
        !            90:     <span class="kupu-tb-buttongroup" id="kupu-bg-basicmarkup">
        !            91:       <button type="button" class="kupu-bold" id="kupu-bold-button" title="bold: alt-b"
        !            92:               i18n:attributes="title" accesskey="b">&#160;</button>
        !            93:       <button type="button" class="kupu-italic" id="kupu-italic-button" title="italic: alt-i"
        !            94:               i18n:attributes="title" accesskey="i">&#160;</button>
        !            95:       <button type="button" class="kupu-underline" id="kupu-underline-button" title="underline: alt-u"
        !            96:               i18n:attributes="title" accesskey="u">&#160;</button>
        !            97:     </span>
        !            98:   </kupu:part>
        !            99: 
        !           100:   <kupu:part name="buttongroup-subsuper">
        !           101:     <span class="kupu-tb-buttongroup" id="kupu-bg-subsuper">
        !           102:       <button type="button" class="kupu-subscript" id="kupu-subscript-button" title="subscript: alt--"
        !           103:               i18n:attributes="title" accesskey="-">&#160;</button>
        !           104:       <button type="button" class="kupu-superscript" id="kupu-superscript-button" title="superscript: alt-+"
        !           105:               i18n:attributes="title" accesskey="+">&#160;</button>
        !           106:     </span>
        !           107:   </kupu:part>
        !           108: 
        !           109:   <kupu:part name="buttongroup-justify">
        !           110:     <span class="kupu-tb-buttongroup" id="kupu-bg-justify">
        !           111:       <button type="button" class="kupu-justifyleft" id="kupu-justifyleft-button" 
        !           112:               title="left justify: alt-l" i18n:attributes="title"
        !           113:               accesskey="l">&#160;</button>
        !           114:       <button type="button" class="kupu-justifycenter" 
        !           115:               id="kupu-justifycenter-button" title="center justify: alt-c" 
        !           116:               i18n:attributes="title" accesskey="c">&#160;</button>
        !           117:       <button type="button" class="kupu-justifyright" 
        !           118:               id="kupu-justifyright-button" title="right justify: alt-r"
        !           119:               i18n:attributes="title" accesskey="r">&#160;</button>
        !           120:     </span>
        !           121:   </kupu:part>
        !           122: 
        !           123:   <kupu:part name="buttongroup-list">
        !           124:               <span class="kupu-tb-buttongroup" id="kupu-bg-list">
        !           125:       <!-- list button events are set on the list tool -->
        !           126:       <button type="button" class="kupu-insertorderedlist" 
        !           127:               title="numbered list: alt-#" id="kupu-list-ol-addbutton" 
        !           128:               i18n:attributes="title" accesskey="#">&#160;</button>
        !           129:       <button type="button" class="kupu-insertunorderedlist" 
        !           130:               title="unordered list: alt-*" id="kupu-list-ul-addbutton" 
        !           131:               i18n:attributes="title" accesskey="*">&#160;</button>
        !           132:               </span>
        !           133:   </kupu:part>
        !           134: 
        !           135:   <kupu:part name="buttongroup-definitionlist">
        !           136:     <span class="kupu-tb-buttongroup" id="kupu-bg-definitionlist">
        !           137:       <!-- list button events are set on the list tool -->
        !           138:       <button type="button" class="kupu-insertdefinitionlist" 
        !           139:               title="definition list: alt-=" id="kupu-list-dl-addbutton" 
        !           140:               i18n:attributes="title" accesskey="=">&#160;</button>
        !           141:     </span>
        !           142:   </kupu:part>
        !           143: 
        !           144:   <kupu:part name="buttongroup-indent">
        !           145:     <span class="kupu-tb-buttongroup" id="kupu-bg-indent">
        !           146:       <button type="button" class="kupu-outdent" 
        !           147:               id="kupu-outdent-button" title="outdent: alt-&lt;"
        !           148:               i18n:attributes="title" accesskey="&lt;">&#160;</button>
        !           149:       <button type="button" class="kupu-indent" 
        !           150:               id="kupu-indent-button" title="indent: alt-&gt;"
        !           151:               i18n:attributes="title" accesskey="&gt;">&#160;</button>
        !           152:     </span>
        !           153:   </kupu:part>
        !           154: 
        !           155:   <kupu:part name="buttongroup-undo">
        !           156:     <span class="kupu-tb-buttongroup" id="kupu-bg-undo">
        !           157:       <button type="button" class="kupu-undo" 
        !           158:               id="kupu-undo-button" title="undo: alt-z"
        !           159:               i18n:attributes="title" accesskey="z">&#160;</button>
        !           160:       <button type="button" class="kupu-redo" 
        !           161:               id="kupu-redo-button" title="redo: alt-y"
        !           162:               i18n:attributes="title" accesskey="y">&#160;</button>
        !           163:     </span>
        !           164:   </kupu:part>
        !           165: 
        !           166:   <kupu:part name="buttongroup-remove">
        !           167:     <span class="kupu-tb-buttongroup" id="kupu-bg-remove">
        !           168:       <button type="button" class="kupu-removeimage invisible"
        !           169:               id="kupu-removeimage-button" title="Remove image"
        !           170:               i18n:attributes="title">&#160;</button>
        !           171:       <button type="button" class="kupu-removelink invisible"
        !           172:               id="kupu-removelink-button" title="Remove link"
        !           173:               i18n:attributes="title">&#160;</button>
        !           174:     </span>
        !           175:   </kupu:part>
        !           176: 
        !           177:   <!-- We will have the button tool configuration here, too, once we
        !           178:        do tool definitions in XML config. -->
        !           179: 
        !           180: </kupu:feature>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>