tweaks i forgot what
This commit is contained in:
@@ -51,4 +51,9 @@ MISC_UPLOAD_FOLDER = 'myriad/static/misc' # where other small images will be sto
|
||||
|
||||
# dependencies
|
||||
|
||||
- Flask
|
||||
- Flask
|
||||
|
||||
# preview
|
||||
|
||||
- homepage with pinned members
|
||||

|
||||
@@ -23,15 +23,15 @@
|
||||
{% if g.user %}<div class="navitem">> <a href="{{ url_for('blog.new') }}">New Post</a></div>{% endif %}
|
||||
<div class="navitem">> <a href="{{ url_for('blog.blog') }}">View All Posts</a></div>
|
||||
|
||||
{% if config["REGISTRATION"] == True %}
|
||||
<div class="heading">Administration</div>
|
||||
{% if g.user %}
|
||||
<div class="navitem">> <a href="{{ url_for('auth.logout') }}">Log out</a></div>
|
||||
{% else %}
|
||||
{% if config["REGISTRATION"] == True %}
|
||||
<div class="navitem">> <a href="{{ url_for('auth.register') }}">Register</a></div>
|
||||
{% endif %}
|
||||
<div class="navitem">> <a href="{{ url_for('auth.register') }}">Register</a></div>
|
||||
<div class="navitem">> <a href="{{ url_for('auth.login') }}">Log in</a></div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block header %}
|
||||
<div class="title">{% block title %}Groups{% endblock %}</div>
|
||||
{% endblock %}
|
||||
{% block title %}Groups{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
{% endif %}
|
||||
<div class="title">{{member[3]}}</div>
|
||||
<div class="maintext">
|
||||
{{member[5]}}
|
||||
{{member[5]|safe}}
|
||||
</div>
|
||||
<br class="clear" />
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
<div id="blog">
|
||||
{% for post in blog %}
|
||||
<div class="post">
|
||||
<div class="title">{{post[3]}}</div>
|
||||
<div class="title">{{post[3]|safe}}</div>
|
||||
<div class="timestamp">{{post[2]}}</div>
|
||||
<div class="content">
|
||||
{{post[4]}}
|
||||
{{post[4]|safe}}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user