WIP mobile framework: Implement modal hierarchical popups, and get egw refresh working.

This commit is contained in:
Hadi Nategh 2014-11-26 16:06:11 +00:00
parent 4eaddd0bd4
commit 7beb840f50
2 changed files with 13 additions and 21 deletions

View File

@ -654,25 +654,23 @@ and open the template in the editor.
display: none; display: none;
z-index: 999; z-index: 999;
background: rgba(0, 0, 0, 0.44); background: rgba(0, 0, 0, 0.44);
#egw_fw_mobile_popupFrame { .egw_fw_mobile_popupFrame {
width: 90%; width: 90%;
height: 90%; height: 90%;
margin-left:2%; margin-left:5%;
margin-top:2%; margin-top:4%;
} }
.egw_fw_mobile_popup_toolbar{ .egw_fw_mobile_popup_close {
display:inline; width: 32px;
height:10px; height: 32px;
#egw_fw_mobile_popup_close { top: 12px;
width: 24px; right: 18px;
height: 24px; position: fixed;
display: inline; background-image: url(../images/cancel.png);
white-space: nowrap; background-color: white;
top:5px; -webkit-filter: contrast(10);
left:5px; background-repeat: no-repeat;
} }
} }
}
} }

View File

@ -27,12 +27,6 @@
<!-- END head --> <!-- END head -->
<!-- BEGIN framework --> <!-- BEGIN framework -->
{hook_after_navbar} {hook_after_navbar}
<div class="egw_fw_mobile_popup_container">
<div class="egw_fw_mobile_popup_toolbar">
<button id="egw_fw_mobile_popup_close" class="et2_button_cancel">X</button>
</div>
<iframe id="egw_fw_mobile_popupFrame"></iframe>
</div>
<div id="egw_fw_basecontainer"> <div id="egw_fw_basecontainer">
<div id="egw_fw_top_toolbar"> <div id="egw_fw_top_toolbar">
<div id="egw_fw_logout" title="{title_logout}" data-logout-url="{link_logout}"></div> <div id="egw_fw_logout" title="{title_logout}" data-logout-url="{link_logout}"></div>