Fixed errors across app pages

parent 669d7226
.DS_Store
**/.env **/.env
**/db.sqlite3
**/**/*.pyc **/**/*.pyc
\ No newline at end of file
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
<br> <br>
<div class="row"> <div class="row">
<div class="col-5" style="text-align:right"> <div class="col-5" style="text-align:right">
<h4 style="font-size:25px">Author:</h4> <h4 style="font-size:25px">By:</h4>
<h4 style="font-size:25px">Date and Time:</h4> <h4 style="font-size:25px">Posted on:</h4>
</div> </div>
<div class="col-7" style="text-align:left"> <div class="col-7" style="text-align:left">
<h5 class="display-3" style="font-size:25px">{{ object.author.first_name }} {{ object.author.last_name }}</h5> <h5 class="display-3" style="font-size:25px">{{ object.author.first_name }} {{ object.author.last_name }}</h5>
......
...@@ -11,15 +11,14 @@ ...@@ -11,15 +11,14 @@
<br> <br>
<br> <br>
<h2>Announcements</h2> <h2>Announcements</h2>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<p>© Jenica e-Sports</p> <p>© Jenica e-Sports</p>
</div> </div>
<div class="col-9 text-center"> <div class="col-9 text-center">
<div class="row p-5 text-center" style="background-color:#e3e4e6"> <div class="row p-5 text-center" style="background-color:#e3e4e6">
<h1 class="display-3"style="font-size:55px; color:#052c65">Wecome to Widget's Announcement Board!</h1> <h1 class="display-3"style="font-size:50px; color:#052c65">Wecome to Widget's Announcement Board!</h1>
</div> </div>
<br> <br>
<br>
<h5 class="display-3"style="font-size:40px; color:#052c65">Announcements:</h5> <h5 class="display-3"style="font-size:40px; color:#052c65">Announcements:</h5>
<br> <br>
{% for object in announcements %} {% for object in announcements %}
...@@ -27,7 +26,7 @@ ...@@ -27,7 +26,7 @@
{{ object.title }} by {{ object.author.first_name }} {{ object.author.last_name }}</a> {{ object.title }} by {{ object.author.first_name }} {{ object.author.last_name }}</a>
<br> <br>
{% endfor %} {% endfor %}
<br><br> <br>
<button type="button" class="btn btn-dark" style="background-color:#e3e4e6"> <button type="button" class="btn btn-dark" style="background-color:#e3e4e6">
<a href="/announcements/add" class="link-dark">New Announcement</a> <a href="/announcements/add" class="link-dark">New Announcement</a>
</button> </button>
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<a href="/assignments/{{object.pk}}/edit" class="link-dark">Edit Assignment</a> <a href="/assignments/{{object.pk}}/edit" class="link-dark">Edit Assignment</a>
</button> &nbsp; &nbsp; </button> &nbsp; &nbsp;
<button type="button" class="btn" style="background-color:#052c65"> <button type="button" class="btn" style="background-color:#052c65">
<a href="/assignments/" class="link-light">[Temp] Back to Calendar</a> <a href="/assignments/" class="link-light">Back to Assignments</a>
</button> </button>
</div> </div>
</div> </div>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</div> </div>
<div class="col-9 text-center"> <div class="col-9 text-center">
<div class="row p-5 text-center" style="background-color:#e3e4e6"> <div class="row p-5 text-center" style="background-color:#e3e4e6">
<h1 class="display-3"style="font-size:60px; color:#052c65">Widget's Assignments</h1> <h1 class="display-3"style="font-size:60px; color:#052c65">Welcome to Widget's Assignments</h1>
</div> </div>
<br> <br>
<br> <br>
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
{{ task.format_assignment }}</a> {{ task.format_assignment }}</a>
<br> <br>
{% endfor %} {% endfor %}
<br><br> <br>
<button type="button" class="btn" style="background-color:#e3e4e6"> <button type="button" class="btn" style="background-color:#e3e4e6">
<a href="/assignments/add/" class="link-dark">New Assignment</a> <a href="/assignments/add/" class="link-dark">New Assignment</a>
</button> </button>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div class="col-3 text-center text-white" style="background-color:#052c65"> <div class="col-3 text-center text-white" style="background-color:#052c65">
<br> <br>
<br> <br>
<img src="{% static 'dashboard_icon.png'%}" class="img-fluid" width="100" height="100"> <img src="{% static 'dashboard_icon.png'%}" class="img-fluid" width="87" height="87">
<br> <br>
<br> <br>
<h2>Dashboard</h2> <h2>Dashboard</h2>
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
<div class="row p-5 text-center" style="background-color:#e3e4e6"> <div class="row p-5 text-center" style="background-color:#e3e4e6">
<h1 class="display-3"style="font-size:60px; color:#052c65">Welcome to Widget!</h1> <h1 class="display-3"style="font-size:60px; color:#052c65">Welcome to Widget!</h1>
</div> </div>
<br>
<br> <br>
<h6 class="display-3"style="font-size:40px; color:#052c65">Widget Users:</h6><br> <h6 class="display-3"style="font-size:40px; color:#052c65">Widget Users:</h6><br>
{% for user in users %} {% for user in users %}
...@@ -25,7 +24,7 @@ ...@@ -25,7 +24,7 @@
{{ user }}</a> {{ user }}</a>
<br> <br>
{% endfor %} {% endfor %}
<br><br> <br>
<button type="button" class="btn" style="background-color:#e3e4e6"> <button type="button" class="btn" style="background-color:#e3e4e6">
<a href="/dashboard/widgetusers/add/" class="link-dark">Add Widget User</a> <a href="/dashboard/widgetusers/add/" class="link-dark">Add Widget User</a>
</button> </button>
......
...@@ -6,13 +6,14 @@ ...@@ -6,13 +6,14 @@
<div class="col-3 text-center text-white" style="background-color:#052c65"> <div class="col-3 text-center text-white" style="background-color:#052c65">
<br> <br>
<br> <br>
<img src="{% static 'dashboard_icon.png'%}" class="img-fluid" width="100" height="100"> <img src="{% static 'dashboard_icon.png'%}" class="img-fluid" width="87" height="87">
<br> <br>
<br> <br>
<h2>Dashboard</h2> <h2>Dashboard</h2>
<h4 class="display-6" style="font-size:20px">Add Widget User</h4> <h4 class="display-6" style="font-size:20px">Add Widget User</h4>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<p>© Jenica e-Sports</p> <p>© Jenica e-Sports</p>
<br>
</div> </div>
<div class="col-9 text-center"> <div class="col-9 text-center">
<div class="row p-5 text-center" style="background-color:#e3e4e6"> <div class="row p-5 text-center" style="background-color:#e3e4e6">
......
...@@ -6,13 +6,14 @@ ...@@ -6,13 +6,14 @@
<div class="col-3 text-center text-white" style="background-color:#052c65"> <div class="col-3 text-center text-white" style="background-color:#052c65">
<br> <br>
<br> <br>
<img src="{% static 'dashboard_icon.png'%}" class="img-fluid" width="100" height="100"> <img src="{% static 'dashboard_icon.png'%}" class="img-fluid" width="87" height="87">
<br> <br>
<br> <br>
<h2>Dashboard</h2> <h2>Dashboard</h2>
<h4 class="display-6" style="font-size:20px">Widget User Details</h4> <h4 class="display-6" style="font-size:20px">Widget User Details</h4>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<p>© Jenica e-Sports</p> <p>© Jenica e-Sports</p>
<br>
</div> </div>
<div class="col-9 text-center"> <div class="col-9 text-center">
<div class="row p-5 text-center" style="background-color:#e3e4e6"> <div class="row p-5 text-center" style="background-color:#e3e4e6">
......
...@@ -6,13 +6,14 @@ ...@@ -6,13 +6,14 @@
<div class="col-3 text-center text-white" style="background-color:#052c65"> <div class="col-3 text-center text-white" style="background-color:#052c65">
<br> <br>
<br> <br>
<img src="{% static 'dashboard_icon.png'%}" class="img-fluid" width="100" height="100"> <img src="{% static 'dashboard_icon.png'%}" class="img-fluid" width="87" height="87">
<br> <br>
<br> <br>
<h2>Dashboard</h2> <h2>Dashboard</h2>
<h4 class="display-6" style="font-size:20px">Edit Widget User</h4> <h4 class="display-6" style="font-size:20px">Edit Widget User</h4>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<p>© Jenica e-Sports</p> <p>© Jenica e-Sports</p>
<br>
</div> </div>
<div class="col-9 text-center"> <div class="col-9 text-center">
<div class="row p-5 text-center" style="background-color:#e3e4e6"> <div class="row p-5 text-center" style="background-color:#e3e4e6">
......
...@@ -18,14 +18,13 @@ ...@@ -18,14 +18,13 @@
<h1 class="display-3"style="font-size:60px; color:#052c65">Welcome to Widget's Forum</h1> <h1 class="display-3"style="font-size:60px; color:#052c65">Welcome to Widget's Forum</h1>
</div> </div>
<br> <br>
<br>
<h6 class="display-3"style="font-size:40px; color:#052c65">Forum posts:</h6> <h6 class="display-3"style="font-size:40px; color:#052c65">Forum posts:</h6>
{% for post in posts %} {% for post in posts %}
<a href="{{ post.get_absolute_url }}" class="link-dark; display-3" style="font-size:18px; color:#052c65"> <a href="{{ post.get_absolute_url }}" class="link-dark; display-3" style="font-size:18px; color:#052c65">
{{ post.title }} by {{ post.author.first_name }} {{post.author.last_name }}</a> {{ post.title }} by {{ post.author.first_name }} {{post.author.last_name }}</a>
<br> <br>
{% endfor %} {% endfor %}
<br><br> <br>
<button type="button" class="btn btn-dark" style="background-color:#e3e4e6"> <button type="button" class="btn btn-dark" style="background-color:#e3e4e6">
<a href="/forum/forumposts/add/" class="link-dark">New Post</a> <a href="/forum/forumposts/add/" class="link-dark">New Post</a>
</button> </button>
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
<h4 class="display-6" style="font-size:20px">Forum Post Details</h4> <h4 class="display-6" style="font-size:20px">Forum Post Details</h4>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<p>© Jenica e-Sports</p> <p>© Jenica e-Sports</p>
<br>
</div> </div>
<div class="col-9 text-center"> <div class="col-9 text-center">
<div class="row p-5 text-center" style="background-color:#e3e4e6"> <div class="row p-5 text-center" style="background-color:#e3e4e6">
...@@ -29,25 +30,23 @@ ...@@ -29,25 +30,23 @@
<h5 class="display-3" style="font-size:25px">{{ object.formatted_date }}, {{ object.formatted_time }}</h5> <h5 class="display-3" style="font-size:25px">{{ object.formatted_date }}, {{ object.formatted_time }}</h5>
</div> </div>
</div> </div>
<br> <div class="row p-3">
<div class="row p-2" style="background-color:#e3e4e6"> <h5 class="display-3" style="font-size:22px">{{ object.body }}</h5>
<h5 class="display-3" style="font-size:25px">{{ object.body }}</h5> </div>
<div class="row p-3 text-start">
<h3 style="font-size:30px; color:#052c65">Post Replies:</h3>
</div> </div>
<br>
<div class="row"><h3 class="display-3" style="font-size:35px; color:#052c65">Post Replies:</h3></div>
{% for reply in reply_list %} {% for reply in reply_list %}
{% if reply.forum_post.title == object.title %} {% if reply.forum_post.title == object.title %}
<div class="row p-5 text-center" style="background-color:#e3e4e6"> <div class="row p-3 text-start" style="background-color:#e3e4e6;">
<h1 class="display-3" style="font-size:25px; color:#052c65">{{ reply.body }}</h1> <h1 class="display-3" style="font-size:22px; color:#052c65">{{ reply.body }}</h1>
<h1 class="display-3" style="font-size:20px; color:#052c65">by {{ reply.author.first_name }} {{ reply.author.last_name }}</h1> <h1 style="font-size:20px; color:#052c65">by {{ reply.author.first_name }} {{ reply.author.last_name }}</h1>
<h1 class="display-3" style="font-size:15px; color:#052c65">{{ reply.formatted_date }}, {{ reply.formatted_time }}</h1> <h1 class="display-3" style="font-size:15px; color:#052c65">{{ reply.formatted_date }}, {{ reply.formatted_time }}</h1>
</div> </div>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
<br><br> <br>
<button type="button" class="btn" style="background-color:#e3e4e6"> <button type="button" class="btn" style="background-color:#e3e4e6">
<a href="/forum/forumposts/{{ object.pk }}/edit/" class="link-dark">Edit Post</a> <a href="/forum/forumposts/{{ object.pk }}/edit/" class="link-dark">Edit Post</a>
</button> &nbsp; &nbsp; </button> &nbsp; &nbsp;
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
{{ object.activity }}</a> {{ object.activity }}</a>
<br> <br>
{% endfor %} {% endfor %}
<br><br> <br>
<button type="button" class="btn btn-dark" style="background-color:#e3e4e6"> <button type="button" class="btn btn-dark" style="background-color:#e3e4e6">
<a href="/calendar/events/add/" class="link-dark">New Activity</a> <a href="/calendar/events/add/" class="link-dark">New Activity</a>
</button> </button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment