mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-04 12:24:09 +01:00
Pure CSS layout working with FF. (at least for the webmail)
Trying to make it work with IE6+...
This commit is contained in:
@@ -3,18 +3,28 @@
|
||||
{% block html_head %}
|
||||
<style type="text/css">
|
||||
#listing {
|
||||
position: absolute;
|
||||
left: 155px;
|
||||
right: 0px;
|
||||
top: 130px;
|
||||
height: expression(document.body.clientHeight - 35 + "px");
|
||||
overflow: auto;
|
||||
border-top: 1px solid #C8D6E8;
|
||||
}
|
||||
|
||||
html > body #listing {
|
||||
position: fixed;
|
||||
bottom: 35px;
|
||||
}
|
||||
|
||||
#navbar {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: white;
|
||||
height: 25px;
|
||||
height: 40px;
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
border-top: 1px solid #C8D6E8;
|
||||
/*border-top: 1px solid #C8D6E8;*/
|
||||
display: none;
|
||||
}
|
||||
|
||||
#navbar label {
|
||||
@@ -40,7 +50,6 @@ window.addEvent("domready", function() {
|
||||
});
|
||||
}
|
||||
{% block js %}{% endblock %}
|
||||
setDivHeight("listing", 0, 25);
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
@@ -48,5 +57,5 @@ window.addEvent("domready", function() {
|
||||
{% block leftcol %}{% endblock %}
|
||||
<div id="listing">{{ listing }}</div>
|
||||
<div class="spacer"></div>
|
||||
<div id="navbar">{{ navbar }}</div>
|
||||
<div id="navbar"></div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
<tbody>
|
||||
{% for row in table.rows %}
|
||||
<tr id="{{ row.id }}" class="{% cycle 'odd' 'even' %}">
|
||||
{% for cell in row.cols %}
|
||||
{% if cell.safe %}
|
||||
<td width="{{ cell.width }}">{{ cell.value|safe }}</td>
|
||||
{% else %}
|
||||
<td width="{{ cell.width }}" class="{{ cell.class }}">{{ cell.value }}</td>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
@@ -0,0 +1,10 @@
|
||||
<thead>
|
||||
<tr>
|
||||
{% for c in table.columns %}
|
||||
<th id="{{ c.name }}" class="sortable" width="{{ c.width }}">
|
||||
{{ c|safe }}
|
||||
<span style="float: right"><img src="" style="display:none" /></span>
|
||||
</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -9,6 +9,7 @@
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
{% for row in table.rows %}
|
||||
<tr id="{{ row.id }}" class="{% cycle 'odd' 'even' %}">
|
||||
|
||||
Reference in New Issue
Block a user