forked from extern/egroupware
as a placeholder and example of a xml-template
This commit is contained in:
parent
f33da8d656
commit
dc2c34ce10
49
etemplate/doc/et_media/templates/default/et_media.edit.xul
Normal file
49
etemplate/doc/et_media/templates/default/et_media.edit.xul
Normal file
@ -0,0 +1,49 @@
|
||||
<?xml version="1.0"?>
|
||||
<overlay>
|
||||
<grid id="et_media.edit" template="" lang="" group="" version="" width="100%">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<description size="ib" span="all" value="eTemplates MediaDB" no_lang="1" id="msg"/>
|
||||
</row>
|
||||
<row>
|
||||
<hrule span="all"/>
|
||||
</row>
|
||||
<row>
|
||||
<description span="all"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="Name"/>
|
||||
<textbox size="100" maxlength="100" span="all" id="name" statustext="here goes the name of the publication / record"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="Author"/>
|
||||
<textbox size="100" maxlength="100" span="all" id="author" statustext="please use Name, First Name"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="Type"/>
|
||||
<menulist>
|
||||
<menupopup span="all" id="type" statustext="select the type fitting most"/>
|
||||
</menulist>
|
||||
</row>
|
||||
<row>
|
||||
<description value="Description"/>
|
||||
<textbox ="" cols="3" rows="100" span="all" id="descr" statustext="we have a fulltext search using that description"/>
|
||||
</row>
|
||||
<row>
|
||||
<description span="all"/>
|
||||
</row>
|
||||
<row>
|
||||
<button label="Read" id="read" statustext="reads or searches for entries matching the criteria above"/>
|
||||
<button label="Save" id="save" statustext="saves the change to the db"/>
|
||||
<button label="Cancel" id="cancel" statustext="clears the form, without changing anything"/>
|
||||
<button label="Delete" id="delete" statustext="deletes an entry"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</overlay>
|
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0"?>
|
||||
<overlay>
|
||||
<grid id="et_media.show.rows" template="" lang="" group="" version="" width="100%">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="nmh">
|
||||
<description value="Name"/>
|
||||
<description value="Author"/>
|
||||
<description/>
|
||||
</row>
|
||||
<row class="nmr">
|
||||
<description no_lang="1" id="${row}[name]"/>
|
||||
<description class="ml10" no_lang="1" id="${row}[author]"/>
|
||||
<button label="Edit" align="center" id="edit[$row_cont[id]]" statustext="click here to edit the entry"/>
|
||||
</row>
|
||||
</rows>
|
||||
<styles>.nmh { font-weight: bold; }</styles>
|
||||
</grid>
|
||||
</overlay>
|
22
etemplate/doc/et_media/templates/default/et_media.show.xul
Normal file
22
etemplate/doc/et_media/templates/default/et_media.show.xul
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<overlay>
|
||||
<grid id="et_media.show" template="" lang="" group="" version="" width="100%">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<description size="ib" span="all" value="eTemplates MediaDB" no_lang="1" id="msg"/>
|
||||
</row>
|
||||
<row>
|
||||
<hrule span="all"/>
|
||||
</row>
|
||||
<row>
|
||||
<description span="all"/>
|
||||
</row>
|
||||
<row>
|
||||
<grid content="entry" id="et_media.show.rows"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</overlay>
|
Loading…
Reference in New Issue
Block a user