Mobile theme W.I.P.:

- Fix not able to select the first mail on list
- Disable link_to upload file for view mode
- Fix dialog UI
This commit is contained in:
Hadi Nategh 2016-02-05 11:43:00 +00:00
parent 585445d43a
commit 413b5f4280
4 changed files with 11 additions and 1 deletions

View File

@ -607,6 +607,7 @@ class mail_ui
'group' => ++$group, // new group for filter 'group' => ++$group, // new group for filter
'enabled' => 'javaScript:app.mail.sieve_enabled', 'enabled' => 'javaScript:app.mail.sieve_enabled',
'icon' => 'etemplate/fav_filter', // funnel 'icon' => 'etemplate/fav_filter', // funnel
'hideOnMobile' => true
), ),
'vacation' => array( 'vacation' => array(
'caption' => 'Vacation notice', 'caption' => 'Vacation notice',

View File

@ -47,6 +47,5 @@
<description id="nm[vacationrange]" class="@nm[vacationrangeclass]"/></vbox> <description id="nm[vacationrange]" class="@nm[vacationrangeclass]"/></vbox>
</hbox> </hbox>
<nextmatch id="nm" onselect="app.mail.mail_preview" template="mail.index.rows" right_header="mail.index.header_right"/> <nextmatch id="nm" onselect="app.mail.mail_preview" template="mail.index.rows" right_header="mail.index.header_right"/>
<iframe frameborder="1" id="extra_iframe" scrolling="auto" disabled="true"/>
</template> </template>
</overlay> </overlay>

View File

@ -7487,6 +7487,9 @@ span.egw_tutorial_title {
width: 100%; width: 100%;
z-index: 1; z-index: 1;
} }
body .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
float: right;
}
body .ui-dialog-titlebar { body .ui-dialog-titlebar {
display: none; display: none;
} }
@ -7976,6 +7979,10 @@ span.egw_tutorial_title {
} }
body .et2_mobile_view .et2_mobile-view-container { body .et2_mobile_view .et2_mobile-view-container {
padding: 0 14px 0 7px; padding: 0 14px 0 7px;
/*Disable et2_link_to as it does not make sense in view mode*/
}
body .et2_mobile_view .et2_mobile-view-container div.et2_link_to {
display: none;
} }
body .et2_mobile_view table.et2_grid tr td { body .et2_mobile_view table.et2_grid tr td {
padding: 10px 5px 10px 0; padding: 10px 5px 10px 0;

View File

@ -1039,6 +1039,7 @@
box-shadow: 0px 4px 5px 2px silver; box-shadow: 0px 4px 5px 2px silver;
width: 100%; width: 100%;
z-index:1; z-index:1;
.ui-dialog-buttonset {float:right;}
} }
.ui-dialog-titlebar { .ui-dialog-titlebar {
display: none; display: none;
@ -1598,6 +1599,8 @@
.et2_mobile-view-container { .et2_mobile-view-container {
padding:0 14px 0 7px; padding:0 14px 0 7px;
/*Disable et2_link_to as it does not make sense in view mode*/
div.et2_link_to {display: none;}
} }
table.et2_grid{ table.et2_grid{
tr { tr {