egroupware/infolog/templates/default/index.xet
Ralf Becker 39ead5de4f 1) new preference to not display the describtion in the infolog list
2) fixed not working home display (if you clicked on something you got a black page)
2005-07-17 21:54:28 +00:00

227 lines
9.1 KiB
XML

<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<template id="infolog.index.rows-noheader" template="" lang="" group="0" version="0.9.15.003">
<grid>
<columns>
<column width="5%"/>
<column/>
<column width="8%"/>
<column width="8%"/>
<column width="8%"/>
<column width="3%" disabled="@no_actions"/>
<column width="3%" disabled="@no_actions"/>
</columns>
<rows>
<row class="th">
<vbox>
<description value="Type"/>
<description value="Status"/>
</vbox>
<vbox>
<description value="Subject"/>
<description value="Description"/>
</vbox>
<vbox>
<description value="Startdate"/>
<description value="Enddate"/>
</vbox>
<vbox>
<description value="Owner"/>
<description value="Responsible"/>
</vbox>
<description value="last changed"/>
<description value="Sub"/>
<description value="Action"/>
</row>
<row class="row" valign="top">
<hbox align="center" orient="2,2">
<image label="$row_cont[info_type]" src="${row}[info_type]"/>
<button image="$row_cont[info_status]" ro_image="$row_cont[info_status]" label="$row_cont[info_status]" id="edit_status[$row_cont[info_id]]" statustext="Change the status of an entry, eg. close it"/>
</hbox>
<vbox orient="0,0">
<description options="b,@${row}[info_link_view]" value="%s $row_cont[info_addr]" no_lang="1" id="${row}[info_link_title]" statustext="view this linked entry in its application"/>
<description class="$row_cont[sub_class]" no_lang="1" id="${row}[info_subject]"/>
<description options=",,1" no_lang="1" id="${row}[info_des]"/>
<link-string id="${row}[filelinks]"/>
</vbox>
<vbox orient="0,0">
<date id="${row}[info_startdate]" readonly="true"/>
<date class="$row_cont[end_class]" id="${row}[info_enddate]" readonly="true"/>
</vbox>
<vbox orient="0,0">
<menulist>
<menupopup type="select-account" id="${row}[info_owner]" readonly="true"/>
</menulist>
<menulist>
<menupopup type="select-account" id="${row}[info_responsible]" readonly="true"/>
</menulist>
</vbox>
<vbox orient="0,0">
<date-time id="${row}[info_datemodified]" readonly="true"/>
<menulist>
<menupopup type="select-account" id="${row}[info_modifier]" readonly="true"/>
</menulist>
</vbox>
<vbox align="center" orient="0,0">
<button image="new.gif" label="Add sub" align="center" id="sp[$row_cont[info_id]]" statustext="Add a new sub-task, -note, -call to this entry"/>
<button image="view.gif" label="View subs" align="center" id="view[$row_cont[info_id]]" statustext="View all subs of this entry"/>
<button image="parent.gif" label="View parent" align="center" id="view[$row_cont[info_id_parent]]" statustext="View the parent of this entry and all his subs"/>
</vbox>
<hbox>
<button image="edit.gif" label="Edit" id="edit[$row_cont[info_id]]" statustext="Edit this entry"/>
<button image="delete.gif" label="Delete" id="delete[$row_cont[info_id]]" statustext="Delete this entry"/>
<button image="addfile.gif" label="Add file" id="file[$row_cont[info_id]]" disabled="true" statustext="Attach a file"/>
</hbox>
</row>
</rows>
</grid>
<styles>
.low,.low_done,.normal,.normal_done,.high,.high_done,.urgent,.urgent_done { font-weight: bold; }
.low,.low_done { color:#606060; }
.normal,.normal_done { color:black }
.high { color:#cc0000; }
.high_done { color:#800000; }
.urgent { color:#ff00ff; }
.urgent_done { color:#800080; }
.overdue { color:#cc0000; font-weight:bold; }
.private { font-style:italic; }
</styles>
</template>
<template id="infolog.index.rows" template="" lang="" group="0" version="1.0.1.001">
<grid>
<columns>
<column width="2%"/>
<column/>
<column width="8%"/>
<column width="8%"/>
<column width="9%"/>
<column width="3%" disabled="@no_actions"/>
<column width="3%" disabled="@no_actions"/>
</columns>
<rows>
<row class="th">
<vbox orient="0,0">
<nextmatch-filterheader options="Type ..." id="info_type"/>
<nextmatch-filterheader options="Status ..." id="info_status"/>
</vbox>
<grid width="100%" spacing="0" padding="0">
<columns>
<column/>
<column/>
</columns>
<rows>
<row>
<nextmatch-sortheader label="Subject" id="info_subject"/>
<nextmatch-sortheader label="Priority" align="right" id="info_priority" options="DESC"/>
</row>
<row>
<nextmatch-sortheader label="Description" id="info_des"/>
<description/>
</row>
</rows>
</grid>
<vbox>
<nextmatch-sortheader label="Startdate" id="info_startdate"/>
<nextmatch-sortheader label="Enddate" id="info_enddate"/>
</vbox>
<vbox>
<nextmatch-accountfilter id="info_owner" options="Owner" statustext="Select to filter by owner"/>
<nextmatch-accountfilter id="info_responsible" options="Responsible" statustext="Select to filter by responsible"/>
</vbox>
<nextmatch-sortheader label="last changed" id="info_datemodified" options="DESC"/>
<description value="Sub"/>
<description value="Action"/>
</row>
<row class="row" valign="top">
<hbox align="center" orient=",5">
<image label="$row_cont[info_type]" src="${row}[info_type]"/>
<button image="$row_cont[info_status]" ro_image="$row_cont[info_status]" label="$row_cont[info_status]" id="edit_status[$row_cont[info_id]]" statustext="Change the status of an entry, eg. close it"/>
</hbox>
<vbox orient="0,0">
<description options="b,@${row}[info_link_view]" value="%s $row_cont[info_addr]" no_lang="1" id="${row}[info_link_title]" statustext="view this linked entry in its application"/>
<description class="$row_cont[sub_class]" no_lang="1" id="${row}[info_subject]"/>
<description options=",,1" no_lang="1" id="${row}[info_des]"/>
<link-string id="${row}[filelinks]"/>
</vbox>
<vbox orient="0,0">
<date-time options=",8" id="${row}[info_startdate]" readonly="true"/>
<date class="$row_cont[end_class]" id="${row}[info_enddate]" readonly="true"/>
</vbox>
<vbox orient="0,0">
<menulist>
<menupopup type="select-account" id="${row}[info_owner]" readonly="true"/>
</menulist>
<menulist>
<menupopup type="select-account" id="${row}[info_responsible]" readonly="true"/>
</menulist>
</vbox>
<vbox orient="0,0">
<date-time id="${row}[info_datemodified]" readonly="true"/>
<menulist>
<menupopup type="select-account" id="${row}[info_modifier]" readonly="true"/>
</menulist>
</vbox>
<vbox align="center" orient="0,0">
<button image="new.gif" label="Add sub" align="center" id="sp[$row_cont[info_id]]" statustext="Add a new sub-task, -note, -call to this entry"/>
<button image="view.gif" label="View subs" align="center" id="view[$row_cont[info_id]]" statustext="View all subs of this entry"/>
<button image="parent.gif" label="View parent" align="center" id="view[$row_cont[info_id_parent]]" statustext="View the parent of this entry and all his subs"/>
</vbox>
<hbox>
<button image="edit.gif" label="Edit" id="edit[$row_cont[info_id]]" statustext="Edit this entry"/>
<button image="delete.gif" label="Delete" id="delete[$row_cont[info_id]]" statustext="Delete this entry"/>
<button image="addfile.gif" label="Add file" id="file[$row_cont[info_id]]" disabled="true" statustext="Attach a file"/>
</hbox>
</row>
</rows>
</grid>
<styles>
.low,.low_done,.normal,.normal_done,.high,.high_done,.urgent,.urgent_done { font-weight: bold; }
.low,.low_done { color:#606060; }
.normal,.normal_done { color:black }
.high { color:#cc0000; }
.high_done { color:#800000; }
.urgent { color:#ff00ff; }
.urgent_done { color:#800080; }
.overdue { color:#cc0000; font-weight:bold; }
.private { font-style:italic; }
</styles>
</template>
<template id="infolog.index" template="" lang="" group="0" version="1.0.1.001">
<grid width="100%" border="0" spacing="0" padding="0">
<columns>
<column width="95%"/>
<column/>
<column/>
</columns>
<rows>
<row disabled="1">
<description class="headertext" id="appheader"/>
<description class="headertext" value="Add:" align="right"/>
<hbox>
<button image="task" label="ToDo" align="right" id="add[task]" statustext="Add a new ToDo"/>
<button image="phone" label="Phonecall" id="add[phone]" statustext="Add a new Phonecall"/>
<button image="note" label="Note" id="add[note]" statustext="Add a new Note"/>
</hbox>
</row>
<row disabled="!@main">
<template content="main" span="all" id="infolog.index.rows-noheader"/>
</row>
<row>
<nextmatch options="infolog.index.rows" span="all" id="nm"/>
</row>
<row>
<hbox span="all">
<button label="Add" id="add[note]" statustext="Add a new Entry"/>
<button label="Cancel" id="cancel" statustext="Back to main list"/>
</hbox>
</row>
</rows>
</grid>
<styles>
.headertext { color: black; font-size: 120%; }
</styles>
</template>
</overlay>