Mobile theme W.I.P.:

- Enhance styling of vacation dialog
This commit is contained in:
Hadi Nategh 2016-03-07 13:52:13 +00:00
parent 586e485d24
commit 0f3a17dfb7
3 changed files with 53 additions and 39 deletions

View File

@ -3,65 +3,75 @@
<!-- $Id$ -->
<overlay>
<template id="mail.sieve.vacation" template="" lang="" group="0" version="1.9.002">
<grid width="100%">
<grid width="100%" height="100%">
<columns>
<column width = "120"/>
<column width="600"/>
<column/>
</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]"/>
<button id="button[save]" class="$cont[hideIfSieveDisabled]"/>
<button id="button[apply]" class="$cont[hideIfSieveDisabled]"/>
<button 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/>
<hbox>
<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>
</hbox>
</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>
<description value="Status:"/>
<vbox span="all">
<menulist>
<menupopup id="status" onchange='app.mail.vacationFilterStatusChange'/>
</menulist>
<date id="start_date"/>
<date id="end_date" />
</vbox>
</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>
<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()'/>
</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"/>
<description value="Forward messages to:"/>
</row>
<row>
<taglist-email id="forwards" allowFreeEntries="true" width="100%" empty_label="do not forward"/>
</row>
<row>
<hbox>
<description value="Resend after how many days?"/>
<textbox type="integer" id="days" min="1" max="31"/>
</hbox>
</row>
<row>
<description value="With message:"/>
</row>
<row>
<textbox multiline="true" id="text" width="99%" height="150px" needed="1" class="et2_required" resize_ratio="0"/>
</row>
<row>
<description id="by_date_label" value="You can use $$start$$ for the above start date and $$end$$ for the end date."/>
</row>
<row>
<checkbox id="set_as_default" label="Set it as default"/>
</row>
<row>
<checkbox id="check_mail_sent_to" label="Validate addresses on submit"/>
</row>
</rows>
</grid>
</template>

View File

@ -7693,6 +7693,9 @@ span.egw_tutorial_title {
border: none;
padding-right: 15px;
}
body #popupMainDiv .et2_taglist > div {
min-height: auto;
}
body .rowHeader {
font-size: 12pt;
}

View File

@ -853,6 +853,7 @@
padding-right: 15px;
}
}
.et2_taglist>div{min-height: auto;}
}
.rowHeader {
.mob-fontsize-l;