Mobile theme W.I.P.:

-Add vacation dialog for mail
This commit is contained in:
Hadi Nategh 2016-02-05 10:12:14 +00:00
parent f52c965cbe
commit 585445d43a

View File

@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//Stylite AG//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
<!-- $Id$ -->
<overlay>
<template id="mail.sieve.vacation" template="" lang="" group="0" version="1.9.002">
<grid width="100%">
<columns>
<column width = "120"/>
<column width="600"/>
</columns>
<rows>
<row class="dialogHeadbar">
<hbox span="all">
<button label="Save" id="button[save]" class="$cont[hideIfSieveDisabled]"/>
<button label="Apply" id="button[apply]" class="$cont[hideIfSieveDisabled]"/>
<button label="Cancel" id="button[cancel]" onclick="window.close();" class="$cont[hideIfSieveDisabled]"/>
</hbox>
</row>
<row>
<description value="Edit vacation settings" class="et2_fullWidth"/>
<description align="right" disabled="!@is_admin_vac" for="acc_id" value="Mail account"/>
<menulist>
<menupopup id="acc_id" disabled="!@is_admin_vac" onchange="app.mail.vacation_change_account" class="et2_fullWidth"/>
</menulist>
<description/>
</row>
<row>
<description value="Status:"/>
<hbox span="all">
<menulist>
<menupopup id="status" onchange='app.mail.vacationFilterStatusChange'/>
</menulist>
<date id="start_date"/>
<date id="end_date" />
</hbox>
</row>
<row>
<description value="Respond to mail sent to:"/>
<taglist-email id="addresses" needed="true" class="et2_required" allowFreeEntries="true" empty_label="all my email addresses" span="2"/>
<button class="$cont[hideIfSieveDisabled] et2_fullWidth" label="Add all my aliases" id="AllAddresses" onclick='app.mail.sieve_vac_all_aliases()'/>
</row>
<row>
<description value="Forward messages to:"/>
<taglist-email id="forwards" allowFreeEntries="true" width="100%" empty_label="do not forward"/>
</row>
<row>
<description value="Resend after how many days?"/>
<textbox type="integer" id="days" min="1" max="31"/>
</row>
<row>
<description value="With message:"/>
<vbox span="all">
<textbox multiline="true" id="text" width="99%" height="150px" needed="1" class="et2_required"/>
<description id="by_date_label" value="You can use $$start$$ for the above start date and $$end$$ for the end date."/>
</vbox>
</row>
<row>
<description value="Set it as default:" disabled="@is_not_admin_user"/>
<checkbox id="set_as_default"/>
<description value="Validate addresses on submit:"/>
<checkbox id="check_mail_sent_to"/>
</row>
</rows>
</grid>
</template>
</overlay>