Help on IRC

master
Nick Sergeant 2012-05-15 10:53:12 -04:00
parent ece2f58a83
commit 063d2acb90
3 changed files with 32 additions and 1 deletions

View File

@ -1196,9 +1196,22 @@ body.api section.main aside.api-info div.api-inner ul li input {
margin-top: 5px;
width: 145px;
}
body.api section.main aside.api-info.api-creds div.api-inner {
margin-bottom: 0;
}
body.api section.main aside.api-info.immediate-help {
margin-top: 20px;
}
body.api section.main aside.api-info.immediate-help p {
margin: 0;
}
body.api section.main aside.main {
padding-top: 0;
}
body.api section.main aside.main nav.footer {
margin-top: 0;
}
body.blog article.snipt section.code {
height: auto;
}

View File

@ -1347,6 +1347,18 @@ body.api {
}
}
}
&.api-creds {
div.api-inner {
margin-bottom: 0;
}
}
&.immediate-help {
margin-top: 20px;
p {
margin: 0;
}
}
}
aside.main {
padding-top: 0;

View File

@ -16,7 +16,7 @@
{% block aside %}
{% if request.path == '/api/' and request.user.is_authenticated %}
<aside class="api-info">
<aside class="api-info api-creds">
<div class="api-inner">
<h5>Your API credentials:</h5>
<ul>
@ -26,6 +26,12 @@
</ul>
</div>
</aside>
<aside class="api-info immediate-help">
<div class="api-inner">
<h5>Need immediate help?</h5>
<p>Join our lead developer &ldquo;nicksergeant&rdquo; in <strong>#snipt</strong> on irc.freenode.net.</p>
</div>
</aside>
{{ block.super }}
{% endif %}
{% endblock %}