Add a small, minimal popup tray for future expansion.
This commit is contained in:
@@ -27,7 +27,7 @@ $(function() {
|
||||
{% endif %}
|
||||
<div class="item">
|
||||
{% block form %}
|
||||
<form method="POST" action="{%url forums.views.reply post.id %}">
|
||||
<form method="POST" action="{%url forums.views.reply parent.id %}">
|
||||
{% csrf_token %}
|
||||
{{form.as_p}}
|
||||
<input type="submit" value="Submit"/>
|
||||
|
||||
@@ -2,6 +2,18 @@
|
||||
{% load minecraft %}
|
||||
{% load mptt_tags %}
|
||||
|
||||
{% block extrahead %}
|
||||
<script type="text/javascript" language="javascript"
|
||||
src="{{STATIC_PREFIX}}/js/lockScroll.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('topic-header').lockScroll({
|
||||
'triggerElement': $('topic.item:first'),
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block sectiontitle %}Forums{% endblock %}
|
||||
|
||||
{% block localnav %}
|
||||
@@ -34,7 +46,7 @@ Home
|
||||
{%endblock%}
|
||||
|
||||
{%block content %}
|
||||
<div class="topic item">
|
||||
<div class="topic item" id="topic-header">
|
||||
<div class="avatar">{% avatar topic.rootPost.user 32 %}</div>
|
||||
<h2>{{topic.title}}</h2>
|
||||
<div class="byline">Started by <span itemprop="author">{{topic.rootPost.user}}</span> {{ topic.created|timesince }} ago.<br />Last updated {{topic.updated|timesince}} ago.</div>
|
||||
|
||||
Reference in New Issue
Block a user