Commit 61ba4ad1 authored by Matthew Dizon's avatar Matthew Dizon

small changes

parent c0158a29
......@@ -48,4 +48,5 @@
</form>
</div>
<a href="{% url 'home' %}"><button class="btn btn-secondary mt-3">Back</button></a>
{% endblock %}
......@@ -12,9 +12,10 @@
<script src="{% static '/bootstrap/js/bootstrap.min.js' %}"></script>
</head>
<style>
.card-header {
background-color: rgb(0, 238, 255);
background-color: #8AB4F8;
color:black;
}
......@@ -32,10 +33,14 @@
}
a:hover {
color:pink;
color:#23272B;
}
.active {
color: #23272B;
}
</style>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light mb-3 sticky-top">
<a class="navbar-brand mb-0" href="/">GrabGrub</a>
......@@ -59,13 +64,13 @@
<div class ="col-2 justify-content-left">
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link" href="/home"> View Orders </a>
<a class="nav-link {% if request.path == '/home' %} active {% endif %}" href="/home"> View Orders </a>
</li>
<li class="nav-item">
<a class="nav-link" href="/foods"> View Food Items </a>
<a class="nav-link {% if request.path == '/foods' %} active {% endif %}" href="/foods"> View Food Items </a>
</li>
<li class="nav-item">
<a class="nav-link" href="/customers"> View Customers </a>
<a class="nav-link {% if request.path == '/customers' %} active {% endif %}" href="/customers"> View Customers </a>
</li>
</ul>
</div>
......
......@@ -13,7 +13,7 @@
</ul>
</div>
<a href="{% url 'delete_customer' customer.pk %}"><button class="btn btn-danger my-4">Delete Customer</button></a>
<a href="{% url 'update_customer' customer.pk %}"><button type="submit" class="btn btn-primary">Update Customer</button></a>
<a href="{% url 'delete_customer' customer.pk %}"><button class="btn btn-danger my-4">Delete Customer</button></a>
<a href="{% url 'view_customers' %}"><button class="btn btn-secondary">Back</button></a>
{% endblock %}
\ No newline at end of file
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