182 lines
7.3 KiB
XML
182 lines
7.3 KiB
XML
<?xml version="1.0" ?>
|
|
<kupu:feature
|
|
name="toolbar"
|
|
implementation="default"
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
xmlns:kupu="http://kupu.oscom.org/namespaces/dist"
|
|
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
|
|
i18n:domain="kupu"
|
|
>
|
|
<kupu:id>$Id: toolbar.kupu 19933 2005-11-16 14:56:53Z guido $</kupu:id>
|
|
|
|
<kupu:part name="toolbar">
|
|
<div class="kupu-tb" id="toolbar">
|
|
<kupu:define-slot name="toolbar" />
|
|
</div>
|
|
</kupu:part>
|
|
|
|
<kupu:part name="buttons">
|
|
<span id="kupu-tb-buttons" class="kupu-tb-buttons">
|
|
<kupu:define-slot name="toolbar-buttons" />
|
|
</span>
|
|
</kupu:part>
|
|
|
|
<kupu:part name="liststyles">
|
|
<select id="kupu-ulstyles" class="kupu-ulstyles">
|
|
<option value="disc" i18n:translate="list-disc">●</option>
|
|
<option value="square" i18n:translate="list-square">■</option>
|
|
<option value="circle" i18n:translate="list-circle">○</option>
|
|
<option value="none" i18n:translate="list-nobullet">no bullet</option>
|
|
</select>
|
|
<select id="kupu-olstyles" class="kupu-olstyles">
|
|
<option value="decimal"
|
|
i18n:translate="list-decimal">1</option>
|
|
<option value="upper-roman"
|
|
i18n:translate="list-upperroman">I</option>
|
|
<option value="lower-roman"
|
|
i18n:translate="list-lowerroman">i</option>
|
|
<option value="upper-alpha"
|
|
i18n:translate="list-upperalpha">A</option>
|
|
<option value="lower-alpha"
|
|
i18n:translate="list-loweralpha">a</option>
|
|
</select>
|
|
</kupu:part>
|
|
|
|
<kupu:part name="zoom">
|
|
<span class="kupu-tb-buttongroup" style="float: right" id="kupu-zoom">
|
|
<button type="button" class="kupu-zoom" id="kupu-zoom-button"
|
|
i18n:attributes="title"
|
|
title="zoom: alt-x" accesskey="x"> </button>
|
|
</span>
|
|
</kupu:part>
|
|
|
|
<kupu:part name="logo">
|
|
<span class="kupu-tb-buttongroup kupu-logo" style="float: right" id="kupu-logo">
|
|
<button type="button" class="kupu-logo" title="Kupu 1.3.2"
|
|
i18n:attributes="title" accesskey="k"
|
|
onclick="window.open('http://kupu.oscom.org');"> </button>
|
|
</span>
|
|
</kupu:part>
|
|
|
|
<kupu:part name="select-styles">
|
|
<select id="kupu-tb-styles">
|
|
<option value="P" i18n:translate="">
|
|
Normal
|
|
</option>
|
|
<option value="H1">
|
|
<span i18n:translate="">Heading 1</span>
|
|
</option>
|
|
<option value="H2">
|
|
<span i18n:translate="">Heading 2</span>
|
|
</option>
|
|
<option value="H3">
|
|
<span i18n:translate="">Heading 3</span>
|
|
</option>
|
|
<option value="H4">
|
|
<span i18n:translate="">Heading 4</span>
|
|
</option>
|
|
<option value="H5">
|
|
<span i18n:translate="">Heading 5</span>
|
|
</option>
|
|
<option value="H6">
|
|
<span i18n:translate="">Heading 6</span>
|
|
</option>
|
|
<option value="PRE" i18n:translate="">
|
|
Formatted
|
|
</option>
|
|
</select>
|
|
</kupu:part>
|
|
|
|
<kupu:part name="buttongroup-basicmarkup">
|
|
<span class="kupu-tb-buttongroup" id="kupu-bg-basicmarkup">
|
|
<button type="button" class="kupu-bold" id="kupu-bold-button" title="bold: alt-b"
|
|
i18n:attributes="title" accesskey="b"> </button>
|
|
<button type="button" class="kupu-italic" id="kupu-italic-button" title="italic: alt-i"
|
|
i18n:attributes="title" accesskey="i"> </button>
|
|
<button type="button" class="kupu-underline" id="kupu-underline-button" title="underline: alt-u"
|
|
i18n:attributes="title" accesskey="u"> </button>
|
|
</span>
|
|
</kupu:part>
|
|
|
|
<kupu:part name="buttongroup-subsuper">
|
|
<span class="kupu-tb-buttongroup" id="kupu-bg-subsuper">
|
|
<button type="button" class="kupu-subscript" id="kupu-subscript-button" title="subscript: alt--"
|
|
i18n:attributes="title" accesskey="-"> </button>
|
|
<button type="button" class="kupu-superscript" id="kupu-superscript-button" title="superscript: alt-+"
|
|
i18n:attributes="title" accesskey="+"> </button>
|
|
</span>
|
|
</kupu:part>
|
|
|
|
<kupu:part name="buttongroup-justify">
|
|
<span class="kupu-tb-buttongroup" id="kupu-bg-justify">
|
|
<button type="button" class="kupu-justifyleft" id="kupu-justifyleft-button"
|
|
title="left justify: alt-l" i18n:attributes="title"
|
|
accesskey="l"> </button>
|
|
<button type="button" class="kupu-justifycenter"
|
|
id="kupu-justifycenter-button" title="center justify: alt-c"
|
|
i18n:attributes="title" accesskey="c"> </button>
|
|
<button type="button" class="kupu-justifyright"
|
|
id="kupu-justifyright-button" title="right justify: alt-r"
|
|
i18n:attributes="title" accesskey="r"> </button>
|
|
</span>
|
|
</kupu:part>
|
|
|
|
<kupu:part name="buttongroup-list">
|
|
<span class="kupu-tb-buttongroup" id="kupu-bg-list">
|
|
<!-- list button events are set on the list tool -->
|
|
<button type="button" class="kupu-insertorderedlist"
|
|
title="numbered list: alt-#" id="kupu-list-ol-addbutton"
|
|
i18n:attributes="title" accesskey="#"> </button>
|
|
<button type="button" class="kupu-insertunorderedlist"
|
|
title="unordered list: alt-*" id="kupu-list-ul-addbutton"
|
|
i18n:attributes="title" accesskey="*"> </button>
|
|
</span>
|
|
</kupu:part>
|
|
|
|
<kupu:part name="buttongroup-definitionlist">
|
|
<span class="kupu-tb-buttongroup" id="kupu-bg-definitionlist">
|
|
<!-- list button events are set on the list tool -->
|
|
<button type="button" class="kupu-insertdefinitionlist"
|
|
title="definition list: alt-=" id="kupu-list-dl-addbutton"
|
|
i18n:attributes="title" accesskey="="> </button>
|
|
</span>
|
|
</kupu:part>
|
|
|
|
<kupu:part name="buttongroup-indent">
|
|
<span class="kupu-tb-buttongroup" id="kupu-bg-indent">
|
|
<button type="button" class="kupu-outdent"
|
|
id="kupu-outdent-button" title="outdent: alt-<"
|
|
i18n:attributes="title" accesskey="<"> </button>
|
|
<button type="button" class="kupu-indent"
|
|
id="kupu-indent-button" title="indent: alt->"
|
|
i18n:attributes="title" accesskey=">"> </button>
|
|
</span>
|
|
</kupu:part>
|
|
|
|
<kupu:part name="buttongroup-undo">
|
|
<span class="kupu-tb-buttongroup" id="kupu-bg-undo">
|
|
<button type="button" class="kupu-undo"
|
|
id="kupu-undo-button" title="undo: alt-z"
|
|
i18n:attributes="title" accesskey="z"> </button>
|
|
<button type="button" class="kupu-redo"
|
|
id="kupu-redo-button" title="redo: alt-y"
|
|
i18n:attributes="title" accesskey="y"> </button>
|
|
</span>
|
|
</kupu:part>
|
|
|
|
<kupu:part name="buttongroup-remove">
|
|
<span class="kupu-tb-buttongroup" id="kupu-bg-remove">
|
|
<button type="button" class="kupu-removeimage invisible"
|
|
id="kupu-removeimage-button" title="Remove image"
|
|
i18n:attributes="title"> </button>
|
|
<button type="button" class="kupu-removelink invisible"
|
|
id="kupu-removelink-button" title="Remove link"
|
|
i18n:attributes="title"> </button>
|
|
</span>
|
|
</kupu:part>
|
|
|
|
<!-- We will have the button tool configuration here, too, once we
|
|
do tool definitions in XML config. -->
|
|
|
|
</kupu:feature>
|