Commit 061e714a authored by nheoxoz's avatar nheoxoz

updated css for all html files

parent 29489cd3
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<input type="submit" value="Add Announcement"> <p class="centerB">
<input class="submitB" type="submit" value="Add Announcement">
</p>
</form> </form>
<a href="/announcements/">
<button class="btn">Back to Announcement Board</button>
</a>
{% endblock %} {% endblock %}
...@@ -18,10 +18,9 @@ ...@@ -18,10 +18,9 @@
Love: {{ object.getLove }}<br> Love: {{ object.getLove }}<br>
Angry: {{ object.getAngry }} Angry: {{ object.getAngry }}
</p> </p>
<a href="/announcements/{{object.pk}}/edit"> <p class="centerB">
<a href="/announcements/{{object.pk}}/edit">
<button class="btn">Edit Announcement</button> <button class="btn">Edit Announcement</button>
</a><br> </a>
<a href="/announcements/"> </p>
<button class="btn">Back to Announcement Board</button>
</a>
{% endblock %} {% endblock %}
...@@ -9,9 +9,8 @@ ...@@ -9,9 +9,8 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<input type="submit" value="Save Changes to Announcement"> <p class="centerB">
<input class="submitB" type="submit" value="Save Changes to Announcement">
</p>
</form> </form>
<a href="/announcements/">
<button class="btn">Back to Announcement Board</button>
</a>
{% endblock %} {% endblock %}
...@@ -17,14 +17,16 @@ ...@@ -17,14 +17,16 @@
{% endblock %} {% endblock %}
{% block footing %} {% block footing %}
<p> <p class="centerB">
<a href="/announcements/add"> <a href="/announcements/add">
<button class="btn add">New Announcement</button> <button class="btn add">New Announcement</button>
</a> </a>
</p> </p>
<a href="/dashboard/" class="link">Dashboard</a><br> <p>
<a href="/forum/" class="link">Forum</a><br> <a href="/dashboard/" class="link">Dashboard</a><br>
<a href="/assignments/" class="link">Assignments</a><br> <a href="/forum/" class="link">Forum</a><br>
<a href="/calendar/" class="link">Calendar</a> <a href="/assignments/" class="link">Assignments</a><br>
<a href="/calendar/" class="link">Calendar</a>
</p>
{% endblock %} {% endblock %}
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
<form method="POST"> <form method="POST">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<input type="SUBMIT" value="Save New Assignment"> <p class="centerB">
<input class="submitB" type="SUBMIT" value="Save New Assignment">
</p>
</form> </form>
{% endblock %} {% endblock %}
...@@ -8,7 +8,9 @@ ...@@ -8,7 +8,9 @@
Perfert Score: {{ assignment.perfect_score }}<br> Perfert Score: {{ assignment.perfect_score }}<br>
Passing Score: {{ assignment.passing_score }} Passing Score: {{ assignment.passing_score }}
</p> </p>
<p>
<a href="{% url 'assignments:assignment-edit' assignment.id %}"> <a href="{% url 'assignments:assignment-edit' assignment.id %}">
<button>Edit Assignment</button> <button>Edit Assignment</button>
</a><br> </a>
</p>
{% endblock %} {% endblock %}
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
<form method="POST"> <form method="POST">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<input type="SUBMIT" value="Save Changes to Assignment"> <p class="centerB">
<input class="submitB" type="SUBMIT" value="Save Changes to Assignment">
</p>
</form> </form>
{% endblock %} {% endblock %}
...@@ -5,24 +5,24 @@ ...@@ -5,24 +5,24 @@
{% block heading %} <h1> Welcome to Widget's Assignments! </h1>{% endblock %} {% block heading %} <h1> Welcome to Widget's Assignments! </h1>{% endblock %}
{% block content %} {% block content %}
<div class="main"> <p class="list">
<div class="list">
{% for assignment in assignments %} {% for assignment in assignments %}
<a href="{{ assignment.get_absolute_url }}"> <a href="{{ assignment.get_absolute_url }}">
{{assignment.name}} <br> {{assignment.name}} <br>
</a> </a>
{% endfor %} {% endfor %}
<br>
</div> </div>
<button type="button"> <p class="centerB">
<button class="btn add">
<a href="{% url 'assignments:assignment-add' %}">New Assignment</a> <a href="{% url 'assignments:assignment-add' %}">New Assignment</a>
</button> </button>
</p>
{% endblock %} {% endblock %}
{% block footing %} {% block footing %}
<div class="links"> <p class="links">
<a href="/dashboard/" class="btn-primary">Dashboard </a><br> <a href="/dashboard/" class="btn-primary">Dashboard </a><br>
<a href="/announcements/" class="btn-primary"> Announcements</a><br> <a href="/announcements/" class="btn-primary"> Announcements</a><br>
<a href="/forum/" class="btn-primary"> Forum </a><br> <a href="/forum/" class="btn-primary"> Forum </a><br>
<a href="/calendar/" class="btn-primary"> Calendar </a> <a href="/calendar/" class="btn-primary"> Calendar </a>
</div> </p>
{% endblock %} {% endblock %}
...@@ -17,13 +17,13 @@ ...@@ -17,13 +17,13 @@
{% endblock %} {% endblock %}
{% block footing %} {% block footing %}
<p> <p class="centerB">
<a href="{% url 'dashboard:widgetuser-create' %}"> <a href="{% url 'dashboard:widgetuser-create' %}">
<button class="btn add">Add Widget User</button> <button class="btn add">Add Widget User</button>
</a> </a>
</p> </p>
<p> <p>
<a href="{% url 'announcements:index' %}">Announcement Board</a><br> <a href="{% url 'announcements:index' %}">Announcements</a><br>
<a href="{% url 'forum:forum' %}">Forum</a><br> <a href="{% url 'forum:forum' %}">Forum</a><br>
<a href="{% url 'assignments:assignments' %}">Assignments</a><br> <a href="{% url 'assignments:assignments' %}">Assignments</a><br>
<a href="{% url 'calendar:calendar' %}">Calendar</a><br> <a href="{% url 'calendar:calendar' %}">Calendar</a><br>
......
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<input type="submit" value="Add Widget User"> <p class="centerB">
<input class="submitB" type="submit" value="Add Widget User">
</p>
</form> </form>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -17,7 +17,12 @@ ...@@ -17,7 +17,12 @@
{% endblock %} {% endblock %}
{% block footing %} {% block footing %}
<a href="{% url 'dashboard:widgetuser-update' object.pk %}"> <p class="centerB">
<button class="btn edit">Edit Widget User</button> <a href="{% url 'dashboard:widgetuser-update' object.pk %}">
</a> <button class="btn edit">
Edit Widget User
</button>
</a>
</p>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<input type="submit" value="Save Changes to Widget User"> <p class="centerB">
<input class="submitB" type="submit" value="Save Changes to Widget User">
</p>
</form> </form>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -18,12 +18,15 @@ ...@@ -18,12 +18,15 @@
{% endblock %} {% endblock %}
{% block footing %} {% block footing %}
<a href="{% url 'forum:forumpost-create' %}"> <p class="centerB">
<a href="{% url 'forum:forumpost-create' %}">
<button class="btn add">New Post</button> <button class="btn add">New Post</button>
</a><br><br> </a>
</p>
<p><a href="/dashboard/" class="link">Dashboard</a><br>
<a href="/announcements/" class="link">Announcements</a><br>
<a href="/assignments/" class="link">Assignments</a><br>
<a href="/calendar/" class="link">Calendar</a>
</p>
<a href="/dashboard/" class="link">Dashboard</a><br>
<a href="/announcements/" class="link">Announcements</a><br>
<a href="/assignments/" class="link">Assignments</a><br>
<a href="/calendar/" class="link">Calendar</a>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<input type="submit" value="Save New Post"> <p class="centerB">
<input class="submitB" type="submit" value="Save New Post">
</p>
</form> </form>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -20,13 +20,15 @@ POST REPLIES:<br> ...@@ -20,13 +20,15 @@ POST REPLIES:<br>
{% if reply.forumpost == object %} {% if reply.forumpost == object %}
by {{ reply.author.first_name }} {{ reply.author.last_name }}<br> by {{ reply.author.first_name }} {{ reply.author.last_name }}<br>
{{ reply.pub_datetime|date:"m/d/Y" }}, {{ reply.pub_datetime|time:"g:iA" }}<br> {{ reply.pub_datetime|date:"m/d/Y" }}, {{ reply.pub_datetime|time:"g:iA" }}<br>
{{ reply.body }}<br><br> {{ reply.body }}<br>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endblock %} {% endblock %}
{% block footing %} {% block footing %}
<a href="{% url 'forum:forumpost-update' object.pk %}"> <p class="centerB">
<a href="{% url 'forum:forumpost-update' object.pk %}">
<button class="btn edit">Edit Post</button> <button class="btn edit">Edit Post</button>
</a> </a>
</p>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<input type="submit" value="Save Changes to Post"> <p class="centerB">
<input class="submitB "type="submit" value="Save Changes to Post">
</p>
</form> </form>
{% endblock %} {% endblock %}
\ No newline at end of file
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;1,300&display=swap");
body {
background-color: rgb(13, 12, 29);
}
p, a ,h1 , button, form{
color: #F1DAC4;
font-family: Nunito;
}
h1 {
text-align: center;
border: 0px solid rgba(100, 100, 100, 1);
border-radius: 20px;
background: linear-gradient(
50deg,
rgba(255, 255, 255, 0.4) 12%,
rgba(255, 255, 255, 0.1) 77%
);
background-blend-mode: ;
box-shadow: 0px 4px 24px 1px rgba(0, 0, 0, 0.28);
transition: background-color 300ms ease-out;
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
margin-top: 50px;
padding-top: 10px;
padding-bottom: 10px;
margin-left: 500px;
margin-right: 500px;
}
h1:hover {
background-color: rgba(0, 0, 0, 1);
}
p {
text-align: center;
border: 0px solid rgba(100, 100, 100, 1);
border-radius: 20px;
background: linear-gradient(
50deg,
rgba(255, 255, 255, 0.4) 12%,
rgba(255, 255, 255, 0.1) 77%
);
background-blend-mode: ;
box-shadow: 0px 4px 24px 1px rgba(0, 0, 0, 0.28);
transition: background-color 300ms ease-out;
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
margin-top: 50px;
padding-top: 20px;
padding-bottom: 20px;
margin-left: 500px;
margin-right: 500px;
}
p:hover {
background-color: rgba(0, 0, 0, 1);
}
.btn {
text-align: center;
background: #474973;
border-radius: 28px;
color: #F1DAC4;
font-size: 30px;
padding: 10px 20px 10px 20px;
text-decoration: none;
align-content: center;
}
.btn:hover {
background-color: rgba(0, 0, 0, 1);
}
p.centerB {
text-align: center;
border: 0px solid rgba(100, 100, 100, 0);
border-radius: 45px;
background: linear-gradient(
50deg,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0) 0%
);
background-blend-mode: ;
box-shadow: 0px 4px 24px 1px rgba(0, 0, 0, 0);
transition: background-color 300ms ease-out;
backdrop-filter: blur(0px);
-webkit-backdrop-filter: blur(0px);
margin-top: 50px;
padding-top: 10px;
padding-bottom: 10px;
margin-left: 400px;
margin-right: 400px;
}
input.submitB{
text-align: center;
background: #474973;
border-radius: 28px;
color: #F1DAC4;
font-size: 30px;
padding: 10px 20px 10px 20px;
text-decoration: none;
align-content: center;
}
...@@ -17,12 +17,17 @@ ...@@ -17,12 +17,17 @@
{% endblock %} {% endblock %}
{% block footing %} {% block footing %}
<a href="{% url 'widget_calendar:event-add' %}"> <p class="centerB">
<a href="{% url 'widget_calendar:event-add' %}">
<button class="btn add">New Activity</button><br> <button class="btn add">New Activity</button><br>
</a> </a>
</p>
<p>
<a href="/dashboard/">Dashboard</a><br>
<a href="/announcements/">Announcements</a><br>
<a href="/forum/">Forum</a><br>
<a href="/assignments/">Assignments</a>
</p>
<a href="/dashboard/">Dashboard</a><br>
<a href="/announcements/">Announcements</a><br>
<a href="/forum/">Forum</a><br>
<a href="/assignments/">Assignments</a>
{% endblock %} {% endblock %}
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<input type="submit" value="Save New Activity"> <p class="centerB">
<input class="submitB" type="submit" value="Save New Activity">
</p>
</form> </form>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -22,7 +22,9 @@ ...@@ -22,7 +22,9 @@
{% endblock %} {% endblock %}
{% block footing %} {% block footing %}
<a href="{% url 'widget_calendar:event-edit' object.pk %}"> <p class="centerB">
<a href="{% url 'widget_calendar:event-edit' object.pk %}">
<button class="btn edit">Edit Activity</button> <button class="btn edit">Edit Activity</button>
</a> </a>
</p>
{% endblock %} {% endblock %}
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<input type="submit" value="Save New Activity"> <p class="centerB">
<input class="submitB" type="submit" value="Save New Activity">
</p>
</form> </form>
{% endblock %} {% endblock %}
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