diff --git a/bestnotes/templates/notes.html b/bestnotes/templates/notes.html new file mode 100644 index 0000000..8bf2cb6 --- /dev/null +++ b/bestnotes/templates/notes.html @@ -0,0 +1,37 @@ +{% extends 'base.html' %} +{% load static %} +{% block css %} + +{% endblock %} +{% block content %} +{% include 'navbar.html' %} +
+

{{id}}

+
+ +
+
+
+

Dostępne notatki

+
    + {% for note in notes%} + {% if user.id != note.user.user.id %} + {{ note.name }} + {% endif %} + {% endfor %} +
+
+
+

Twoje notatki

+
    + {% for note in notes%} + {% if user.id == note.user.user.id %} + {{ note.name }} + {% endif %} + {% endfor %} +
+
+
+
+ +{% endblock %} diff --git a/bestnotes/templates/subjects.html b/bestnotes/templates/subjects.html index a063669..f78dc08 100644 --- a/bestnotes/templates/subjects.html +++ b/bestnotes/templates/subjects.html @@ -25,18 +25,18 @@ Liczba dostępnych przedmiotów: 3/5