diff options
author | thomascube <thomas@roundcube.net> | 2010-06-08 20:50:15 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2010-06-08 20:50:15 +0000 |
commit | e9b5a6c2d55f1fc31715ad7ff05aed631cc12699 (patch) | |
tree | 4f6651e0e935c2ca472ce1afc09e790f746bf50b /skins/default/templates | |
parent | 349a8e36e581694cb200e4f3097d7af8c8628662 (diff) |
Unify directory/mailbox list actions
Diffstat (limited to 'skins/default/templates')
-rw-r--r-- | skins/default/templates/addressbook.html | 2 | ||||
-rw-r--r-- | skins/default/templates/editidentity.html | 9 | ||||
-rw-r--r-- | skins/default/templates/identities.html | 9 | ||||
-rw-r--r-- | skins/default/templates/mail.html | 23 | ||||
-rw-r--r-- | skins/default/templates/message.html | 4 |
5 files changed, 30 insertions, 17 deletions
diff --git a/skins/default/templates/addressbook.html b/skins/default/templates/addressbook.html index 34a78314a..e15bf5fb1 100644 --- a/skins/default/templates/addressbook.html +++ b/skins/default/templates/addressbook.html @@ -35,7 +35,7 @@ </div> <div id="directorylistbox"> -<div id="groups-title" class="boxtitle"><roundcube:label name="groups" /></div> +<div id="directorylist-title" class="boxtitle"><roundcube:label name="groups" /></div> <div id="directorylistwarp"> <roundcube:object name="directorylist" id="directorylist" /> <roundcube:object name="groupslist" id="contactgroupslist" /> diff --git a/skins/default/templates/editidentity.html b/skins/default/templates/editidentity.html index 0cfec60d9..71b691bb8 100644 --- a/skins/default/templates/editidentity.html +++ b/skins/default/templates/editidentity.html @@ -12,12 +12,13 @@ <roundcube:include file="/includes/settingstabs.html" /> <div id="identities-list"> +<div id="identitieslistwarp"> <roundcube:object name="identitiesList" id="identities-table" class="records-table" cellspacing="0" summary="Identities list" editIcon="" /> </div> - -<p id="listbuttons"> -<roundcube:button command="add" type="input" label="newidentity" class="button" condition="config:identities_level:0<2" /> -</p> +<div id="directorylistbuttons"> +<roundcube:button command="add" type="link" title="newidentity" class="buttonPas addgroup" classAct="button addgroup" content=" " condition="config:identities_level:0<2" /> +</div> +</div> <div id="identity-details"> <div id="identity-title" class="boxtitle"><roundcube:object name="steptitle" /></div> diff --git a/skins/default/templates/identities.html b/skins/default/templates/identities.html index 395da1cfc..81822ae9a 100644 --- a/skins/default/templates/identities.html +++ b/skins/default/templates/identities.html @@ -12,12 +12,13 @@ <roundcube:include file="/includes/settingstabs.html" /> <div id="identities-list"> +<div id="identitieslistwarp"> <roundcube:object name="identitiesList" id="identities-table" class="records-table" cellspacing="0" summary="Identities list" editIcon="" /> </div> - -<p id="listbuttons"> -<roundcube:button command="add" type="input" label="newidentity" class="button" condition="config:identities_level:0<2" /> -</p> +<div id="directorylistbuttons"> +<roundcube:button command="add" type="link" title="newidentity" class="buttonPas addgroup" classAct="button addgroup" content=" " condition="config:identities_level:0<2" /> +</div> +</div> <div id="identity-details"> <div style="margin:10px auto; text-align:center"> diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html index b28dcffeb..504d07efb 100644 --- a/skins/default/templates/mail.html +++ b/skins/default/templates/mail.html @@ -26,21 +26,21 @@ <div id="mainscreen"> <div id="mailleftcontainer"> <div id="mailboxlist-container"> -<div class="boxtitle"><roundcube:label name="mailboxlist" /></div> +<div id="mailboxlist-title" class="boxtitle"><roundcube:label name="mailboxlist" /></div> +<div id="directorylistwarp"> <roundcube:object name="mailboxlist" id="mailboxlist" maxlength="25" /> </div> +<div id="directorylistbuttons"> + <!--><roundcube:button name="togglequota" type="link" title="showquota" class="buttonPas showinfo" classAct="button showinfo" onclick="rcmail_ui.toggle_quotadisplay();return false" content=" " />--> + <roundcube:button name="mboxactions" id="mboxactionslink" type="link" title="folderactions" class="button groupactions" onclick="rcmail_ui.show_mailboxmenu();return false" content=" " /> +</div> +</div> <script type="text/javascript"> var mailviewsplitv = new rcube_splitter({id:'mailviewsplitterv', p1: 'mailleftcontainer', p2: 'mailrightcontainer', orientation: 'v', relative: true, start: 165}); rcmail.add_onload('mailviewsplitv.init()'); </script> -<div id="mailboxcontrols"> - <span><roundcube:label name="folder" />: </span> - <roundcube:button command="expunge" type="link" title="compact" class="buttonPas expunge" classAct="button expunge" classSel="button expungesel" content=" " /> - <roundcube:button command="purge" type="link" title="empty" class="buttonPas purge" classAct="button purge" classSel="button purgesel" content=" " /> - <roundcube:container name="mailboxcontrols" id="mailboxcontrols" /> -</div> </div> <div id="mailrightcontainer"> @@ -161,6 +161,15 @@ </ul> </div> +<div id="mailboxoptionsmenu" class="popupmenu"> + <ul> + <li><roundcube:button command="expunge" type="link" label="compact" classAct="active" /></li> + <li class="separator_below"><roundcube:button command="purge" type="link" label="empty" classAct="active" /></li> + <li><roundcube:button command="folders" task="settings" type="link" label="managefolders" classAct="active" /></li> + <roundcube:container name="mailboxoptions" id="mailboxoptionsmenu" /> + </ul> +</div> + <div id="listmenu" class="popupmenu"> <roundcube:if condition="env:threads" /> <fieldset class="thinbordered"><legend><roundcube:label name="listmode" /></legend> diff --git a/skins/default/templates/message.html b/skins/default/templates/message.html index b12e5c027..bd3291b9f 100644 --- a/skins/default/templates/message.html +++ b/skins/default/templates/message.html @@ -34,10 +34,12 @@ <div id="mainscreen"> <div id="mailleftcontainer"> <div id="mailboxlist-container"> -<div class="boxtitle"><roundcube:label name="mailboxlist" /></div> +<div id="mailboxlist-title" class="boxtitle"><roundcube:label name="mailboxlist" /></div> +<div id="directorylistwarp" style="bottom:0px"> <roundcube:object name="mailboxlist" id="mailboxlist" maxlength="25" /> </div> </div> +</div> <div id="messageframe"> <div id="messagecanvas"> |