diff options
Diffstat (limited to 'static/website/templates')
-rw-r--r-- | static/website/templates/fetch_tutorials.html | 9 | ||||
-rw-r--r-- | static/website/templates/index.html | 12 |
2 files changed, 15 insertions, 6 deletions
diff --git a/static/website/templates/fetch_tutorials.html b/static/website/templates/fetch_tutorials.html index 524930f..a99caec 100644 --- a/static/website/templates/fetch_tutorials.html +++ b/static/website/templates/fetch_tutorials.html @@ -1,9 +1,10 @@ {% extends 'website/templates/base.html' %} {% block content %} {% for tut in tutorials %} - <a href="{% url 'website:fetch_posts' category tut.tutorial_name %}"> - {{tut.tutorial_name}} - </a> - <br> + <div class="tutorial"> + <a href="{% url 'website:fetch_posts' category tut.tutorial_name %}"> + {{tut.tutorial_name}} + </a> + </div> {% endfor %} {% endblock %} diff --git a/static/website/templates/index.html b/static/website/templates/index.html index b936643..c8b11b3 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -1,11 +1,19 @@ {% extends 'website/templates/base.html' %} {% block content %} {% for category in categories %} - <div class="col-lg-4 col-"> + <div class="category col-lg-4"> <a href="{% url 'website:fetch_tutorials' category %}">{{ category }}</a> <br> {% load count_tags %} - Count = {% category_post_count category %} + <span class="posts"> + {% category_post_count category %} posts, + </span> + <span class="replies"> + {% category_post_count category %} replies + </span> + <span class="helper"> + A + </span> </div> {% endfor %} <div class="clear"></div> |