summaryrefslogtreecommitdiff
path: root/skins/default/templates
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-06-27 07:30:33 +0000
committeralecpl <alec@alec.pl>2011-06-27 07:30:33 +0000
commit71228297e0e1d0f4271b244913e0fd609c31e90f (patch)
tree7b6deefd1a14ec23da899f98f57e608d1b5ed209 /skins/default/templates
parent68070e448c6c8cd09faa75fd70ff11bfea764cc1 (diff)
- Added vertical splitter for books/groups list in addressbook (#1487923)
Diffstat (limited to 'skins/default/templates')
-rw-r--r--skins/default/templates/addressbook.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/skins/default/templates/addressbook.html b/skins/default/templates/addressbook.html
index 3ac8c122b..a19c84861 100644
--- a/skins/default/templates/addressbook.html
+++ b/skins/default/templates/addressbook.html
@@ -9,6 +9,9 @@
#addresslist { width: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter-5 : 245" />px; }
#contacts-box { left: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255" />px;
<roundcube:exp expression="browser:ie ? ('width:expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter+5 : 255).')+\\'px\\');') : ''" />
+#directorylistbox { width: <roundcube:exp expression="!empty(cookie:addressviewsplitterd) ? cookie:addressviewsplitterd-5 : 195" />px; }
+#addressscreen { left: <roundcube:exp expression="!empty(cookie:addressviewsplitterd) ? cookie:addressviewsplitterd+5 : 205" />px;
+ <roundcube:exp expression="browser:ie ? ('width:expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:addressviewsplitterd) ? cookie:addressviewsplitterd+5 : 205).')+\\'px\\');') : ''" />
}
</style>
@@ -45,6 +48,8 @@
</ul>
</div>
+<div id="mainscreen">
+
<div id="directorylistbox">
<div id="directorylist-title" class="boxtitle"><roundcube:label name="groups" /></div>
<div class="boxlistcontent">
@@ -86,6 +91,9 @@
<script type="text/javascript">
var addrviewsplit = new rcube_splitter({id:'addressviewsplitter', p1: 'addresslist', p2: 'contacts-box', orientation: 'v', relative: true, start: 250});
rcmail.add_onload('addrviewsplit.init()');
+
+ var addrviewsplitd = new rcube_splitter({id:'addressviewsplitterd', p1: 'directorylistbox', p2: 'addressscreen', orientation: 'v', relative: true, start: 200});
+ rcmail.add_onload('addrviewsplitd.init()');
</script>
<div id="contacts-box">
@@ -93,6 +101,7 @@
</div>
</div>
+</div>
</body>
</html>