Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
project-1-Wang-Alec-185292
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alec
project-1-Wang-Alec-185292
Commits
3d421e20
Commit
3d421e20
authored
Mar 18, 2020
by
Alec Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added 12 templates
parent
f7a56c0b
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
766 additions
and
2 deletions
+766
-2
ingredients_create_form.html
thegoodplace/froyo/templates/ingredients_create_form.html
+52
-0
ingredients_detail.html
thegoodplace/froyo/templates/ingredients_detail.html
+45
-0
ingredients_list.html
thegoodplace/froyo/templates/ingredients_list.html
+61
-0
ingredients_update_form.html
thegoodplace/froyo/templates/ingredients_update_form.html
+49
-0
orders_create_form.html
thegoodplace/froyo/templates/orders_create_form.html
+66
-0
orders_detail.html
thegoodplace/froyo/templates/orders_detail.html
+56
-0
orders_list.html
thegoodplace/froyo/templates/orders_list.html
+106
-0
orders_update_form.html
thegoodplace/froyo/templates/orders_update_form.html
+63
-0
recipes_create_form.html
thegoodplace/froyo/templates/recipes_create_form.html
+67
-0
recipes_detail.html
thegoodplace/froyo/templates/recipes_detail.html
+50
-0
recipes_list.html
thegoodplace/froyo/templates/recipes_list.html
+88
-0
recipes_update_form.html
thegoodplace/froyo/templates/recipes_update_form.html
+62
-0
functional_test.py
thegoodplace/functional_test.py
+1
-2
No files found.
thegoodplace/froyo/templates/ingredients_create_form.html
0 → 100644
View file @
3d421e20
<!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
thegoodplace/froyo/templates/ingredients_detail.html
0 → 100644
View file @
3d421e20
<!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
thegoodplace/froyo/templates/ingredients_list.html
0 → 100644
View file @
3d421e20
<!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
thegoodplace/froyo/templates/ingredients_update_form.html
0 → 100644
View file @
3d421e20
<!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
thegoodplace/froyo/templates/orders_create_form.html
0 → 100644
View file @
3d421e20
<!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
thegoodplace/froyo/templates/orders_detail.html
0 → 100644
View file @
3d421e20
<!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
thegoodplace/froyo/templates/orders_list.html
0 → 100644
View file @
3d421e20
<!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
thegoodplace/froyo/templates/orders_update_form.html
0 → 100644
View file @
3d421e20
<!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
thegoodplace/froyo/templates/recipes_create_form.html
0 → 100644
View file @
3d421e20
<!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
thegoodplace/froyo/templates/recipes_detail.html
0 → 100644
View file @
3d421e20
<!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
thegoodplace/froyo/templates/recipes_list.html
0 → 100644
View file @
3d421e20
<!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
thegoodplace/froyo/templates/recipes_update_form.html
0 → 100644
View file @
3d421e20
<!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
thegoodplace/functional_test.py
View file @
3d421e20
...
...
@@ -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
.
sl
Recipes
time
.
sl
eep
(
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__'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment