mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Align buttons list with the contain in webmail pages
This commit is contained in:
@@ -204,11 +204,6 @@ li.droppable li{
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
#mailheader input {
|
||||
width: 99%;
|
||||
padding: 2px 0;
|
||||
}
|
||||
|
||||
#mailheader textarea {
|
||||
width: 99%;
|
||||
height: 40px;
|
||||
@@ -329,6 +324,15 @@ td[class*=openable] {
|
||||
margin-left:5px;
|
||||
}
|
||||
|
||||
#menubar .sm-margin-left-back{
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
#menubar .md-margin-left-back{
|
||||
margin-left: 16px;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
*send mail
|
||||
*/
|
||||
|
||||
@@ -17,7 +17,7 @@ def viewmail_menu(selection, folder, user, mail_id=None):
|
||||
{"name": "back",
|
||||
"url": "javascript:history.go(-2);",
|
||||
"img": "glyphicon glyphicon-arrow-left",
|
||||
"class": "btn-primary",
|
||||
"class": "btn-primary sm-margin-left-back",
|
||||
"label": _("Back")},
|
||||
{"name": "reply",
|
||||
"url": "action=reply&mbox=%s&mailid=%s" % (folder, mail_id),
|
||||
@@ -53,13 +53,6 @@ def viewmail_menu(selection, folder, user, mail_id=None):
|
||||
{"selection": selection, "entries": entries,
|
||||
"user": user, "extraclasses": "pull-left"})
|
||||
|
||||
entries = [{"name": "close",
|
||||
"title": _("Close this message"),
|
||||
"img": "glyphicon glyphicon-remove"}]
|
||||
menu += render_to_string(
|
||||
'common/buttons_list.html',
|
||||
{"entries": entries, "extraclasses": "pull-right"}
|
||||
)
|
||||
return menu
|
||||
|
||||
|
||||
@@ -69,7 +62,7 @@ def compose_menu(selection, backurl, user):
|
||||
{"name": "back",
|
||||
"url": "javascript:history.go(-2);",
|
||||
"img": "glyphicon glyphicon-arrow-left",
|
||||
"class": "btn-primary",
|
||||
"class": "btn-primary md-margin-left-back",
|
||||
"label": _("Back")},
|
||||
{"name": "sendmail",
|
||||
"url": "",
|
||||
|
||||
Reference in New Issue
Block a user