Mobile theme W.I.P.:

- Add mail acl dailog
- Fix taglist styling
This commit is contained in:
Hadi Nategh 2016-03-07 17:38:03 +00:00
parent 0f3a17dfb7
commit bfdec69428
5 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,60 @@
<?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.acl" template="" lang="" group="0" version="1.9.001">
<grid width="100%" height="100%">
<columns>
<column/>
</columns>
<rows>
<row class="dialogHeadbar">
<hbox span="all">
<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>
<taglist id="mailbox" width="100%" maxSelection="1" empty_label="Folder" autocomplete_params='' allowFreeEntries="false" onchange='app.mail.acl_folderChange'/>
</row>
<row>
<grid id="grid" width="100%">
<columns>
<column/>
</columns>
<rows>
<row class="th">
<description value="Rights"/>
</row>
<row class="row" valign="top">
<vbox>
<taglist-account id="${row}[acc_id]" allowFreeEntries="true" maxSelection="1" account_type="@account_type" empty_label="Add user or email" />
<hbox>
<menulist>
<menupopup id="${row}[acl]" label="Rights" onchange="app.mail.acl_common_rights_selector"/>
</menulist>
<checkbox align="center" label="Recursively" id="${row}[acl_recursive]"/>
<button align="right" statustext="Delete this ACL" id="delete[${row}]" value="${row}" image="delete" onclick="et2_dialog.confirm(widget,'Do you really want to remove all rights from this account','Remove')"/>
</hbox>
<hbox class="aclDetails">
<checkbox align="center" id="${row}[acl_l]" onchange="app.mail.acl_common_rights" label="L"/>
<checkbox align="center" id="${row}[acl_r]" onchange="app.mail.acl_common_rights" label="R"/>
<checkbox align="center" id="${row}[acl_s]" onchange="app.mail.acl_common_rights" label="S"/>
<checkbox align="center" id="${row}[acl_w]" onchange="app.mail.acl_common_rights" label="W"/>
<checkbox align="center" id="${row}[acl_i]" onchange="app.mail.acl_common_rights" label="I"/>
<checkbox align="center" id="${row}[acl_p]" onchange="app.mail.acl_common_rights" label="P"/>
<checkbox align="center" id="${row}[acl_c]" onchange="app.mail.acl_common_rights" label="C"/>
<checkbox align="center" id="${row}[acl_d]" onchange="app.mail.acl_common_rights" label="D"/>
<checkbox align="center" id="${row}[acl_a]" onchange="app.mail.acl_common_rights" label="A"/>
</hbox>
</vbox>
</row>
</rows>
</grid>
</row>
</rows>
</grid>
</template>
</overlay>

View File

@ -2781,4 +2781,10 @@ div.mailComposeHeaderSection > table {
#mail-index_buttonmailcreate { #mail-index_buttonmailcreate {
display: none; display: none;
} }
div.aclDetails {
display: none;
}
#mail-acl_grid .row {
border-bottom: 1px solid silver;
}
} }

View File

@ -339,4 +339,9 @@
} }
#mail-index_buttonmailcreate {display:none;} #mail-index_buttonmailcreate {display:none;}
div.aclDetails {display:none;}
#mail-acl_grid {
.row{border-bottom: 1px solid silver;}
}
} }

View File

@ -7606,6 +7606,12 @@ span.egw_tutorial_title {
border: none; border: none;
border-bottom: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
} }
body .et2_taglist_category span[class*="cat_"] {
height: 42px;
}
body .et2_button_icon {
height: 32px;
}
body #popupMainDiv { body #popupMainDiv {
/* Exceptional cases to not get the general left padding*/ /* Exceptional cases to not get the general left padding*/
} }
@ -7634,9 +7640,21 @@ span.egw_tutorial_title {
border-right: 0; border-right: 0;
border-radius: 0; border-radius: 0;
} }
body #popupMainDiv .et2_label .et2_selectbox {
padding-left: 8px;
}
body #popupMainDiv ul.et2_selectbox li { body #popupMainDiv ul.et2_selectbox li {
padding-top: 13px; padding-top: 13px;
} }
body #popupMainDiv .et2_taglist input[type="text"] {
height: 36px;
}
body #popupMainDiv .et2_taglist .ms-sel-item {
margin-left: 3px;
line-height: 36px;
margin-top: 0;
margin-bottom: 0;
}
body #popupMainDiv .et2_label .et2_date_ro.et2_label { body #popupMainDiv .et2_label .et2_date_ro.et2_label {
padding-left: 0; padding-left: 0;
} }

View File

@ -780,6 +780,8 @@
border:none; border:none;
border-bottom: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
} }
.et2_taglist_category span[class*="cat_"] {height: 42px;}
.et2_button_icon {height:32px;}
#popupMainDiv { #popupMainDiv {
* { * {
.mob-fontsize-n; .mob-fontsize-n;
@ -797,9 +799,17 @@
border-right:0; border-right:0;
border-radius: 0; border-radius: 0;
} }
.et2_label .et2_selectbox {padding-left: 8px;}
ul.et2_selectbox { ul.et2_selectbox {
li{padding-top: 13px;} li{padding-top: 13px;}
} }
.et2_taglist input[type="text"] {height:36px;}
.et2_taglist .ms-sel-item {
margin-left: 3px;
line-height: 36px;
margin-top: 0;
margin-bottom: 0;
}
/* Exceptional cases to not get the general left padding*/ /* Exceptional cases to not get the general left padding*/
.et2_label .et2_date_ro.et2_label {padding-left: 0;} .et2_label .et2_date_ro.et2_label {padding-left: 0;}