diff --git a/db.sqlite3 b/db.sqlite3 index 5d424af..2aa4064 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/resources/templates/resources/all_groups.html b/resources/templates/resources/all_groups.html index f8d1fcf..6987b0c 100644 --- a/resources/templates/resources/all_groups.html +++ b/resources/templates/resources/all_groups.html @@ -5,7 +5,18 @@ {% endblock title %} {% block body %} - {% for group in groups %} -

{{ group.name }}

- {% endfor %} + {% include "navbar.html" with home="" tips="" resources="active" %} + +
+ +
+ {% endblock body %} \ No newline at end of file diff --git a/resources/templates/resources/all_resources_and_groups.html b/resources/templates/resources/all_resources_and_groups.html index f2fc746..2c9d20f 100644 --- a/resources/templates/resources/all_resources_and_groups.html +++ b/resources/templates/resources/all_resources_and_groups.html @@ -5,17 +5,24 @@ {% endblock title %} {% block body %} - {% for group in groups %} -

{{ group.name }}:

- + {% endfor %} + {% endblock body %} \ No newline at end of file diff --git a/resources/templates/resources/group_detail.html b/resources/templates/resources/group_detail.html index 7f0f264..034b386 100644 --- a/resources/templates/resources/group_detail.html +++ b/resources/templates/resources/group_detail.html @@ -5,11 +5,18 @@ {% endblock title %} {% block body %} -

{{ group.name }}

- + {% include "navbar.html" with home="" tips="" resources="active" %} + +
+ +
{% endblock body %} \ No newline at end of file diff --git a/resources/urls.py b/resources/urls.py index 56e1512..a3da544 100644 --- a/resources/urls.py +++ b/resources/urls.py @@ -4,8 +4,7 @@ app_name = 'resources' urlpatterns = [ - url(r'^$', views.all_resources_and_groups), - url(r'^groups/$', views.all_groups), - url(r'^categories/', views.all_groups), + url(r'^$', views.all_resources_and_groups, name="index"), + url(r'^groups/$', views.all_groups, name="groups"), url(r'^groups/(?P[0-9]+)', views.group_detail, name='group_detail'), ] \ No newline at end of file diff --git a/templates/home.html b/templates/home.html index 5ba00c2..7bd24a7 100644 --- a/templates/home.html +++ b/templates/home.html @@ -5,8 +5,19 @@ {% endblock title %} {% block body %} - {% include "navbar.html" %} -

Welcome!

- Bye - hello! + {% include "navbar.html" with home="active" %} +
+ Coding +
+
+

Curiosity == Knowledge

+
+
+

+ Pro Coding Tips is a project that aims to help developers with getting started on coding while assisting them with challenges they may face throughout their own experience. +

+
+ Read Some Tips +
+ {% endblock body %} \ No newline at end of file diff --git a/templates/layout.html b/templates/layout.html index 2511ca7..6641a1e 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -2,9 +2,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + {% block title %}{% endblock title %} - + {% block body %}{% endblock body %} diff --git a/templates/navbar.html b/templates/navbar.html index 506942e..893c711 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -12,12 +12,19 @@