698 lines
28 KiB
HTML
698 lines
28 KiB
HTML
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://xml.zope.org/namespaces/i18n" i18n:domain="kupu">
|
|
|
|
|
|
<head>
|
|
<metal:block xmlns:metal="http://xml.zope.org/namespaces/metal" define-macro="jsincludes">
|
|
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="sarissa.js" tal:attributes="src string:${root_url}/kupu/sarissa.js"> </script>
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kupuhelpers.js" tal:attributes="src string:${root_url}/kupu/kupuhelpers.js"> </script>
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kupunoi18n.js" tal:attributes="src string:${root_url}/kupu/kupunoi18n.js"> </script>
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kupueditor.js" tal:attributes="src string:${root_url}/kupu/kupueditor.js"> </script>
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kupubasetools.js" tal:attributes="src string:${root_url}/kupu/kupubasetools.js"> </script>
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kupuloggers.js" tal:attributes="src string:${root_url}/kupu/kupuloggers.js"> </script>
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kupudrawers.js" tal:attributes="src string:${root_url}/kupu/kupudrawers.js"> </script>
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kupucontentfilters.js" tal:attributes="src string:${root_url}/kupu/kupucontentfilters.js"> </script>
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kupusourceedit.js" tal:attributes="src string:${root_url}/kupu/kupusourceedit.js"> </script>
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kupucleanupexpressions.js" tal:attributes="src string:${root_url}/kupu/kupucleanupexpressions.js"> </script>
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kupuspellchecker.js" tal:attributes="src string:${root_url}/kupu/kupuspellchecker.js"> </script>
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kuputoolcollapser.js" tal:attributes="src string:${root_url}/kupu/kuputoolcollapser.js"> </script>
|
|
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kupusilvatools.js" tal:attributes="src string:${root_url}/kupu_silva/kupusilvatools.js"> </script>
|
|
|
|
|
|
|
|
|
|
<link href="kupustyles.css" rel="stylesheet" type="text/css"/>
|
|
|
|
|
|
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kupusilvainit.js" tal:attributes="src string:${root_url}/kupu_silva/kupusilvainit.js"> </script>
|
|
<script type="text/javascript">
|
|
var kupu = null;
|
|
var kupuui = null;
|
|
function startKupu() {
|
|
var frame = getFromSelector('kupu-editor');
|
|
kupu = initSilvaKupu(frame);
|
|
kupuui = kupu.getTool('ui');
|
|
kupu.initialize();
|
|
};
|
|
// register the function to the unload registry
|
|
window.onload_registry.register(startKupu);
|
|
</script>
|
|
|
|
</metal:block>
|
|
</head>
|
|
|
|
<body>
|
|
<metal:macro xmlns:metal="http://xml.zope.org/namespaces/metal" define-macro="body">
|
|
|
|
<div style="display: none;">
|
|
<xml id="kupuconfig" class="kupuconfig">
|
|
<kupuconfig>
|
|
|
|
<dst>..</dst>
|
|
<use_css>0</use_css>
|
|
<reload_after_save>1</reload_after_save>
|
|
<strict_output>1</strict_output>
|
|
<content_type>application/xhtml+xml</content_type>
|
|
<compatible_singletons>1</compatible_singletons>
|
|
<cleanup_expressions>
|
|
<set>
|
|
<name>Convert single quotes to curly ones</name>
|
|
<expression>
|
|
<reg>
|
|
(\W)'
|
|
</reg>
|
|
<replacement>
|
|
\1‘
|
|
</replacement>
|
|
</expression>
|
|
<expression>
|
|
<reg>
|
|
'
|
|
</reg>
|
|
<replacement>
|
|
’
|
|
</replacement>
|
|
</expression>
|
|
</set>
|
|
<set>
|
|
<name>Convert double quotes to curly ones</name>
|
|
<expression>
|
|
<reg>
|
|
(\W)"
|
|
</reg>
|
|
<replacement>
|
|
\1“
|
|
</replacement>
|
|
</expression>
|
|
<expression>
|
|
<reg>
|
|
"
|
|
</reg>
|
|
<replacement>
|
|
”
|
|
</replacement>
|
|
</expression>
|
|
</set>
|
|
<set>
|
|
<name>Convert single dashes to n-dashes</name>
|
|
<expression>
|
|
<reg>
|
|
([^\-])\-([^\-])
|
|
</reg>
|
|
<replacement>
|
|
\1–\2
|
|
</replacement>
|
|
</expression>
|
|
<expression>
|
|
<reg>
|
|
([^\-])\-$
|
|
</reg>
|
|
<replacement>
|
|
\1–
|
|
</replacement>
|
|
</expression>
|
|
<expression>
|
|
<reg>
|
|
^\-([^\-])
|
|
</reg>
|
|
<replacement>
|
|
–\1
|
|
</replacement>
|
|
</expression>
|
|
<expression>
|
|
<reg>
|
|
^\-$
|
|
</reg>
|
|
<replacement>
|
|
–
|
|
</replacement>
|
|
</expression>
|
|
</set>
|
|
<set>
|
|
<name>Convert double dashes to m-dashes</name>
|
|
<expression>
|
|
<reg>
|
|
([^\-])\-\-([^\-])
|
|
</reg>
|
|
<replacement>
|
|
\1—\2
|
|
</replacement>
|
|
</expression>
|
|
<expression>
|
|
<reg>
|
|
([^\-])\-\-$
|
|
</reg>
|
|
<replacement>
|
|
\1—
|
|
</replacement>
|
|
</expression>
|
|
<expression>
|
|
<reg>
|
|
^\-\-([^\-])
|
|
</reg>
|
|
<replacement>
|
|
—\1
|
|
</replacement>
|
|
</expression>
|
|
<expression>
|
|
<reg>
|
|
^\-\-$
|
|
</reg>
|
|
<replacement>
|
|
—
|
|
</replacement>
|
|
</expression>
|
|
</set>
|
|
<set>
|
|
<name>Reduce whitespace in source</name>
|
|
<expression>
|
|
<reg>
|
|
[\n\r\t]
|
|
</reg>
|
|
<replacement>
|
|
\x20
|
|
</replacement>
|
|
</expression>
|
|
<expression>
|
|
<reg>
|
|
[ ]{2}
|
|
</reg>
|
|
<replacement>
|
|
\x20
|
|
</replacement>
|
|
</expression>
|
|
</set>
|
|
</cleanup_expressions>
|
|
|
|
|
|
</kupuconfig>
|
|
</xml>
|
|
</div>
|
|
|
|
<div class="kupu-fulleditor">
|
|
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kupusaveonpart.js" tal:attributes="src string:${root_url}/kupu/kupusaveonpart.js"> </script>
|
|
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" src="kupucontextmenu.js" tal:attributes="src string:${root_url}/kupu/kupucontextmenu.js"> </script>
|
|
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
|
|
|
<tr>
|
|
<td colspan="2">
|
|
|
|
<div class="kupu-tb" id="toolbar">
|
|
|
|
<span id="kupu-tb-buttons" class="kupu-tb-buttons">
|
|
|
|
<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>
|
|
|
|
<select id="kupu-tb-styles" onchange="kupuui.setTextStyle(this.options[this.selectedIndex].value)">
|
|
<optgroup label="paragraph">
|
|
<option value="P|normal">plain</option>
|
|
<option value="P|lead">lead</option>
|
|
<option value="P|annotation">annotation</option>
|
|
</optgroup>
|
|
<optgroup label="heading">
|
|
<option value="H2">title</option>
|
|
<option value="H3">heading</option>
|
|
<option value="H4">sub</option>
|
|
<option value="H5">subsub</option>
|
|
<option value="H6">paragraph</option>
|
|
<option value="H6|sub">subparagraph</option>
|
|
</optgroup>
|
|
<option value="PRE">preformatted</option>
|
|
</select>
|
|
|
|
<span class="kupu-tb-buttongroup">
|
|
<button type="button" class="kupu-save" id="kupu-save-button" title="save: alt-s" i18n:attributes="title" accesskey="s"> </button>
|
|
</span>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<span class="kupu-tb-buttongroup" id="kupu-bg-list">
|
|
|
|
<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>
|
|
|
|
<span class="kupu-tb-buttongroup" id="kupu-bg-definitionlist">
|
|
|
|
<button type="button" class="kupu-insertdefinitionlist" title="definition list: alt-=" id="kupu-list-dl-addbutton" i18n:attributes="title" accesskey="="> </button>
|
|
</span>
|
|
|
|
<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>
|
|
|
|
<span class="kupu-tb-buttongroup kupu-spellchecker-span" id="kupu-spellchecker">
|
|
<button type="button" class="kupu-spellchecker" id="kupu-spellchecker-button" title="check spelling" i18n:attributes="title"> </button>
|
|
</span>
|
|
|
|
<span class="kupu-tb-buttongroup kupu-source-span" id="kupu-source">
|
|
<button type="button" class="kupu-source" id="kupu-source-button" title="edit HTML code" i18n:attributes="title"> </button>
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td valign="top">
|
|
|
|
<div class="kupu-editorframe">
|
|
<iframe id="kupu-editor" class="kupu-editor-iframe" width="99%" frameborder="0" src="kupu_content" scrolling="auto" charset="UTF-8">
|
|
</iframe>
|
|
</div>
|
|
<textarea class="kupu-editor-textarea" id="kupu-editor-textarea"> </textarea>
|
|
|
|
</td>
|
|
|
|
<td style="width: 23em;" valign="top">
|
|
|
|
<div class="kupu-toolboxes" id="kupu-toolboxes">
|
|
|
|
<div class="kupu-toolbox" id="kupu-toolbox-properties">
|
|
<h1 class="kupu-toolbox-heading" i18n:translate="">properties</h1>
|
|
|
|
<div class="kupu-tooltray">
|
|
<form name="kupu-properties-form" id="kupu-properties-form">
|
|
<table width="99%" style="color: #333;" border="0">
|
|
<tr id="propsrow">
|
|
<td valign="top">
|
|
name
|
|
</td>
|
|
<td valign="top">
|
|
input
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="kupu-toolbox" id="kupu-toolbox-links">
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" tal:define="container model/get_container; folder_context python: '/'.join(container.getPhysicalPath())" tal:content="string: function getLink() { reference.getReference( function(path, id, title) { kupu.getTool('linktool').createLink(path); }, '${container/absolute_url}', '', true);; } "/>
|
|
|
|
<h1 class="kupu-toolbox-heading" i18n:translate="">link</h1>
|
|
|
|
<div class="kupu-tooltray">
|
|
<div id="kupu-toolbox-addlink"> </div>
|
|
<div id="kupu-toolbox-editlink" class="kupu-toolbox-editlink"> </div>
|
|
|
|
<form name="kupu_link_form" onsubmit="return false;">
|
|
<input type="button" class="transport" style="margin-bottom:0.2em;" onclick="getLink(); return false;" value="get link reference..."/>
|
|
<input class="store" type="text" id="kupu-link-input" name="kupu_link_href" style="margin-left:0.2em; width:96%"/><br/>
|
|
 link target
|
|
<select id="kupu-linktarget-select">
|
|
<option value="_self">same window</option>
|
|
<option value="_blank">new window</option>
|
|
<option value="input">custom target</option>
|
|
</select><br/>
|
|
<input class="store" type="text" id="kupu-linktarget-input" name="kupu_link_target" style="margin-left: 0.2em; width: 96%"/>
|
|
<input type="button" class="button" value="add link" id="kupu-link-addbutton"/>
|
|
<input type="button" class="button" value="update link" id="kupu-link-updatebutton"/>
|
|
<input type="button" class="warning" value="remove" id="kupu-link-delbutton"/>
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="kupu-toolbox" id="kupu-toolbox-indexes">
|
|
|
|
<h1 class="kupu-toolbox-heading" i18n:translate="">index item</h1>
|
|
|
|
<div class="kupu-tooltray">
|
|
|
|
<form name="kupu_index_form" onsubmit="return false;">
|
|
<input class="store" type="text" id="kupu-index-input" name="kupu_index_href" style="margin-left:0.2em; width:96%"/>
|
|
<input type="button" class="button" value="add index" id="kupu-index-addbutton"/>
|
|
<input type="button" class="button" value="update index" id="kupu-index-updatebutton"/>
|
|
<input type="button" class="warning" value="remove" id="kupu-index-deletebutton"/>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="kupu-toolbox" id="kupu-toolbox-images">
|
|
|
|
<script xmlns:tal="http://xml.zope.org/namespaces/tal" type="text/javascript" tal:define="container model/get_container; folder_context python: container" tal:content="string: function getImage() { reference.getReference( function(path, id, title) { var imgtool = kupu.getTool('imagetool'); imgtool.createImage(path); if (title) { var selNode = kupu.getSelectedNode(); var image = kupu.getNearestParentOfType(selNode, 'img'); image.setAttribute('title', title); imgtool.updateState(selNode); }; }, '${folder_context/absolute_url}', 'Silva Image', true);; } "/>
|
|
|
|
|
|
<h1 class="kupu-toolbox-heading" i18n:translate="">image</h1>
|
|
|
|
<div class="kupu-tooltray">
|
|
|
|
<form xmlns:tal="http://xml.zope.org/namespaces/tal" name="kupu_image_form" onsubmit="return false" tal:define="container model/get_container">
|
|
<input type="button" class="transport" onclick="getImage()" value="get image reference..."/>
|
|
<div id="kupu-toolbox-image-edit" style="color: black; display: none">
|
|
<input type="button" class="transport" value="edit image..." tal:attributes="onclick string:window.open('${container/absolute_url}/' + getFromSelector('kupu-toolbox-image-src').value + '/edit')"/>
|
|
<input type="text" id="kupu-toolbox-image-src" style="margin-left:0.2em; width:96%"/>
|
|
 link to:<br/>
|
|
<input type="radio" id="kupu-toolbox-image-link-radio-hires" name="linkradio" value="hires"/> hires version<br/>
|
|
<input type="radio" id="kupu-toolbox-image-link-radio-link" name="linkradio" checked="checked" value="link"/>
|
|
<input type="text" id="kupu-toolbox-image-link"/><br/>
|
|
 link target
|
|
<select id="kupu-toolbox-image-target" style="margin-left:0.2em">
|
|
<option value="_self">same window</option>
|
|
<option value="_blank">new window</option>
|
|
<option value="input">custom target</option>
|
|
</select><br/>
|
|
<input class="store" type="text" id="kupu-toolbox-image-target-input" name="kupu_image_target" style="margin-left: 0.2em; width: 96%"/>
|
|
 image alignment
|
|
<select id="kupu-toolbox-image-align" style="margin-left:0.2em">
|
|
<option value="default">default</option>
|
|
<option value="image-left">align left</option>
|
|
<option value="image-center">align center</option>
|
|
<option value="image-right">align right</option>
|
|
<option value="float-left">float left</option>
|
|
<option value="float-right">float right</option>
|
|
</select><br/>
|
|
 tooltip
|
|
<input type="text" id="kupu-toolbox-image-alt"/>
|
|
</div>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="kupu-toolbox" id="kupu-toolbox-abbr">
|
|
|
|
<h1 class="kupu-toolbox-heading" i18n:translate="">abbreviations and acronyms</h1>
|
|
|
|
<div class="kupu-tooltray">
|
|
|
|
<form name="kupu-abbr-form">
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<table width="100%" style="color: #333;" border="0">
|
|
<tr>
|
|
<td>title</td>
|
|
<td><input class="store" type="text" id="kupu-abbr-title"/></td>
|
|
</tr>
|
|
<tr id="kupu-abbr-radiorow">
|
|
<td>type</td>
|
|
<td>
|
|
<input type="radio" id="kupu-abbr-type-abbr" name="kupu-abbr-type" value="abbr" checked="checked"/>
|
|
Abbreviation
|
|
<input type="radio" id="kupu-abbr-type-acronym" name="kupu-abbr-type" value="acronym"/>
|
|
Acronym
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<input type="button" class="button" value="add element" id="kupu-abbr-addbutton"/>
|
|
<input type="button" class="button" value="update element" id="kupu-abbr-updatebutton"/>
|
|
<input type="button" class="warning" value="remove element" id="kupu-abbr-deletebutton"/>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="kupu-toolbox" id="kupu-toolbox-cleanupexpressions">
|
|
<h1 class="kupu-toolbox-heading" i18n:translate="">cleanup</h1>
|
|
<div class="kupu-tooltray">
|
|
<select id="kupucleanupexpressionselect" class="kupu-toolbox-st">
|
|
</select>
|
|
<input class="button" type="button" id="kupucleanupexpressionbutton" value="perform"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="kupu-toolbox" id="kupu-toolbox-extsource">
|
|
|
|
<h1 class="kupu-toolbox-heading" i18n:translate="">external source</h1>
|
|
|
|
<div class="kupu-tooltray">
|
|
|
|
<div id="kupu-extsource-formcontainer">
|
|
</div>
|
|
|
|
<form name="kupu_extsource_form" onsubmit="return false">
|
|
<select id="kupu-toolbox-extsource-id">
|
|
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal" repeat="extsource here/get_available_sources">
|
|
<tal:block define="id python: extsource[0]; object python:extsource[1]">
|
|
<option tal:attributes="value id" tal:content="python:object.get_title() or id"/>
|
|
</tal:block>
|
|
</tal:block>
|
|
</select>
|
|
|
|
<input class="button" type="button" value="add external source" id="kupu-extsource-addbutton"/>
|
|
<input class="cancel" type="button" value="cancel" id="kupu-extsource-cancelbutton"/>
|
|
<input class="button" type="button" value="update source" id="kupu-extsource-updatebutton"/>
|
|
<input class="warning" type="button" value="remove" id="kupu-extsource-delbutton"/>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="kupu-toolbox" id="kupu-toolbox-citation">
|
|
|
|
<h1 class="kupu-toolbox-heading" i18n:translate="">citation</h1>
|
|
|
|
<div class="kupu-tooltray">
|
|
|
|
<form name="kupu-citation-form">
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<table width="100%" style="color: #333;" border="0">
|
|
<tr>
|
|
<td width="30%">author</td>
|
|
<td><input class="store" type="text" id="kupu-citation-authorinput"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td>source</td>
|
|
<td><input class="store" type="text" id="kupu-citation-sourceinput"/></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<input type="button" class="button" value="add citation" id="kupu-citation-addbutton"/>
|
|
<input type="button" class="button" value="update citation" id="kupu-citation-updatebutton"/>
|
|
<input type="button" class="warning" value="remove" id="kupu-citation-deletebutton"/>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="kupu-toolbox" id="kupu-toolbox-tables">
|
|
|
|
|
|
<h1 class="kupu-toolbox-heading" i18n:translate="">table</h1>
|
|
|
|
<div class="kupu-tooltray">
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<table width="100%" style="color: #333;">
|
|
<tr>
|
|
<td class="align-right" width="30%">table class</td>
|
|
<td>
|
|
<select class="manipulator" id="kupu-table-classchooser">
|
|
<option value="plain">plain</option>
|
|
<option value="list">list</option>
|
|
<option value="grid">grid</option>
|
|
<option value="datagrid">datagrid</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div id="kupu-toolbox-addtable" class="kupu-toolbox-addtable">
|
|
<table width="100%" style="color: #333;">
|
|
<tr>
|
|
<td class="align-right" width="30%">rows</td>
|
|
<td><input class="store" id="kupu-table-newrows"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="align-right">columns</td>
|
|
<td><input class="store" id="kupu-table-newcols"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="align-right">heading</td>
|
|
<td>
|
|
<input id="kupu-table-makeheader" type="checkbox"/>
|
|
<label for="kupu-table-makeheader">create</label>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="button" class="button" id="kupu-table-addtable-button" value="add table"/>
|
|
</div>
|
|
<div id="kupu-toolbox-edittable" class="kupu-toolbox-edittable" style="display: none">
|
|
<table width="100%">
|
|
<tr>
|
|
<td class="align-right" style="padding-right:0.3em" width="30%">column align</td>
|
|
<td>
|
|
<select class="manipulator" id="kupu-table-alignchooser">
|
|
<option value="left">left</option>
|
|
<option value="center">center</option>
|
|
<option value="right">right</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="align-right" style="padding-right: 0.3em">column widths</td>
|
|
<td><input type="text" id="kupu-table-columnwidth"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="align-right">column</td>
|
|
<td>
|
|
<input type="button" class="button" id="kupu-table-addcolumn-button" value="add column"/>
|
|
<input type="button" class="warning" id="kupu-table-delcolumn-button" value="remove"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="align-right">row</td>
|
|
<td>
|
|
<input type="button" class="button" id="kupu-table-addrow-button" value="add row"/>
|
|
<input type="button" class="warning" id="kupu-table-delrow-button" value="remove"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="align-right">table</td>
|
|
<td>
|
|
<input type="button" class="button" id="kupu-table-fix-button" value="cleanup"/>
|
|
<input type="button" class="warning" id="kupu-table-delete-button" value="remove"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="kupu-toolbox" id="kupu-toolbox-toc">
|
|
|
|
<h1 class="kupu-toolbox-heading" i18n:translate="">table of contents</h1>
|
|
|
|
<div class="kupu-tooltray">
|
|
|
|
<form name="kupu_index_form" onsubmit="return false;">
|
|
<select id="kupu-toolbox-toc-depth">
|
|
<option value="1">1 level</option>
|
|
<option value="2">2 levels</option>
|
|
<option value="3">3 levels</option>
|
|
<option value="4">4 levels</option>
|
|
<option value="5">5 levels</option>
|
|
<option value="6">6 levels</option>
|
|
<option value="7">7 levels</option>
|
|
<option value="8">8 levels</option>
|
|
<option value="9">9 levels</option>
|
|
<option value="-1">unlimited</option>
|
|
</select>
|
|
<input class="button" type="button" value="add toc" id="kupu-toc-add-button"/>
|
|
<input class="warning" type="button" value="remove" id="kupu-toc-del-button"/>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="kupu-toolbox" id="kupu-toolbox-typochars">
|
|
|
|
<h1 class="kupu-toolbox-heading" i18n:translate="">typographical characters</h1>
|
|
<div class="kupu-tooltray">
|
|
|
|
€ ‚ ‘ ’ „ “ ” « » — – ·
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="kupu-toolbox" id="kupu-toolbox-save">
|
|
|
|
<h1 class="kupu-toolbox-heading" i18n:translate="">save</h1>
|
|
<div class="kupu-tooltray">
|
|
<form action="." method="POST" onsubmit="return false">
|
|
<input type="button" class="button" value="save document" id="kupu-save-toolbox-button" onclick="kupu.saveDocument()"/>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
</div>
|
|
|
|
</metal:macro>
|
|
</body>
|
|
|
|
|
|
</html>
|
|
|