diff --git a/README.md b/README.md index 50fd46e..9072ff3 100644 --- a/README.md +++ b/README.md @@ -51,4 +51,9 @@ MISC_UPLOAD_FOLDER = 'myriad/static/misc' # where other small images will be sto # dependencies -- Flask \ No newline at end of file +- Flask + +# preview + +- homepage with pinned members +![homepage with pinned members](https://ibb.co/0Vy62Q0d) \ No newline at end of file diff --git a/myriad/templates/base.html b/myriad/templates/base.html index 1725159..c2c3a69 100644 --- a/myriad/templates/base.html +++ b/myriad/templates/base.html @@ -23,15 +23,15 @@ {% if g.user %}{% endif %} + {% if config["REGISTRATION"] == True %}
Administration
{% if g.user %} {% else %} - {% if config["REGISTRATION"] == True %} - - {% endif %} + {% endif %} + {% endif %} diff --git a/myriad/templates/groups.html b/myriad/templates/groups.html index d925ca0..93d0f2d 100644 --- a/myriad/templates/groups.html +++ b/myriad/templates/groups.html @@ -1,8 +1,5 @@ {% extends 'base.html' %} - -{% block header %} -
{% block title %}Groups{% endblock %}
-{% endblock %} +{% block title %}Groups{% endblock %} {% block content %} diff --git a/myriad/templates/page.html b/myriad/templates/page.html index 0c8adad..d061b07 100644 --- a/myriad/templates/page.html +++ b/myriad/templates/page.html @@ -10,7 +10,7 @@ {% endif %}
{{member[3]}}
- {{member[5]}} + {{member[5]|safe}}

@@ -19,10 +19,10 @@
{% for post in blog %}
-
{{post[3]}}
+
{{post[3]|safe}}
{{post[2]}}
- {{post[4]}} + {{post[4]|safe}}
{% endfor %}