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

small changes

parent c0158a29
...@@ -48,4 +48,5 @@ ...@@ -48,4 +48,5 @@
</form> </form>
</div> </div>
<a href="{% url 'home' %}"><button class="btn btn-secondary mt-3">Back</button></a>
{% endblock %} {% endblock %}
...@@ -12,9 +12,10 @@ ...@@ -12,9 +12,10 @@
<script src="{% static '/bootstrap/js/bootstrap.min.js' %}"></script> <script src="{% static '/bootstrap/js/bootstrap.min.js' %}"></script>
</head> </head>
<style> <style>
.card-header { .card-header {
background-color: rgb(0, 238, 255); background-color: #8AB4F8;
color:black; color:black;
} }
...@@ -32,10 +33,14 @@ ...@@ -32,10 +33,14 @@
} }
a:hover { a:hover {
color:pink; color:#23272B;
} }
.active {
color: #23272B;
}
</style> </style>
<body> <body>
<nav class="navbar navbar-expand-lg navbar-light bg-light mb-3 sticky-top"> <nav class="navbar navbar-expand-lg navbar-light bg-light mb-3 sticky-top">
<a class="navbar-brand mb-0" href="/">GrabGrub</a> <a class="navbar-brand mb-0" href="/">GrabGrub</a>
...@@ -59,13 +64,13 @@ ...@@ -59,13 +64,13 @@
<div class ="col-2 justify-content-left"> <div class ="col-2 justify-content-left">
<ul class="nav flex-column"> <ul class="nav flex-column">
<li class="nav-item"> <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>
<li class="nav-item"> <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>
<li class="nav-item"> <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> </li>
</ul> </ul>
</div> </div>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</ul> </ul>
</div> </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 '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> <a href="{% url 'view_customers' %}"><button class="btn btn-secondary">Back</button></a>
{% endblock %} {% 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