+2005-02-15 Helge Hess <helge.hess@opengroupware.org>
+
+ * UIxMailListView.wox: added message row highlighting (v0.9.111)
+
+ * UIxMailAccountView.wox, UIxMailAccountsView.wox: added a title-div
+ to fix layout (v0.9.110)
+
2005-02-14 Helge Hess <helge.hess@opengroupware.org>
* mailer.js: use 'tb.view' instead of 'view' to show a page (v0.9.109)
className="UIxMailMainFrame"
title="panelTitle"
>
+ <div class="titlediv">
+ <var:string value="clientObject.nameInContainer"/>
+ </div>
+
<div class="embedwhite_out">
<div class="embedwhite_in">
<div style="padding: 8px;">
<li><a href="">Offline settings</a> [TBD: not in Agenor]</li>
<br />
<br />
--->
<div class="whitesec_title">Screenshot</div><br />
<a rsrc:href="tbird_073_accountview.png">screenshot</a>
+-->
</div>
</div>
</div>
className="UIxMailMainFrame"
title="panelTitle"
>
+ <div class="titlediv">
+ <var:string value="clientObject.davDisplayName" />
+ </div>
+
<div class="embedwhite_out">
<div class="embedwhite_in" style="height: 300px">
+ <div style="padding: 8px;">
<var:string label:value="Welcome to the SOGo Mailer. Use the folder tree on the left to browse your mail accounts!" />
+ </div>
<!--
<h3>SOGo Mail - Available Accounts</h3>
</tr>
<var:foreach list="messages" item="message">
- <tr class="tableview" var:id="msgRowID">
+ <tr class="tableview" var:id="msgRowID"
+ onmouseover="ml_highlight(this)"
+ onmouseout="ml_lowlight(this)"
+ >
<td>
<!-- this seems to break on Safari, it treats name==id? -->
<input type="checkbox" var:name="msgRowID" value="0"
<img rsrc:src="title_attachment_14x14.png"
width="14" height="14" />
</var:if>
+ <entity name="nbsp" />
</td>
<td var:class="messageCellStyleClass">
<var:string value="message.envelope.date"
formatter="context.mailDateFormatter"/>
</span>
+ <entity name="nbsp" />
</td>
</tr>
</var:foreach>
# version file
-SUBMINOR_VERSION:=109
+SUBMINOR_VERSION:=111
# v0.9.100 requires libNGMime v4.5.213
# v0.9.99 requires libNGMime v4.5.212
font-family: Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
vertical-align: top;
}
+.tableview td {
+ border-top-width: 1px;
+ border-top-color: white;
+ border-bottom-width: 1px;
+ border-bottom-color: white;
+}
.tableview_selected {
font-size: 9pt;
background-color: #ffffcc;
}
+.tableview_highlight {
+ font-size: 9pt;
+ font-family: Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
+ vertical-align: top;
+ background-color: #D4D0C8;
+}
+.tableview_highlight td {
+ border-top-width: 1px;
+ border-bottom-width: 1px;
+ border-top-style: solid;
+ border-bottom-style: solid;
+ border-top-color: #808080;
+ border-bottom-color: #808080;
+}
+
td.tbtv_navcell {
border-width: 1;
border-style: solid;
window.opener.location.href = url;
}
}
+
+/* maillist row highlight */
+
+var oldMaillistHighlight = None; // to remember deleted/selected style
+
+function ml_highlight(sender) {
+ oldMaillistHighlight = sender.className;
+ sender.className = "tableview_highlight";
+}
+function ml_lowlight(sender) {
+ if (oldMaillistHighlight) {
+ sender.className = oldMaillistHighlight;
+ oldMaillistHighlight = None;
+ }
+ else
+ sender.className = "tableview";
+}
<var:foreach list="contactInfos" item="contact">
<tr class="tableview" var:id="contact.cName"
onclick="openContact(this, this.id)"
+ onmouseover="cl_highlight(this)"
+ onmouseout="cl_lowlight(this)"
+ style="cursor: pointer;"
>
- <td><var:string value="contact.sn" /></td>
- <td><var:string value="contact.givenname" /></td>
- <td><var:string value="contact.mail" /></td>
- <td><var:string value="contact.telephonenumber" /></td>
- <td><var:string value="contact.l" /></td>
+ <td><var:string value="contact.sn" /><entity name="nbsp"/></td>
+ <td>
+ <var:string value="contact.givenname" />
+ <entity name="nbsp"/>
+ </td>
+ <td><var:string value="contact.mail" /><entity name="nbsp"/></td>
+ <td>
+ <var:string value="contact.telephonenumber" />
+ <entity name="nbsp"/>
+ </td>
+ <td><var:string value="contact.l" /><entity name="nbsp"/></td>
</tr>
</var:foreach>
</table>
w.focus();
return false;
}
+
+function cl_highlight(sender) {
+ sender.className = "tableview_highlight";
+}
+function cl_lowlight(sender) {
+ sender.className = "tableview";
+}