diff options
author | alecpl <alec@alec.pl> | 2010-06-09 11:17:45 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-06-09 11:17:45 +0000 |
commit | 54759ce120c30882521946694b83646e9695395a (patch) | |
tree | 33a465485b69916109e2b6a9deb8985befcf6b90 /skins/default/templates | |
parent | ff38d0e55b5a36ae28a828c9f8d21ef6a553beae (diff) |
- some improvements + added splitter in Identities
Diffstat (limited to 'skins/default/templates')
-rw-r--r-- | skins/default/templates/editidentity.html | 22 | ||||
-rw-r--r-- | skins/default/templates/identities.html | 22 |
2 files changed, 40 insertions, 4 deletions
diff --git a/skins/default/templates/editidentity.html b/skins/default/templates/editidentity.html index 30177ade0..5b4c75386 100644 --- a/skins/default/templates/editidentity.html +++ b/skins/default/templates/editidentity.html @@ -4,6 +4,14 @@ <title><roundcube:object name="pagetitle" /></title> <roundcube:include file="/includes/links.html" /> <script type="text/javascript" src="/functions.js"></script> +<script type="text/javascript" src="/splitter.js"></script> +<style type="text/css"> +#identities-list { width: <roundcube:exp expression="!empty(cookie:identviewsplitter) ? cookie:identviewsplitter-5 : 295" />px; } +#identity-details { left: <roundcube:exp expression="!empty(cookie:identviewsplitter) ? cookie:identviewsplitter+5 : 305" />px; + <roundcube:exp expression="browser:ie ? ('width:expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:identviewsplitter) ? cookie:identviewsplitter+5 : 305).')+\\'px\\');') : ''" /> +} +</style> + </head> <body> @@ -11,15 +19,23 @@ <roundcube:include file="/includes/header.html" /> <roundcube:include file="/includes/settingstabs.html" /> +<div id="prefsscreen"> + <div id="identities-list"> -<div class="boxlistcontent" style="top: 0px"> -<roundcube:object name="identitiesList" id="identities-table" class="records-table" cellspacing="0" summary="Identities list" editIcon="" /> +<div id="identity-title" class="boxtitle"><roundcube:label name="identities" /></div> +<div class="boxlistcontent"> +<roundcube:object name="identitiesList" id="identities-table" class="records-table" cellspacing="0" summary="Identities list" noheader="true" editIcon="" /> </div> <div class="boxfooter"> <roundcube:button command="add" type="link" title="newidentity" class="buttonPas addgroup" classAct="button addgroup" content=" " condition="config:identities_level:0<2" /> </div> </div> +<script type="text/javascript"> + var identviewsplit = new rcube_splitter({id:'identviewsplitter', p1: 'identities-list', p2: 'identity-details', orientation: 'v', relative: true, start: 300 }); + rcmail.add_onload('identviewsplit.init()'); +</script> + <div id="identity-details"> <div id="identity-title" class="boxtitle"><roundcube:object name="steptitle" /></div> @@ -33,5 +49,7 @@ </div> </div> +</div> + </body> </html> diff --git a/skins/default/templates/identities.html b/skins/default/templates/identities.html index 55094a061..04fa9816c 100644 --- a/skins/default/templates/identities.html +++ b/skins/default/templates/identities.html @@ -4,6 +4,14 @@ <title><roundcube:object name="pagetitle" /></title> <roundcube:include file="/includes/links.html" /> <script type="text/javascript" src="/functions.js"></script> +<script type="text/javascript" src="/splitter.js"></script> +<style type="text/css"> +#identities-list { width: <roundcube:exp expression="!empty(cookie:identviewsplitter) ? cookie:identviewsplitter-5 : 295" />px; } +#identity-details { left: <roundcube:exp expression="!empty(cookie:identviewsplitter) ? cookie:identviewsplitter+5 : 305" />px; + <roundcube:exp expression="browser:ie ? ('width:expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:identviewsplitter) ? cookie:identviewsplitter+5 : 305).')+\\'px\\');') : ''" /> +} +</style> + </head> <body> @@ -11,20 +19,30 @@ <roundcube:include file="/includes/header.html" /> <roundcube:include file="/includes/settingstabs.html" /> +<div id="prefsscreen"> + <div id="identities-list"> -<div class="boxlistcontent" style="top: 0px"> -<roundcube:object name="identitiesList" id="identities-table" class="records-table" cellspacing="0" summary="Identities list" editIcon="" /> +<div id="identity-title" class="boxtitle"><roundcube:label name="identities" /></div> +<div class="boxlistcontent"> +<roundcube:object name="identitiesList" id="identities-table" class="records-table" cellspacing="0" summary="Identities list" noheader="true" editIcon="" /> </div> <div class="boxfooter"> <roundcube:button command="add" type="link" title="newidentity" class="buttonPas addgroup" classAct="button addgroup" content=" " condition="config:identities_level:0<2" /> </div> </div> +<script type="text/javascript"> + var identviewsplit = new rcube_splitter({id:'identviewsplitter', p1: 'identities-list', p2: 'identity-details', orientation: 'v', relative: true, start: 300 }); + rcmail.add_onload('identviewsplit.init()'); +</script> + <div id="identity-details"> <div style="margin:10px auto; text-align:center"> <img src="/images/watermark.gif" width="260" height="228" alt="" /> </div> </div> +</div> + </body> </html> |