mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-19 05:58:34 +02:00
Many webmail improvements.
This commit is contained in:
+10
-6
@@ -71,13 +71,17 @@ confirmation = function(question, action, callback) {
|
||||
SqueezeBox.open("/mailng/main/confirm/?question=" + question);
|
||||
}
|
||||
|
||||
setContentSize = function(cellsize) {
|
||||
var contentsize = $(document.body).getSize().y - $("topmenubar").getSize().y
|
||||
- $("header").getSize().y;
|
||||
setDivHeight = function(id, extrah, modulo) {
|
||||
var contentsize = $(document.body).getSize().y
|
||||
- $("topmenubar").getSize().y
|
||||
- $("header").getSize().y
|
||||
- ($("navbar").getSize().y)
|
||||
- extrah;
|
||||
|
||||
contentsize -= $("navbar").getSize().y * 2;
|
||||
contentsize -= contentsize % cellsize;
|
||||
$("listing").setStyle("height", contentsize + "px");
|
||||
if (modulo) {
|
||||
contentsize -= contentsize % modulo;
|
||||
}
|
||||
$(id).setStyle("height", contentsize + "px");
|
||||
}
|
||||
|
||||
bindRows = function(rooturl, page) {
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 641 B |
@@ -47,7 +47,6 @@ html, body {
|
||||
#page {
|
||||
border: 2px solid #333;
|
||||
background: white;
|
||||
min-height: 92%;
|
||||
margin: 0 15px;
|
||||
}
|
||||
|
||||
@@ -251,4 +250,8 @@ input:hover {
|
||||
|
||||
.hr td.even {
|
||||
|
||||
}
|
||||
|
||||
.unseen {
|
||||
font-weight: bold;
|
||||
}
|
||||
Reference in New Issue
Block a user