-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I am pushing the project with most of the front end connected to the backend.
- Loading branch information
1 parent
03f8992
commit 26c8125
Showing
211 changed files
with
8,978 additions
and
767 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block page_header %} | ||
<h2>Log in to your account.</h2> | ||
{% endblock page_header %} | ||
|
||
{% block content %} | ||
|
||
|
||
<h1> | ||
User Details | ||
</h1> | ||
<h3> | ||
{{ user.username }} | ||
<br> | ||
{{ user.userinfo.user_type }} | ||
|
||
</h3> | ||
|
||
<h1>Lists of all Signin User's Videos </h1> | ||
|
||
{% for movie in movies %} | ||
|
||
<a href="{% url 'movies:view_movie' movie.id %}"> | ||
<video width="320" height="240" controlsList="nodownload"> | ||
<source src="{{ MEDIA_URL }}/{{ movie.video }}" type="video/mp4"> | ||
</video> | ||
</a> | ||
|
||
{% empty %} | ||
|
||
<h3> | ||
No movie Yet! | ||
</h3> | ||
|
||
<li> | ||
<a href="{% url 'movies:all_movies' %}">Would you like to UPLOAD a Movie?</a> | ||
</li> | ||
{% endfor %} | ||
|
||
|
||
<h1>Lists of all Favourites</h1> | ||
|
||
{% for favourite in favourites %} | ||
|
||
<a href="{% url 'movies:view_movie' favourite.id %}"> | ||
<video width="320" height="240" controlsList="nodownload"> | ||
<source src="{{ MEDIA_URL }}/{{ favourite.video }}" type="video/mp4"> | ||
</video> | ||
</a> | ||
|
||
{% empty %} | ||
|
||
<h3> | ||
No Favourites Yet! | ||
</h3> | ||
|
||
<li> | ||
<a href="{% url 'movies:all_movies' %}">Would you like to checkout some Movies?</a> | ||
</li> | ||
{% endfor %} | ||
|
||
{% endblock content %} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Oops, something went wrong.