mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 04:19:41 +01:00
some changes to be closer to XUL:
<overlay> now root-node of each eTemplate xul-file <template> is replaced by <grid id="app.template" ...>
This commit is contained in:
parent
ea32918291
commit
78da482f5e
@ -1,49 +1,51 @@
|
||||
<?xml version="1.0"?>
|
||||
<grid id="etemplate.db-tools.cols" template="" lang="" group="" version="0.9.13.001">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="nmh">
|
||||
<label value="#" no_lang="1" align="center"/>
|
||||
<label value="ColumnName"/>
|
||||
<label value="Type"/>
|
||||
<label value="Precision"/>
|
||||
<label value="Scale"/>
|
||||
<label value="Nullable"/>
|
||||
<label value="Unique"/>
|
||||
<label value="Primary Key"/>
|
||||
<label value="Indexed"/>
|
||||
<label value="Foreign Key"/>
|
||||
<label value="Default"/>
|
||||
<button label="Add Column" align="center" id="add_column"/>
|
||||
</row>
|
||||
<row class="nmr">
|
||||
<label no_lang="1" align="center" id="Row${row}[n]"/>
|
||||
<textbox size="20" 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}[nullable]" statustext="can have special SQL-value NULL"/>
|
||||
<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}[pk]" statustext="Primary key for the table, gets automaticaly indexed"/>
|
||||
<checkbox align="center" id="Row${row}[ix]" statustext="an indexed column speeds up querys using that column (cost space on the disk !!!)"/>
|
||||
<textbox size="20" align="center" id="Row${row}[fk]" statustext="name of other table where column is a key from"/>
|
||||
<textbox size="20" id="Row${row}[default]" statustext="enter '' for an empty default, nothing mean no default"/>
|
||||
<button label="Delete Column" align="center" id="delete[$row]"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<overlay>
|
||||
<grid id="etemplate.db-tools.cols" template="" lang="" group="" version="0.9.13.001">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="nmh">
|
||||
<label value="#" no_lang="1" align="center"/>
|
||||
<label value="ColumnName"/>
|
||||
<label value="Type"/>
|
||||
<label value="Precision"/>
|
||||
<label value="Scale"/>
|
||||
<label value="Nullable"/>
|
||||
<label value="Unique"/>
|
||||
<label value="Primary Key"/>
|
||||
<label value="Indexed"/>
|
||||
<label value="Foreign Key"/>
|
||||
<label value="Default"/>
|
||||
<button label="Add Column" align="center" id="add_column"/>
|
||||
</row>
|
||||
<row class="nmr">
|
||||
<label no_lang="1" align="center" id="Row${row}[n]"/>
|
||||
<textbox size="20" 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}[nullable]" statustext="can have special SQL-value NULL"/>
|
||||
<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}[pk]" statustext="Primary key for the table, gets automaticaly indexed"/>
|
||||
<checkbox align="center" id="Row${row}[ix]" statustext="an indexed column speeds up querys using that column (cost space on the disk !!!)"/>
|
||||
<textbox size="20" align="center" id="Row${row}[fk]" statustext="name of other table where column is a key from"/>
|
||||
<textbox size="20" id="Row${row}[default]" statustext="enter '' for an empty default, nothing mean no default"/>
|
||||
<button label="Delete Column" align="center" id="delete[$row]"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</overlay>
|
@ -1,40 +1,42 @@
|
||||
<?xml version="1.0"?>
|
||||
<grid id="etemplate.db-tools.edit" template="" lang="" group="" version="0.9.13.001" width="100%">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column width="1%"/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label size="bi" span="6" value="Editable Templates - DB-Tools" no_lang="1" id="msg"/>
|
||||
<button label="eTemplate Editor" align="right" id="editor" statustext="to start the eTemplate editor"/>
|
||||
</row>
|
||||
<row>
|
||||
<hrule span="all"/>
|
||||
</row>
|
||||
<row>
|
||||
<label span="all"/>
|
||||
</row>
|
||||
<row>
|
||||
<menulist>
|
||||
<menupopup label="Application" no_lang="1" id="app" onchange="1" statustext="Select an application"/>
|
||||
</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 <app>/setup/tables_current.inc.php"/>
|
||||
</row>
|
||||
<row>
|
||||
<template span="all" id="etemplate.db-tools.cols"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<overlay>
|
||||
<grid id="etemplate.db-tools.edit" template="" lang="" group="" version="0.9.13.001" width="100%">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column width="1%"/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label size="bi" span="6" value="Editable Templates - DB-Tools" no_lang="1" id="msg"/>
|
||||
<button label="eTemplate Editor" align="right" id="editor" statustext="to start the eTemplate editor"/>
|
||||
</row>
|
||||
<row>
|
||||
<hrule span="all"/>
|
||||
</row>
|
||||
<row>
|
||||
<label span="all"/>
|
||||
</row>
|
||||
<row>
|
||||
<menulist>
|
||||
<menupopup label="Application" no_lang="1" id="app" onchange="1" statustext="Select an application"/>
|
||||
</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 <app>/setup/tables_current.inc.php"/>
|
||||
</row>
|
||||
<row>
|
||||
<grid span="all" id="etemplate.db-tools.cols"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</overlay>
|
Loading…
Reference in New Issue
Block a user