Skip to content

Commit

Permalink
styling for driversorder
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Sebenaler authored and Joe Sebenaler committed Dec 10, 2021
1 parent c6645ca commit 32f6c24
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
Binary file modified DormDash/__pycache__/settings.cpython-310.pyc
Binary file not shown.
Binary file modified DormDashApp/__pycache__/urls.cpython-310.pyc
Binary file not shown.
28 changes: 17 additions & 11 deletions DormDashApp/templates/driverorders.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@
<body>

<table style=" margin-left:auto;margin-right:auto;margin-top: 10%;">
<tr >
<td valign="center" style="width: 300px">
<h6>Select An Order to Deliver For!</h6>
<tr style='font-family: Lobster;'>
<td align="center" style="width: 600px; font-size: 80px;">
<h6 style='font-size: 400%;margin-left:auto;margin-right:auto;margin-top: 10%;'></h6>Select An Order to Deliver For!</h6>
<form method="POST" action="">
{% csrf_token %}
<table>
<tr>
<th>Order</th>
<th>Submit</th>
<table style= "margin-left:auto;margin-right:auto;margin-top: 10%;">
<tr align="center">
<th style ='font-size: 50px;'>Order</th>
<th style ='font-size: 50px;'>Submit</th>
</tr>
{% for entry in ordersList %}
{% for name, value in entry.get_fields %}
{% if name == "campus" %}
<tr>
<td>{{name}} : {{value}}</td>
<td> <a href = '/orderdetails' class="btn btn-primary">Select Order </a>
<tr align="center">
<td style='font-size: 60px;'>{{name}}: {{value}}</td>
<td> <a href = '/orderdetails' style='background-color:white;color:red;width:200px;height: 80px;'type="button_css">Select Order </a>
</td>
</tr>
{% endif %}
Expand All @@ -57,4 +57,10 @@ <h6>Select An Order to Deliver For!</h6>
}
</script>-->
{% endblock %}
{% endblock %}
.button_css{
background-color: red;
color:white;
width:150px;
height;40px;
}
Binary file modified db.sqlite3
Binary file not shown.

0 comments on commit 32f6c24

Please sign in to comment.