diff --git a/students/__pycache__/urls.cpython-36.pyc b/students/__pycache__/urls.cpython-36.pyc index b934f51..1947045 100644 Binary files a/students/__pycache__/urls.cpython-36.pyc and b/students/__pycache__/urls.cpython-36.pyc differ diff --git a/students/__pycache__/views.cpython-36.pyc b/students/__pycache__/views.cpython-36.pyc index 9595365..47d6b3a 100644 Binary files a/students/__pycache__/views.cpython-36.pyc and b/students/__pycache__/views.cpython-36.pyc differ diff --git a/students/templates/students/roommates.html b/students/templates/students/roommates.html index a81ce7d..d392d66 100644 --- a/students/templates/students/roommates.html +++ b/students/templates/students/roommates.html @@ -216,9 +216,8 @@
- - Groups - Messages + Groups + Messages  

diff --git a/students/templates/students/roommates_groups.html b/students/templates/students/roommates_groups.html new file mode 100644 index 0000000..098a9fa --- /dev/null +++ b/students/templates/students/roommates_groups.html @@ -0,0 +1,629 @@ +{% include "layout/header.html" %} + +{% load static %} + + + + + + + + + + + + +
+
+ +
+ + +
+
+
+ + +
+
+
+

+     Test Property Name + +

+
+
+
+
    +
  • MEMBERS

  • +
    +
  • +

    + + Test User 1 +


    +
  • +
  • +

    + + Test User 2 +


    +
  • +
  • +

    + + Test User 3 +


    +
  • +
  • +

    + + Test User 4 +


    +
  • +

    +
+
+
+
+
+ + + + You 04:00 pm

+
+ Hello all +

+ + + + Test user 1 04:05 pm

+
+ Hi How are you? +

+ + + + Test user 2 04:07 pm

+
+ Hi dude. How is it going? +

+ + + + You 04:10 pm

+
+ Yeah. I'm good +

+ + + + Test user 2 04:07 pm

+
+ Where are you now? +

+
+ +


+
+ +
+
+     +
+
+ +
+ +
+ +
+
+ + +
+ +
+
























+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{% include "layout/footer.html" %} \ No newline at end of file diff --git a/students/templates/students/roommates_messages.html b/students/templates/students/roommates_messages.html new file mode 100644 index 0000000..5b114b9 --- /dev/null +++ b/students/templates/students/roommates_messages.html @@ -0,0 +1,658 @@ +{% include "layout/header.html" %} + +{% load static %} + + + + + + + + + + + +
+
+ +
+ + Groups +   +

+ + +
+
+
+ + +
+
+ +
+
+ +
+ + +
    +
  • Users
  • +
  •   User name 1
  • +
  •   User name 2
  • +
  •   User name 3
  • +
  •   User name 4
  • +
+
+
+ + +
+
+ + + + + + + + +
+ + +
+ +
+
























+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{% include "layout/footer.html" %} \ No newline at end of file diff --git a/students/urls.py b/students/urls.py index 472687c..d09a3bc 100644 --- a/students/urls.py +++ b/students/urls.py @@ -28,4 +28,7 @@ path('roommates/comment//reply/create/', CommentReplyCreateView.as_view(), name="replyCreate"), path('roommates/reply//', CommentReplyUpdateDeleteView.as_view(), name="replyUpdateDelete"), + + path('roommates_groups', roommatesGroup, name='group'), + path('roommates_messages', roommatesMessage, name='message'), ] \ No newline at end of file diff --git a/students/views.py b/students/views.py index ae86554..7613fed 100644 --- a/students/views.py +++ b/students/views.py @@ -204,4 +204,10 @@ def RemoveFavourite(request, slug): else: raise Http404 return JsonResponse({'removed': removed}) - return redirect('property:propertyDetail', slug) \ No newline at end of file + return redirect('property:propertyDetail', slug) + +def roommatesGroup(request): + return render(request, 'students/roommates_groups.html') + +def roommatesMessage(request): + return render(request, 'students/roommates_messages.html') \ No newline at end of file