Fixed errors across app pages

parent 669d7226
.DS_Store
**/.env
**/db.sqlite3
**/**/*.pyc
\ No newline at end of file
......@@ -22,8 +22,8 @@
<br>
<div class="row">
<div class="col-5" style="text-align:right">
<h4 style="font-size:25px">Author:</h4>
<h4 style="font-size:25px">Date and Time:</h4>
<h4 style="font-size:25px">By:</h4>
<h4 style="font-size:25px">Posted on:</h4>
</div>
<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>
......
......@@ -11,15 +11,14 @@
<br>
<br>
<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>
</div>
<div class="col-9 text-center">
<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>
<br>
<br>
<h5 class="display-3"style="font-size:40px; color:#052c65">Announcements:</h5>
<br>
{% for object in announcements %}
......@@ -27,7 +26,7 @@
{{ object.title }} by {{ object.author.first_name }} {{ object.author.last_name }}</a>
<br>
{% endfor %}
<br><br>
<br>
<button type="button" class="btn btn-dark" style="background-color:#e3e4e6">
<a href="/announcements/add" class="link-dark">New Announcement</a>
</button>
......
......@@ -50,7 +50,7 @@
<a href="/assignments/{{object.pk}}/edit" class="link-dark">Edit Assignment</a>
</button> &nbsp; &nbsp;
<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>
</div>
</div>
......
......@@ -18,7 +18,7 @@
</div>
<div class="col-9 text-center">
<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>
<br>
<br>
......@@ -27,7 +27,7 @@
{{ task.format_assignment }}</a>
<br>
{% endfor %}
<br><br>
<br>
<button type="button" class="btn" style="background-color:#e3e4e6">
<a href="/assignments/add/" class="link-dark">New Assignment</a>
</button>
......
......@@ -6,7 +6,7 @@
<div class="col-3 text-center text-white" style="background-color:#052c65">
<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>
<h2>Dashboard</h2>
......@@ -17,7 +17,6 @@
<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>
</div>
<br>
<br>
<h6 class="display-3"style="font-size:40px; color:#052c65">Widget Users:</h6><br>
{% for user in users %}
......@@ -25,7 +24,7 @@
{{ user }}</a>
<br>
{% endfor %}
<br><br>
<br>
<button type="button" class="btn" style="background-color:#e3e4e6">
<a href="/dashboard/widgetusers/add/" class="link-dark">Add Widget User</a>
</button>
......
......@@ -6,13 +6,14 @@
<div class="col-3 text-center text-white" style="background-color:#052c65">
<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>
<h2>Dashboard</h2>
<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>
<p>© Jenica e-Sports</p>
<br>
</div>
<div class="col-9 text-center">
<div class="row p-5 text-center" style="background-color:#e3e4e6">
......
......@@ -6,13 +6,14 @@
<div class="col-3 text-center text-white" style="background-color:#052c65">
<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>
<h2>Dashboard</h2>
<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>
<p>© Jenica e-Sports</p>
<br>
</div>
<div class="col-9 text-center">
<div class="row p-5 text-center" style="background-color:#e3e4e6">
......
......@@ -6,13 +6,14 @@
<div class="col-3 text-center text-white" style="background-color:#052c65">
<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>
<h2>Dashboard</h2>
<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>
<p>© Jenica e-Sports</p>
<br>
</div>
<div class="col-9 text-center">
<div class="row p-5 text-center" style="background-color:#e3e4e6">
......
......@@ -18,14 +18,13 @@
<h1 class="display-3"style="font-size:60px; color:#052c65">Welcome to Widget's Forum</h1>
</div>
<br>
<br>
<h6 class="display-3"style="font-size:40px; color:#052c65">Forum posts:</h6>
{% for post in posts %}
<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>
<br>
{% endfor %}
<br><br>
<br>
<button type="button" class="btn btn-dark" style="background-color:#e3e4e6">
<a href="/forum/forumposts/add/" class="link-dark">New Post</a>
</button>
......
......@@ -13,6 +13,7 @@
<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>
<p>© Jenica e-Sports</p>
<br>
</div>
<div class="col-9 text-center">
<div class="row p-5 text-center" style="background-color:#e3e4e6">
......@@ -29,25 +30,23 @@
<h5 class="display-3" style="font-size:25px">{{ object.formatted_date }}, {{ object.formatted_time }}</h5>
</div>
</div>
<br>
<div class="row p-2" style="background-color:#e3e4e6">
<h5 class="display-3" style="font-size:25px">{{ object.body }}</h5>
<div class="row p-3">
<h5 class="display-3" style="font-size:22px">{{ object.body }}</h5>
</div>
<div class="row p-3 text-start">
<h3 style="font-size:30px; color:#052c65">Post Replies:</h3>
</div>
<br>
<div class="row"><h3 class="display-3" style="font-size:35px; color:#052c65">Post Replies:</h3></div>
{% for reply in reply_list %}
{% if reply.forum_post.title == object.title %}
<div class="row p-5 text-center" style="background-color:#e3e4e6">
<h1 class="display-3" style="font-size:25px; 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>
<div class="row p-3 text-start" style="background-color:#e3e4e6;">
<h1 class="display-3" style="font-size:22px; color:#052c65">{{ reply.body }}</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>
</div>
{% endif %}
{% endfor %}
<br><br>
<br>
<button type="button" class="btn" style="background-color:#e3e4e6">
<a href="/forum/forumposts/{{ object.pk }}/edit/" class="link-dark">Edit Post</a>
</button> &nbsp; &nbsp;
......
......@@ -24,7 +24,7 @@
{{ object.activity }}</a>
<br>
{% endfor %}
<br><br>
<br>
<button type="button" class="btn btn-dark" style="background-color:#e3e4e6">
<a href="/calendar/events/add/" class="link-dark">New Activity</a>
</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