Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding missing files in static and dynamic express tests
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
html | ||
head | ||
title Sample order #{id} | ||
link(rel='stylesheet', href = '/style.css') | ||
body | ||
table | ||
tr | ||
th Item | ||
th Price | ||
- for (var i in details) | ||
tr | ||
td.name #{details[i].name} | ||
td.price #{details[i].price.toFixed(2)} | ||
tr | ||
td.summary Subtotal: | ||
td.summary.price #{subtotal.toFixed(2)} | ||
tr | ||
td.summary Shipping & handling: | ||
td.summary.price #{handling.toFixed(2)} | ||
tr | ||
td.summary Tax: | ||
td.summary.price #{tax.toFixed(2)} | ||
tr | ||
td.summary Total: | ||
td.summary.price #{total.toFixed(2)} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
body | ||
{ | ||
font-family: Arial; | ||
} | ||
th | ||
{ | ||
background: Green; | ||
text-align: left; | ||
} | ||
td.price | ||
{ | ||
text-align: right; | ||
} | ||
td.summary | ||
{ | ||
font-weight: bold; | ||
text-align: right; | ||
} |