Fix calendar print template

This commit is contained in:
Hadi Nategh 2015-02-18 09:31:34 +00:00
parent 23c51a7acd
commit 69e780fab8

View File

@ -54,82 +54,80 @@
</grid> </grid>
</template> </template>
<template id="calendar.print" template="" lang="" group="0" version="1.6.001"> <template id="calendar.print" template="" lang="" group="0" version="1.6.001">
<hbox options="0,0"> <grid width="100%" height="200">
<grid width="100%" height="200"> <columns>
<columns> <column width="95"/>
<column width="95"/> <column/>
<column/> </columns>
</columns> <rows>
<rows> <row>
<row> <hbox>
<hbox> <image src="print" onclick="window.print();" class="calendar_print_button"/>
<image src="print" onclick="window.print();" class="calendar_print_button"/> <appicon class="calendar_print_appicon"/>
<appicon class="calendar_print_appicon"/> </hbox>
</hbox> </row>
</row> <row class="th" height="28">
<row class="th" height="28"> <description value="Title" class="bold" options="bold"/>
<description value="Title" class="bold" options="bold"/> <textbox id="title" size="80" maxlength="255" readonly="true" span="all" class="bold"/>
<textbox id="title" size="80" maxlength="255" readonly="true" span="all" class="bold"/> </row>
</row> <row class="row">
<row class="row"> <description width="95" options=",,,start" value="Start"/>
<description width="95" options=",,,start" value="Start"/> <date-time id="start" readonly="true"/>
<date-time id="start" readonly="true"/> </row>
</row> <row class="row">
<row class="row"> <description width="0" options=",,,whole_day" value="whole day"/>
<description width="0" options=",,,whole_day" value="whole day"/> <checkbox id="whole_day" options=",, ," statustext="Event will occupy the whole day" readonly="true"/>
<checkbox id="whole_day" options=",, ," statustext="Event will occupy the whole day" readonly="true"/> </row>
</row> <row class="row">
<row class="row"> <description width="0" options=",,,duration" value="Duration"/>
<description width="0" options=",,,duration" value="Duration"/> <hbox options="0,0">
<hbox options="0,0">
<menulist>
<menupopup no_lang="1" onchange="set_style_by_class('table','end_hide','visibility',this.value == '' ? 'visible' : 'hidden'); if (this.value == '') document.getElementById(form::name('end[str]')).value = document.getElementById(form::name('start[str]')).value;" id="duration" options="Use end date" statustext="Duration of the meeting" readonly="true"/>
</menulist>
<date-time id="end" class="end_hide" readonly="true"/>
</hbox>
</row>
<row class="row">
<description options=",,,location" value="Location" width="0"/>
<textbox maxlength="255" id="location" class="calendar_inputFullWidth" readonly="true"/>
</row>
<row class="row">
<description options=",,,priority" value="Priority" width="0"/>
<menulist> <menulist>
<menupopup type="select-priority" id="priority" readonly="true"/> <menupopup no_lang="1" onchange="set_style_by_class('table','end_hide','visibility',this.value == '' ? 'visible' : 'hidden'); if (this.value == '') document.getElementById(form::name('end[str]')).value = document.getElementById(form::name('start[str]')).value;" id="duration" options="Use end date" statustext="Duration of the meeting" readonly="true"/>
</menulist> </menulist>
</row> <date-time id="end" class="end_hide" readonly="true"/>
<row class="row"> </hbox>
<description value="Non blocking" width="0"/> </row>
<checkbox id="non_blocking" options="1,0, ," statustext="A non blocking event will not conflict with other events" readonly="true"/> <row class="row">
</row> <description options=",,,location" value="Location" width="0"/>
<row class="row"> <textbox maxlength="255" id="location" class="calendar_inputFullWidth" readonly="true"/>
<description value="Private"/> </row>
<checkbox id="public" options="0,1" readonly="true"/> <row class="row">
</row> <description options=",,,priority" value="Priority" width="0"/>
<row class="row calendar_print_cat"> <menulist>
<description value="Categories"/> <menupopup type="select-priority" id="priority" readonly="true"/>
<menulist> </menulist>
<menupopup type="select-cat" id="category" readonly="true"/> </row>
</menulist> <row class="row">
</row> <description value="Non blocking" width="0"/>
<row valign="top"> <checkbox id="non_blocking" options="1,0, ," statustext="A non blocking event will not conflict with other events" readonly="true"/>
<description value="Description"/> </row>
<textbox multiline="true" id="description" readonly="true"/> <row class="row">
</row> <description value="Private"/>
<row class="th"> <checkbox id="public" options="0,1" readonly="true"/>
<description value="custom fields" span="all"/> </row>
</row> <row class="row calendar_print_cat">
<row> <description value="Categories"/>
<customfields span="all" readonly="true"/> <menulist>
</row> <menupopup type="select-cat" id="category" readonly="true"/>
<row> </menulist>
<template id="calendar.print.participants" span="all"/> </row>
</row> <row valign="top">
<row> <description value="Description"/>
<template span="all" id="calendar.print.links"/> <textbox multiline="true" id="description" readonly="true"/>
</row> </row>
</rows> <row class="th">
</grid> <description value="custom fields" span="all"/>
</hbox> </row>
<row>
<customfields span="all" readonly="true"/>
</row>
<row>
<template id="calendar.print.participants" span="all"/>
</row>
<row>
<template span="all" id="calendar.print.links"/>
</row>
</rows>
</grid>
</template> </template>
</overlay> </overlay>