bringing the xet-files up-to-date

This commit is contained in:
Ralf Becker 2004-02-06 12:49:05 +00:00
parent 6762a5f7b3
commit 626be11f90
15 changed files with 276 additions and 68 deletions

View File

@ -0,0 +1,22 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="etemplate.datefield" template="" lang="" group="" version="0.9.15.002" spacing="0">
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>
<int options="1,,6" id="f1" statustext="@help"/>
<description options="b" id="sep"/>
<int options="1,,6" id="f2" statustext="@help"/>
<description options="b" id="sep"/>
<int options="1,,6" id="f3" statustext="@help"/>
</row>
</rows>
</grid>
</overlay>

View File

@ -0,0 +1,134 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="etemplate.db-tools.cols" template="" lang="" group="0" version="0.9.15.003">
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row class="nmh">
<description value="#" no_lang="1" align="center"/>
<description value="ColumnName"/>
<description value="Type"/>
<description value="Precision"/>
<description value="Scale"/>
<description value="NOT NULL"/>
<description value="Primary Key"/>
<description value="Unique"/>
<description value="Indexed"/>
<description value="Indexoptions"/>
<description value="Foreign Key"/>
<description value="Default"/>
<button label="Add Column" align="center" id="add_column" statustext="Add a new column (after the existing ones)"/>
</row>
<row class="nmr">
<description no_lang="1" align="center" id="Row${row}[n]"/>
<textbox size="15" no_lang="1" id="Row${row}[name]" statustext="need to be unique in the table and no reseved word from SQL, best prefix all with a common 2-digit short for the app, eg. 'et_'"/>
<menulist>
<menupopup no_lang="1" id="Row${row}[type]" statustext="type of the column"/>
</menulist>
<int align="center" id="Row${row}[precision]" statustext="length for char+varchar, precisions int: 2, 4, 8 and float: 4, 8"/>
<int id="Row${row}[scale]" statustext="scale for float"/>
<checkbox align="center" id="Row${row}[notnull]" statustext="can not have special SQL-value NULL"/>
<checkbox align="center" id="Row${row}[pk]" statustext="Primary key for the table, gets automaticaly indexed"/>
<checkbox align="center" id="Row${row}[uc]" statustext="DB ensures that every row has a unique value in that column"/>
<checkbox align="center" id="Row${row}[ix]" statustext="an indexed column speeds up querys using that column (cost space on the disk !!!)"/>
<textbox size="15" id="Row${row}[options]" statustext="DB-specific index options (comma-sep.), eg. mysql(FULLTEXT) or mysql(100) for the indexed length of a col"/>
<textbox size="20" align="center" id="Row${row}[fk]" statustext="name of other table where column is a key from"/>
<textbox size="8" id="Row${row}[default]" statustext="enter '' for an empty default, nothing mean no default"/>
<button label="Delete Column" align="center" id="delete[$row]" statustext="Deletes this column"/>
</row>
</rows>
</grid>
<grid id="etemplate.db-tools.indices" template="" lang="" group="0" version="0.9.15.001">
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row class="th">
<description span="all" value="Multicolumn Indices"/>
</row>
<row class="th">
<description value="#" no_lang="1" align="center"/>
<description value="ColumnName"/>
<description value="ColumnName"/>
<description value="ColumnName"/>
<description value="ColumnName"/>
<description value="ColumnName"/>
<description value="Unique"/>
<button label="Add Index" align="center" id="add_index" statustext="Add a new multi-column index"/>
</row>
<row class="row">
<description no_lang="1" align="center" id="Index[$row][n]"/>
<menulist>
<menupopup options="none" no_lang="1" id="Index[$row][0]" statustext="Select the indexed columns in their desired order"/>
</menulist>
<menulist>
<menupopup options="none" no_lang="1" align="center" id="Index[$row][1]" statustext="Select the indexed columns in their desired order"/>
</menulist>
<menulist>
<menupopup options="none" no_lang="1" id="Index[$row][2]" statustext="Select the indexed columns in their desired order"/>
</menulist>
<menulist>
<menupopup options="none" no_lang="1" align="center" id="Index[$row][3]" statustext="Select the indexed columns in their desired order"/>
</menulist>
<menulist>
<menupopup options="none" no_lang="1" id="Index[$row][4]" statustext="Select the indexed columns in their desired order"/>
</menulist>
<checkbox align="center" id="Index[$row][unique]" statustext="DB ensures that every row has a unique value in that column"/>
<button label="Delete Index" align="center" id="delete_index[$row]" statustext="Deletes this index"/>
</row>
</rows>
</grid>
<grid id="etemplate.db-tools.edit" template="" lang="" group="" version="0.9.15.002" width="100%">
<columns>
<column/>
<column/>
<column/>
<column width="1%"/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>
<menulist>
<menupopup type="select-app" options="Select one ...,,all" label="Application" no_lang="1" id="app" onchange="1" statustext="Select an application, (*) = uninstalled"/>
</menulist>
<menulist>
<menupopup label="TableName" no_lang="1" id="table_name" onchange="1" statustext="Select an table of the application"/>
</menulist>
<textbox size="20" align="right" id="new_table_name" statustext="Name of table to add"/>
<button label="Add Table" id="add_table" statustext="Create a new table for the application"/>
<button label="Import" id="import" statustext="Import table-definitions from existing db-table"/>
<button label="Drop Table" id="drop_table" disabled="true" statustext="Drop a table - this can NOT be undone"/>
<button label="Write Tables" id="write_tables" statustext="Write &lt;app&gt;/setup/tables_current.inc.php"/>
</row>
<row>
<grid span="all" id="etemplate.db-tools.cols"/>
</row>
<row>
<grid span="all" id="etemplate.db-tools.indices"/>
</row>
</rows>
</grid>
</overlay>

View File

@ -1,14 +0,0 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="etemplate.disable_test" template="" lang="" group="" version="">
<columns>
<column width="50%" disabled="true"/>
</columns>
<rows>
<row disabled="!@data">
<description/>
</row>
</rows>
</grid>
</overlay>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="etemplate.editor.cell" template="" lang="" group="0" version="0.9.15.002" height="100%">
<grid id="etemplate.editor.cell" template="" lang="" group="0" version="0.9.15.003" height="100%">
<columns>
<column/>
<column/>
@ -42,7 +42,9 @@
</row>
<row class="row">
<description value="Help"/>
<textbox size="50" span="all" id="help" statustext="displayed in statusline of browser if input-field gets focus"/>
<textbox size="45" span="3" id="help" statustext="displayed in statusline of browser if input-field gets focus"/>
<description value="blurText" align="center"/>
<textbox size="10" id="blur" statustext="this text gets displayed if the input-field is empty and has no focus (blur)"/>
</row>
</rows>
</grid>

View File

@ -88,7 +88,7 @@
</row>
</rows>
</grid>
<grid id="etemplate.editor.cell" template="" lang="" group="0" version="0.9.15.002" height="100%">
<grid id="etemplate.editor.cell" template="" lang="" group="0" version="0.9.15.003" height="100%">
<columns>
<column/>
<column/>
@ -129,7 +129,9 @@
</row>
<row class="row">
<description value="Help"/>
<textbox size="50" span="all" id="help" statustext="displayed in statusline of browser if input-field gets focus"/>
<textbox size="45" span="3" id="help" statustext="displayed in statusline of browser if input-field gets focus"/>
<description value="blurText" align="center"/>
<textbox size="10" id="blur" statustext="this text gets displayed if the input-field is empty and has no focus (blur)"/>
</row>
</rows>
</grid>
@ -171,7 +173,7 @@
<row>
<hbox span="all">
<button label="Read" id="read" statustext="read eTemplate from database (for the keys above)"/>
<button label="Show (no save)" id="show" statustext="shows/displays eTemplate for testing, does NOT save it before"/>
<button label="Show" id="show" statustext="shows/displays eTemplate for testing, does NOT save it before"/>
<button label="Save" id="save" statustext="save the eTemplate under the above keys (name, ...), change them for a SaveAs"/>
<button label="Delete" id="delete" statustext="deletes the eTemplate spez. above"/>
<button label="Dump4Setup" id="dump" statustext="writes a 'etemplates.inc.php' file (for application in Name) in the setup-dir of the app"/>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="etemplate.link_widget.attach" template="" lang="" group="" version="0.9.15.001">

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="etemplate.link_widget.create" template="" lang="" group="" version="0.9.15.001">
@ -9,7 +9,7 @@
<column/>
</columns>
<rows>
<row>
<row class="row_on">
<description id="app"/>
<menulist>
<menupopup no_lang="1" id="id" statustext="Select an entry to link with"/>

View File

@ -1,25 +1,27 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="etemplate.link_widget.list" template="" lang="" group="" version="0.9.15.002" class="whiteback">
<grid id="etemplate.link_widget.list" template="" lang="" group="" version="0.9.15.003" class="whiteback">
<columns>
<column/>
<column/>
<column/>
<column/>
<column disabled="!@primary"/>
</columns>
<rows>
<row class="nmr">
<description id="${row}[app]"/>
<description options=",@${row}[view]" no_lang="1" id="${row}[title]" statustext="view this linked entry in its application"/>
<description no_lang="1" id="${row}[remark]"/>
<button image="delete.gif" label="Unlink" id="unlink[$row_cont[link_id]]" statustext="Remove this link (not the entry itself)"/>
<hbox options="0,0">
<description options=",@${row}[view]" no_lang="1" id="${row}[title]" statustext="view this linked entry in its application"/>
<description class="note_following" no_lang="1" id="${row}[remark]"/>
</hbox>
<button image="delete.png" label="Unlink" id="unlink[$row_cont[link_id]]" statustext="Remove this link (not the entry itself)"/>
<radio options="$row_cont[link_id]" id="primary" statustext="Select a primary contact, to show in the list"/>
</row>
</rows>
<styles>
.whiteback { background: white; }
.note_following { font-style: italic; padding-left: 5px; }
</styles>
</grid>
</overlay>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="etemplate.link_widget.search" template="" lang="" group="" version="0.9.15.002">
<grid id="etemplate.link_widget.search" template="" lang="" group="" version="0.9.15.003">
<columns>
<column/>
<column/>
@ -11,7 +11,7 @@
<rows>
<row class="row_on">
<menulist>
<menupopup label="Search" id="app" statustext="Select an App to search in"/>
<menupopup label="Search" no_lang="1" id="app" statustext="Select an App to search in"/>
</menulist>
<textbox size="25" id="query" statustext="Enter a search pattern"/>
<button label="Search" id="search" statustext="Click here to start the search"/>

View File

@ -0,0 +1,23 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="etemplate.nextmatch_widget.header_only" template="" lang="" group="" version="0.9.15.002" width="100%">
<columns>
<column width="50%"/>
<column width="50%"/>
</columns>
<rows>
<row>
<grid id="@header_left"/>
<grid align="right" id="@header_right"/>
</row>
<row>
<grid content="rows" span="all" align="center" id="@template"/>
</row>
</rows>
<styles>
.activ_sortcolumn { color: red; font-weight: bold; }
.inactiv_sortcolumn { color: green; font-weight: normal; }
</styles>
</grid>
</overlay>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="etemplate.nextmatch_widget.nm_row" template="" lang="" group="0" version="0.9.15.005" width="100%" spacing="0" padding="5">
<grid id="etemplate.nextmatch_widget.nm_row" template="" lang="" group="0" version="0.9.15.006" width="100%" spacing="0" padding="5">
<columns>
<column width="1%"/>
<column width="1%"/>
@ -17,31 +17,36 @@
<row class="nmh">
<button image="first.gif" ro_image="first-grey.gif" label="First" id="first" statustext="go to the first entry"/>
<button image="left.gif" ro_image="left-grey.gif" label="Left" id="left" statustext="go to the previous page of entries"/>
<menulist label="Category" onchange="1" statustext="select a Category">
<menupopup id="cat_id" options="-1" type="select-cat"/>
<menulist>
<menupopup type="select-cat" options="-1" label="Category" id="cat_id" onchange="1" statustext="select a Category"/>
</menulist>
<menulist label="@filter_label" align="center" onchange="1" statustext="@filter_help">
<menupopup id="filter"/>
<menulist>
<menupopup label="@filter_label" align="center" id="filter" onchange="1" statustext="@filter_help"/>
</menulist>
<menulist label="@filter2_label" align="right" onchange="1" statustext="@filter2_help">
<menupopup id="filter2"/>
<menulist>
<menupopup label="@filter2_label" align="right" id="filter2" onchange="1" statustext="@filter2_help"/>
</menulist>
<textbox align="right" id="search" statustext="a pattern to be searched for"/>
<textbox align="right" id="search" onchange="1" statustext="a pattern to be searched for"/>
<button label="Search" id="start_search" statustext="to start the search"/>
<button image="right.gif" ro_image="right-grey.gif" label="Right" id="right" statustext="go to the next page of entries"/>
<button image="last.gif" ro_image="last-grey.gif" label="Last" id="last" statustext="go to the last entry"/>
</row>
</rows>
</grid>
<grid id="etemplate.nextmatch_widget" template="" lang="" group="" version="0.9.15.006" width="100%" spacing="0" padding="5">
<grid id="etemplate.nextmatch_widget" template="" lang="" group="" version="0.9.15.008" width="100%">
<columns>
<column width="55%"/>
<column width="45%"/>
<column width="40%"/>
<column/>
<column width="40%"/>
</columns>
<rows>
<row>
<description value="showing" no_lang="1" align="right" id="range"/>
<description span="all" value="of" no_lang="1" id="total"/>
<grid id="@header_left"/>
<hbox align="center">
<description value="showing" no_lang="1" id="range"/>
<description value="of" no_lang="1" id="total"/>
</hbox>
<grid align="right" id="@header_right"/>
</row>
<row>
<grid span="all" align="center" id="etemplate.nextmatch_widget.nm_row"/>
@ -49,6 +54,13 @@
<row>
<grid content="rows" span="all" align="center" id="@template"/>
</row>
<row disabled="!@bottom_too">
<grid content="bottom" span="all" align="center" id="etemplate.nextmatch_widget.nm_row"/>
</row>
</rows>
<styles>
.activ_sortcolumn { color: red; font-weight: bold; }
.inactiv_sortcolumn { color: green; font-weight: normal; }
</styles>
</grid>
</overlay>

View File

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="etemplate.tab_widget.tab" template="" lang="" group="" version="0.9.15.001" padding="0">
<columns>
<column/>
</columns>
<rows>
<row>
<button class="etemplate_tab row_on" label="@label" id="tab" onchange="1" statustext="@help"/>
</row>
</rows>
</grid>
</overlay>

View File

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="etemplate.tab_widget.tab_active" template="" lang="" group="" version="0.9.15.001" spacing="0" padding="0">
<columns>
<column/>
</columns>
<rows>
<row>
<description class="etemplate_tab_active th" value="@label" id="tab" statustext="@help"/>
</row>
</rows>
</grid>
</overlay>

View File

@ -0,0 +1,22 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="etemplate.tab_widget" template="" lang="" group="" version="0.9.15.002" width="100%" spacing="0" padding="0">
<columns>
<column/>
</columns>
<rows>
<row valign="bottom">
<grid id="@tabs"/>
</row>
<row class="row_off">
<grid id="@body"/>
</row>
</rows>
<styles>
.etemplate_tab { border-style:solid; border-width:1px 1px 0px; border-color:black; padding:4px; width: 60px;}
.etemplate_tab_active { border-style:solid; border-width:1px 1px 0px; border-color:black;padding:6px; width: 60px;}
.tab_body { border-style: solid; border-color: black; border-width: 1px; }
</styles>
</grid>
</overlay>

View File

@ -1,25 +0,0 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<grid id="etemplate.vbox.test" template="" lang="" group="" version="" border="1">
<columns>
<column/>
<column/>
<column/>
</columns>
<rows>
<row valign="top">
<vbox span="2" class="test">
<description value="Hallo"/>
<description value="Ralf"/>
</vbox>
<description value="C1"/>
</row>
<row>
<description value="A2"/>
<description value="B2"/>
<description value="C2"/>
</row>
</rows>
</grid>
</overlay>