www/adium.im 567:1b527f078951: Finish off the list items for the...
commits at adium.im
commits at adium.im
Thu Feb 16 15:41:59 UTC 2012
details: http://hg.adium.im/www/adium.im/rev/1b527f078951
revision: 567:1b527f078951
branch: rewrite
author: Paul Wilde <me at paulwilde.co.uk>
date: Thu Feb 16 15:41:52 2012 +0000
Finish off the list items for the help homepage including new service icons, also hot issues works again.
diffs (202 lines):
diff -r 4081c55776b3 -r 1b527f078951 assets/images/help/icon_cocoaforge.png
Binary file assets/images/help/icon_cocoaforge.png has changed
diff -r 4081c55776b3 -r 1b527f078951 assets/images/help/icon_facebook.png
Binary file assets/images/help/icon_facebook.png has changed
diff -r 4081c55776b3 -r 1b527f078951 assets/images/help/icon_irc.png
Binary file assets/images/help/icon_irc.png has changed
diff -r 4081c55776b3 -r 1b527f078951 assets/images/help/icon_mobileme.png
Binary file assets/images/help/icon_mobileme.png has changed
diff -r 4081c55776b3 -r 1b527f078951 assets/images/help/icon_msn.png
Binary file assets/images/help/icon_msn.png has changed
diff -r 4081c55776b3 -r 1b527f078951 assets/images/help/icon_undefined.png
Binary file assets/images/help/icon_undefined.png has changed
diff -r 4081c55776b3 -r 1b527f078951 assets/scripts/help.js
--- a/assets/scripts/help.js Wed Feb 15 11:51:51 2012 +0000
+++ b/assets/scripts/help.js Thu Feb 16 15:41:52 2012 +0000
@@ -1,11 +1,29 @@
-// List Hot Issues
-$(document).ready(function() {
+var hotIssues = [
+ {
+ "protocol": "msn",
+ "description": "With certain <strong>MSN</strong> contacts: visibility issues (not being seen / not seeing others despite being online), broken message sending and receiving. This issue is still under investigation in the library we use. See <a class='ticket' href='http://developer.pidgin.im/ticket/13068'>#p13068</a> for more information."
+ },
+ {
+ "protocol": "facebook",
+ "ticket": 15687,
+ "closed": true,
+ "description": "Facebook contacts are no longer grouped. <a href='http://forums.cocoaforge.com/viewtopic.php?f=13&t=23852#p131800'>Zac's posts in the thread on the Adium forum</a> explain why."
+ },
+ {
+ "ticket": 15381,
+ "closed": false,
+ "description": "Adium asks for passwords although they have been saved in the OS X Keychain (<strong>Lion</strong> only)."
+ }
+]
+// Hot Issues
+$(function() {
for (var i in hotIssues) {
- var li = $('<li></li>').addClass("li_" + hotIssues[i].protocol);
- var p = $('<p></p>').append(hotIssues[i].description);
-
+ var li = $('<li></li>').addClass("li-" + hotIssues[i].protocol);
+
+ li.append(hotIssues[i].description);
+
if (hotIssues[i].ticket) {
- p.append(" (");
+ li.append(" (");
var a = $('<a></a>').append("#" + hotIssues[i].ticket).addClass("ticket");
a.attr("href", "http://trac.adium.im/ticket/" + hotIssues[i].ticket);
@@ -13,11 +31,9 @@
a.addClass("closed");
}
- p.append(a, ")");
+ li.append(a, ")");
}
- li.append(p);
-
- $('#hotlist').append(li);
+ $('#hot-issues').append(li);
}
});
\ No newline at end of file
diff -r 4081c55776b3 -r 1b527f078951 assets/styles/help.css
--- a/assets/styles/help.css Wed Feb 15 11:51:51 2012 +0000
+++ b/assets/styles/help.css Thu Feb 16 15:41:52 2012 +0000
@@ -2,21 +2,30 @@
.list-type-image li {
list-style-type: none;
+ margin-left: -20px;
padding-left: 20px;
- margin-left: -20px;
- background-position: 0 3px;
+ background-position: 0 50%;
background-repeat: no-repeat;
}
+a:link.closed, span.closed { text-decoration: line-through; }
+
+/* icons used on help homepage */
+.list-type-image.icons li { padding: 6px 0 6px 42px; }
+.li-msn { background: url('/rewrite/assets/images/help/icon_msn.png'); }
+.li-facebook { background: url('/rewrite/assets/images/help/icon_facebook.png'); }
+.li-undefined { background: url('/rewrite/assets/images/help/icon_undefined.png'); }
+.li-irc { background: url('/rewrite/assets/images/help/icon_irc.png'); }
+.li-cocoaforge { background: url('/rewrite/assets/images/help/icon_cocoaforge.png'); }
+
/* messaging-group-chat rank icons */
-.list-type-image.ranks li { padding-left: 25px; }
-.founder { background: url('/rewrite/assets/images/help/icon_founder.png'); }
-.list-type-image .founder { background-position: 0 3px; }
-.op { background: url('/rewrite/assets/images/help/icon_op.png'); }
-.half-op { background: url('/rewrite/assets/images/help/icon_half_op.png'); }
-.voice { background: url('/rewrite/assets/images/help/icon_voice.png'); }
-.normal { background: url('/rewrite/assets/images/help/icon_normal.png'); }
-.list-type-image .normal { background-position: 0 2px; }
+.list-type-image.ranks li { background-position: 0 2px; padding-left: 25px; }
+.rank-founder { background: url('/rewrite/assets/images/help/icon_founder.png'); }
+.list-type-image.ranks .rank-founder { background-position: 0 3px; }
+.rank-op { background: url('/rewrite/assets/images/help/icon_op.png'); }
+.rank-half-op { background: url('/rewrite/assets/images/help/icon_half_op.png'); }
+.rank-voice { background: url('/rewrite/assets/images/help/icon_voice.png'); }
+.rank-normal { background: url('/rewrite/assets/images/help/icon_normal.png'); }
/* contact-list-status-icons/contact-list-blocking-unblocking status icons */
.status-available { background: url('/rewrite/assets/images/help/status_available.png'); }
diff -r 4081c55776b3 -r 1b527f078951 help/documentation/messaging-focus.htmlfrag
--- a/help/documentation/messaging-focus.htmlfrag Wed Feb 15 11:51:51 2012 +0000
+++ b/help/documentation/messaging-focus.htmlfrag Thu Feb 16 15:41:52 2012 +0000
@@ -1,6 +1,8 @@
<h1>Focus</h1>
<p>Adium provides indication when a new message has been received in a <a href="messaging-group-chat">group chat</a> after your tab/window lost focus. Primarily it does so by displaying a red line in the scrollbar (not customizable) but Adium also provides a way for message styles to apply custom styling to messages that were received while focus was lost.</p>
+<hr>
+
<h2>Scrollbar indicators</h2>
<ul>
<li>When the window or tab loses focus, a red line is added.</li>
diff -r 4081c55776b3 -r 1b527f078951 help/documentation/messaging-group-chat.htmlfrag
--- a/help/documentation/messaging-group-chat.htmlfrag Wed Feb 15 11:51:51 2012 +0000
+++ b/help/documentation/messaging-group-chat.htmlfrag Thu Feb 16 15:41:52 2012 +0000
@@ -28,19 +28,19 @@
<h2>Ranks and icons</h2>
<p class="list-header">In IRC group chats, or XMPP MUCs, a number of ranks exists. While their usage and permissions can vary per server or channel, usually they mean the following:</p>
<ul class="list-type-image ranks">
- <li class="founder">
+ <li class="rank-founder">
The <strong>founder</strong>. Only exists on XMPP. Can change the configuration of the room.
</li>
- <li class="op">
+ <li class="rank-op">
<strong>Operators</strong> (mode <tt>+o</tt>). Have the ability to kick, ban or change the rank of other users, and can change the channel's topic.
</li>
- <li class="half-op">
+ <li class="rank-half-op">
<strong>Half-operators</strong> (mode <tt>+h</tt>). Not available everywhere, often have same permissions as operators, but can't change the permissions of operators.
</li>
- <li class="voice">
+ <li class="rank-voice">
<strong>Voice</strong> (mode <tt>+v</tt>). Can still speak if the channel is muted (mode <tt>+m</tt>).
</li>
- <li class="normal">
+ <li class="rank-normal">
<strong>Normal</strong>.
</li>
</ul>
diff -r 4081c55776b3 -r 1b527f078951 help/gfx/cocoaforge.png
Binary file help/gfx/cocoaforge.png has changed
diff -r 4081c55776b3 -r 1b527f078951 help/hot.json
--- a/help/hot.json Wed Feb 15 11:51:51 2012 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-var hotIssues = [
- {
- "protocol": "msn",
- "description": "With certain <strong>MSN</strong> contacts: visibility issues (not being seen / not seeing others despite being online), broken message sending and receiving. This issue is still under investigation in the library we use. See <a class='ticket' href='http://developer.pidgin.im/ticket/13068'>#p13068</a> for more information."
- },
- {
- "protocol": "fb",
- "ticket": 15687,
- "closed": true,
- "description": "Facebook contacts are no longer grouped. <a href='http://forums.cocoaforge.com/viewtopic.php?f=13&t=23852#p131800'>Zac's posts in the thread on the Adium forum</a> explain why."
- },
- {
- "ticket": 15381,
- "closed": false,
- "description": "Adium asks for passwords although they have been saved in the OS X Keychain (<strong>Lion</strong> only)."
- }
-]
-
diff -r 4081c55776b3 -r 1b527f078951 help/index.php
--- a/help/index.php Wed Feb 15 11:51:51 2012 +0000
+++ b/help/index.php Thu Feb 16 15:41:52 2012 +0000
@@ -44,8 +44,9 @@
<section>
<article>
<h1>Hot issues</h1>
- <p>The following items are known to us:</p>
- <span id="hotlist"></span>
+ <p class="list-header">The following issues are known to us:</p>
+ <ul class="list-type-image icons" id="hot-issues">
+ </ul>
<hr>
@@ -63,9 +64,9 @@
<h2>Ways to get help</h2>
<p class="list-header">Can not find your question here? Want to come and chat with us? This is how you can get personal support.</p>
- <ul>
- <li class="li_cocoaforge"><a href="http://forums.cocoaforge.com/viewforum.php?f=13">Visit our support forums</li>
- <li class="li_irc"><a href="irc://irc.freenode.net/#adium">Visit our IRC channel</a></li>
+ <ul class="list-type-image icons">
+ <li class="li-cocoaforge"><a href="http://forums.cocoaforge.com/viewforum.php?f=13">Visit our support forums</li>
+ <li class="li-irc"><a href="irc://irc.freenode.net/#adium">Visit our IRC channel</a></li>
</ul>
<hr>
More information about the commits
mailing list