phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: etemplate/templates/default etemplate.db-tools.c


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/templates/default etemplate.db-tools.cols.xul,1.1,1.2 etemplate.db-tools.edit.xul,1.1,1.2
Date: Thu, 12 Sep 2002 14:03:51 -0400

Update of /cvsroot/phpgroupware/etemplate/templates/default
In directory subversions:/tmp/cvs-serv14993

Modified Files:
        etemplate.db-tools.cols.xul etemplate.db-tools.edit.xul 
Log Message:
some changes to be closer to XUL:
<overlay> now root-node of each eTemplate xul-file
<template> is replaced by <grid id="app.template" ...>

Index: etemplate.db-tools.cols.xul
===================================================================
RCS file: 
/cvsroot/phpgroupware/etemplate/templates/default/etemplate.db-tools.cols.xul,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** etemplate.db-tools.cols.xul 12 Sep 2002 00:34:57 -0000      1.1
--- etemplate.db-tools.cols.xul 12 Sep 2002 18:03:49 -0000      1.2
***************
*** 1,49 ****
  <?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>
\ No newline at end of file
--- 1,51 ----
  <?xml version="1.0"?>
! <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>
\ No newline at end of file

Index: etemplate.db-tools.edit.xul
===================================================================
RCS file: 
/cvsroot/phpgroupware/etemplate/templates/default/etemplate.db-tools.edit.xul,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** etemplate.db-tools.edit.xul 12 Sep 2002 00:33:23 -0000      1.1
--- etemplate.db-tools.edit.xul 12 Sep 2002 18:03:49 -0000      1.2
***************
*** 1,40 ****
  <?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>
\ No newline at end of file
--- 1,42 ----
  <?xml version="1.0"?>
! <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>
\ No newline at end of file





reply via email to

[Prev in Thread] Current Thread [Next in Thread]