Commit 66024726 authored by Willard's avatar Willard

Minor layout changes

parent 9961681f
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
{% block title %}Landing Page{% endblock %} {% block title %}Landing Page{% endblock %}
{% block content %} {% block content %}
<div class="dashboard-row">
<a href="/login"><button class="link-button">Login</button></a> <a href="/login"><button class="link-button">Login</button></a>
<a href="/register"><button class="link-button">Register</button></a> <a href="/register"><button class="link-button">Register</button></a>
</div>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</div> </div>
<div class="list-info"> <div class="list-info">
<span class="list-name">{{dish.name}}</span> <span class="list-name">{{dish.name}}</span>
<span class="list-price">Php{{dish.price}}</span> <span class="list-price">Php {{dish.price|int}}</span>
<div> <div>
<a href="{{ url_for('edit_dish', stall_id=stall.id, dish_id=dish.id) }}"><button class="list-button">Edit</button></a> <a href="{{ url_for('edit_dish', stall_id=stall.id, dish_id=dish.id) }}"><button class="list-button">Edit</button></a>
<form action="{{ url_for('delete_dish', stall_id=stall.id, dish_id=dish.id) }}" method="POST" onsubmit="return confirm('Are you sure you want to delete {{dish.name}}')"> <form action="{{ url_for('delete_dish', stall_id=stall.id, dish_id=dish.id) }}" method="POST" onsubmit="return confirm('Are you sure you want to delete {{dish.name}}')">
......
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