diff --git a/cmd/http/views/index.hbs b/cmd/http/views/index.hbs index 7bbcd52..6e52088 100644 --- a/cmd/http/views/index.hbs +++ b/cmd/http/views/index.hbs @@ -1,5 +1,6 @@ +
@@ -11,11 +12,13 @@ padding: 0; background-color: #f4f4f4; } + .container { width: 80%; margin: auto; overflow: hidden; } + header { background: #50b3a2; color: white; @@ -23,37 +26,46 @@ min-height: 70px; border-bottom: #e8491d 3px solid; } + header a { color: #ffffff; text-decoration: none; text-transform: uppercase; font-size: 16px; } + header li { float: left; display: inline; padding: 0 20px 0 20px; } + header #branding { float: left; } + header #branding h1 { margin: 0; } + header nav { float: right; margin-top: 10px; } - header .highlight, header .current a { + + header .highlight, + header .current a { color: #e8491d; font-weight: bold; } + header a:hover { color: #cccccc; font-weight: bold; } +The endpoint will return a JSON response with the following fields:
-
@@ -163,8 +168,12 @@
The response from the /order endpoint is an HTML page that should be displayed to the user. This can be done by embedding the response in an iframe, loading it in a new browser window or tab, or by replacing the current page with the response HTML.
-Please note that the exact method of displaying the response will depend on the specifics of your application and its user interface.
+The response from the /order endpoint is an HTML page that should be displayed to the user. This can be done + by embedding the response in an iframe, loading it in a new browser window or tab, or by replacing the + current page with the response HTML.
+Please note that the exact method of displaying the response will depend on the specifics of your application + and its user interface.