Mercurial > public > sg101
changeset 1073:19d34242473e
Convert IRC page to V3 design.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 12 Apr 2016 19:49:47 -0500 |
parents | 4054f22583b3 |
children | 650ab160cbb9 |
files | irc/views.py sg101/templates/irc/view.html |
diffstat | 2 files changed, 17 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/irc/views.py Mon Apr 11 15:57:27 2016 -0500 +++ b/irc/views.py Tue Apr 12 19:49:47 2016 -0500 @@ -7,4 +7,7 @@ def view(request): nicks = get_users() - return render(request, 'irc/view.html', {'nicks': nicks}) + return render(request, 'irc/view.html', { + 'nicks': nicks, + 'V3_DESIGN': True, + })
--- a/sg101/templates/irc/view.html Mon Apr 11 15:57:27 2016 -0500 +++ b/sg101/templates/irc/view.html Tue Apr 12 19:49:47 2016 -0500 @@ -1,7 +1,8 @@ -{% extends 'base.html' %} +{% extends 'v3/base.html' %} {% block title %}IRC Channel Status{% endblock %} {% block content %} <h2>Who is Chatting in IRC?</h2> +<div class="callout {% if nicks %}success{% else %}secondary{% endif %}"> {% if nicks %} <ul> {% for nick in nicks %} @@ -12,18 +13,26 @@ {% else %} <p><a href="irc://surfguitar101.com/ShallowEnd,needpass">#ShallowEnd</a> is empty at this time.</p> {% endif %} +</div> <p> What is IRC? IRC stands for <em>Internet Relay Chat</em>. IRC has been around since the late 1980's, and is a form of real-time Internet text messaging, or chatting. We have our own IRC server here at SurfGuitar101.com, and it is a fun way to talk to your fellow SG101-ers. We often gather in IRC to listen to a podcast or Internet radio show, to plan site events, or to just shoot the breeze. Come on in, all are welcome! </p> <p> -<strong>If you are a beginner</strong>, please check out <a href="/forums/topic/5103/">this forum thread</a>, which has some instructions for getting started using Chatzilla, a Firefox addon. We may also do a screencast in the future to explain how to get up and running. Please <a href="/contact/">contact us</a> if you need help getting started. +<strong>If you are a beginner</strong>, we have several resources to help +get you started: </p> -<p> +<ul> + <li>Check out <a href="/forums/topic/5103/">this forum thread</a> for + general instructions and to ask questions.</li> + <li><a href="http://wiki.surfguitar101.com/Sg101Faq/IrcChat">Instructions for setting up Chatzilla</a>, a Firefox IRC addon.</li> + <li><a href="/forums/post/372665/">A screencast for setting up LimeChat on a Mac</a>.</li> + <li>If all else fails, please <a href="/contact/?subject=IRC%20Help">contact us</a> for more help.</li> +</ul> <strong>If you are an IRC pro</strong>, here are the details for getting connected with your favorite IRC client. </p> <ul> <li>Server address: <em>surfguitar101.com</em></li> - <li>Port: <em>6667</em> (the default)</li> + <li>Port: <em>6667</em> (the default) or <em>6697</em> for a secure connection</li> <li>Server password: <em>morereverb</em></li> <li>Main channel: <em>#ShallowEnd</em></li> </ul>