egroupware_official/etemplate/templates/default/db-tools.edit.xet

167 lines
7.2 KiB
Plaintext
Raw Normal View History

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