Commit 3d421e20 authored by Alec Wang's avatar Alec Wang

added 12 templates

parent f7a56c0b
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Ingredients - Create</title>
<style>
table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
}
th,
td {
padding: 15px;
text-align: center;
}
</style>
</head>
<body>
<header>
Ingredients - Create
</header>
<table style="width:40%">
<tr>
<th colspan="2">Inventory</th>
</tr>
<tr>
<th>Ingredient</th>
<th>Qty On Hand</th>
</tr>
<tr>
<td>
<div contenteditable></div>
</td>
<td>
<div contenteditable></div>
</td>
<td>
<button><a href="">create</a></button>
</td>
</tr>
</table>
<br>
<ul><a href={% url "home" %}>Go Home</a></ul>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ingredients - Detail</title>
<style>
table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
}
th,
td {
padding: 15px;
text-align: center;
}
</style>
</head>
<body>
<header>
Ingredients - Detail
</header>
<table style="width:40%">
<tr>
<th colspan="2">Inventory</th>
</tr>
<tr>
<th>Ingredient</th>
<th>Qty On Hand</th>
</tr>
<tr>
<td>Coconuts</td>
<td>12</td>
</tr>
</table>
<br>
<ul><a href={% url "home" %}>Go Home</a></ul>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Ingredients - List</title>
<style>
table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
}
th,
td {
padding: 15px;
text-align: center;
}
</style>
</head>
<body>
<header>
Ingredients - List
</header>
<table style="width:40%">
<tr>
<th colspan="2">Inventory</th>
</tr>
<tr>
<th>Ingredient</th>
<th>Qty On Hand</th>
</tr>
<tr>
<td>Coconuts</td>
<td>12</td>
</tr>
<tr>
<td>Bananas</td>
<td>4</td>
</tr>
<tr>
<td>Strawberries</td>
<td>7</td>
</tr>
<tr>
<td>Bat Wings</td>
<td>8</td>
</tr>
<tr>
<td>Peanuts</td>
<td>11</td>
</tr>
</table>
<br>
<ul><a href={% url "home" %}>Go Home</a></ul>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
}
th,
td {
padding: 15px;
text-align: center;
}
</style>
</head>
<body>
<header>
Ingredients - Update
</header>
<table style="width:40%">
<tr>
<th colspan="2">Inventory</th>
</tr>
<tr>
<th>Ingredient</th>
<th>Qty On Hand</th>
</tr>
<tr>
<td>
<div contenteditable>Coconuts</div>
</td>
<td>
<div contenteditable>12</div>
</td>
</tr>
</table>
<br>
<ul><a href={% url "home" %}>Go Home</a></ul>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Orders - Create</title>
<style>
table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
}
th,
td {
padding: 15px;
text-align: center;
}
</style>
</head>
<body>
<header>
Orders - Create
</header>
<table style="width:40%">
<tr>
<th colspan="2">Order Slip</th>
</tr>
<tr>
<td>Customer</td>
<td>
<div contenteditable></div>
</td>
</tr>
<tr>
<td>Size</td>
<td>
<div contenteditable></div>
</td>
</tr>
<tr>
<td>Base Recipe</td>
<td>
<div contenteditable></div>
</td>
</tr>
<tr>
<td>Customization</td>
<td>
<div contenteditable></div><br>
<div contenteditable></div>
</td>
<td>
<button><a href="">create</a></button>
</td>
</tr>
</table>
<br>
<ul><a href={% url "home" %}>Go Home</a></ul>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Orders - Detail</title>
<style>
table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
}
th,
td {
padding: 15px;
text-align: center;
}
</style>
</head>
<body>
<header>
Orders - Detail
</header>
<table style="width:40%">
<tr>
<th colspan="2">Order Slip</th>
</tr>
<tr>
<td>Customer</td>
<td>Krystel</td>
</tr>
<tr>
<td>Size</td>
<td>Venti (20 oz)</td>
</tr>
<tr>
<td>Base Recipe</td>
<td>Dark Muffin</td>
</tr>
<tr>
<td>Customization</td>
<td>
3 extra slice of bacon<br>8 sprinkles of yellow salt
</td>
</tr>
</table>
<br>
<ul><a href={% url "home" %}>Go Home</a></ul>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Orders List</title>
<style>
table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
}
th,
td {
padding: 15px;
text-align: center;
}
</style>
</head>
<body>
<header>
Orders - List
</header>
<table style="width:40%">
<tr>
<th colspan="2">Order Slip</th>
</tr>
<tr>
<td>Customer</td>
<td>Krystel</td>
</tr>
<tr>
<td>Size</td>
<td>Venti (20 oz)</td>
</tr>
<tr>
<td>Base Recipe</td>
<td>Dark Muffin</td>
</tr>
<tr>
<td>Customization</td>
<td>
3 extra slice of bacon<br>8 sprinkles of yellow salt
</td>
</tr>
</table>
<br>
<table style="width:40%">
<tr>
<th colspan="2">Order Slip</th>
</tr>
<tr>
<td>Customer</td>
<td>Amy</td>
</tr>
<tr>
<td>Size</td>
<td>Light (4 oz)</td>
</tr>
<tr>
<td>Base Recipe</td>
<td>Mint Muffin</td>
</tr>
<tr>
<td>Customization</td>
<td>
1 extra slice of mint<br>3 sprinkles of red stripe
</td>
</tr>
</table>
<br>
<table style="width:40%">
<tr>
<th colspan="2">Order Slip</th>
</tr>
<tr>
<td>Customer</td>
<td>Juul</td>
</tr>
<tr>
<td>Size</td>
<td>Supreme (16 oz)</td>
</tr>
<tr>
<td>Base Recipe</td>
<td>Black Muffin</td>
</tr>
<tr>
<td>Customization</td>
<td>
1 extra slice of bacon<br>3 sprinkles of yellow salt
</td>
</tr>
</table>
<br>
<ul><a href={% url "home" %}>Go Home</a></ul>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Orders - Update</title>
<style>
table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
}
th,
td {
padding: 15px;
text-align: center;
}
</style>
</head>
<body>
<header>
Orders - Update
</header>
<table style="width:40%">
<tr>
<th colspan="2">Order Slip</th>
</tr>
<tr>
<td>Customer</td>
<td>
<div contenteditable>Krystel</div>
</td>
</tr>
<tr>
<td>Size</td>
<td>
<div contenteditable>Venti (20 oz)</div>
</td>
</tr>
<tr>
<td>Base Recipe</td>
<td>
<div contenteditable>Dark Muffin</div>
</td>
</tr>
<tr>
<td>Customization</td>
<td>
<div contenteditable>3 extra slice of bacon</div><br>
<div contenteditable>8 sprinkles of yellow salt</div>
</td>
</tr>
</table>
<br>
<ul><a href={% url "home" %}>Go Home</a></ul>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Recipes - Create</title>
<style>
table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
}
th,
td {
padding: 15px;
text-align: center;
}
</style>
</head>
<body>
<header>
Recipes - Create
</header>
<table style="width:40%">
<tr>
<th colspan="2">
<div contenteditable>Recipe: </div>
</th>
</tr>
<tr>
<td>
<div contenteditable>Strawberries</div>
</td>
<td>
<div contenteditable>4</div>
</td>
</tr>
<tr>
<td>
<div contenteditable>Bat Wings</div>
</td>
<td>
<div contenteditable>6</div>
</td>
</tr>
<tr>
<td>
<div contenteditable>Peanuts</div>
</td>
<td>
<div contenteditable>3</div>
</td>
<td>
<button><a href="">create</a></button>
</td>
</tr>
</table>
<br>
<ul><a href={% url "home" %}>Go Home</a></ul>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Recipes - Detail</title>
<style>
table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
}
th,
td {
padding: 15px;
text-align: center;
}
</style>
</head>
<body>
<header>
Recipes - Detail
</header>
<table style="width:40%">
<tr>
<th colspan="2">Recipe: Black Muffin Supreme</th>
</tr>
<tr>
<td>Strawberries</td>
<td>14</td>
</tr>
<tr>
<td>Bat Wings</td>
<td>16</td>
</tr>
<tr>
<td>Peanuts</td>
<td>22</td>
</tr>
</table>
<br>
<ul><a href={% url "home" %}>Go Home</a></ul>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Recipes - List</title>
<style>
table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
}
th,
td {
padding: 15px;
text-align: center;
}
</style>
</head>
<body>
<header>
Recipes - List
</header>
<table style="width:40%">
<tr>
<th colspan="2">Recipe: Black Muffin</th>
</tr>
<tr>
<td>Strawberries</td>
<td>7</td>
</tr>
<tr>
<td>Bat Wings</td>
<td>8</td>
</tr>
<tr>
<td>Peanuts</td>
<td>11</td>
</tr>
</table>
<br>
<table style="width:40%">
<tr>
<th colspan="2">Recipe: Black Muffin Supreme</th>
</tr>
<tr>
<td>Strawberries</td>
<td>14</td>
</tr>
<tr>
<td>Bat Wings</td>
<td>16</td>
</tr>
<tr>
<td>Peanuts</td>
<td>22</td>
</tr>
</table>
<br>
<table style="width:40%">
<tr>
<th colspan="2">Recipe: Black Muffin Light</th>
</tr>
<tr>
<td>Strawberries</td>
<td>4</td>
</tr>
<tr>
<td>Bat Wings</td>
<td>6</td>
</tr>
<tr>
<td>Peanuts</td>
<td>2</td>
</tr>
</table>
<br>
<ul><a href={% url "home" %}>Go Home</a></ul>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Recipes - Update</title>
<style>
table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
}
th,
td {
padding: 15px;
text-align: center;
}
</style>
</head>
<body>
<header>
Recipes - Update
</header>
<table style="width:40%">
<tr>
<th colspan="2">Recipe: Black Muffin Light</th>
</tr>
<tr>
<td>
<div contenteditable>Strawberries</div>
</td>
<td>
<div contenteditable>4</div>
</td>
</tr>
<tr>
<td>
<div contenteditable>Bat Wings</div>
</td>
<td>
<div contenteditable>6</div>
</td>
</tr>
<tr>
<td>
<div contenteditable>Peanuts</div>
</td>
<td>
<div contenteditable>3</div>
</td>
</tr>
</table>
<br>
<ul><a href={% url "home" %}>Go Home</a></ul>
</body>
</html>
\ No newline at end of file
......@@ -49,7 +49,7 @@ class UserTest(unittest.TestCase):
self.assertIn('Orders - List', self.browser.page_source)
time.sleep(1)
self.browser.find_element_by_link_text("Go Home").click()
time.slRecipes
time.sleep(1)
self.browser.find_element_by_link_text("Orders - Update").click()
time.sleep(1)
......@@ -101,7 +101,6 @@ class UserTest(unittest.TestCase):
time.sleep(1)
self.assertIn('Home Directory', self.browser.title)
self.fail('Finish the test!')
if __name__ == '__main__':
......
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