58 lines
2.2 KiB
HTML
Executable File
58 lines
2.2 KiB
HTML
Executable File
<!--
|
|
Copyright 2020 Google LLC
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
{{ define "order" }}
|
|
{{ template "header" . }}
|
|
<div {{ with $.platform_css }} class="{{.}}" {{ end }}>
|
|
<span class="platform-flag">
|
|
{{$.platform_name}}
|
|
</span>
|
|
</div>
|
|
<main role="main" class="order">
|
|
<div class="py-5">
|
|
<div class="container py-3 px-lg-5">
|
|
<div class="row mt-5 py-2">
|
|
<div class="col text-center">
|
|
<img class="order-logo" src="/static/icons/Hipster_HeroLogoCyan.svg" alt="icon" />
|
|
<h3>
|
|
Your order is complete!
|
|
</h3>
|
|
<p>Order Confirmation ID</p>
|
|
<p class="mg-bt"><strong>{{.order.OrderId}}</strong></p>
|
|
<p>Shipping Tracking ID</p>
|
|
<p class="mg-bt"><strong>{{.order.ShippingTrackingId}}</strong></p>
|
|
<p>Shipping Cost</p>
|
|
<p class="mg-bt"><strong>{{renderMoney .order.ShippingCost}}</strong></p>
|
|
<p>Total Paid</p>
|
|
<p class="mg-bt"><strong>{{renderMoney .total_paid}}</strong></p>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="container py-3 px-lg-5">
|
|
<div class="row py-2 text-center">
|
|
<a class="btn btn-info" href="/" role="button" style="margin-top: 40px; margin-bottom: 40px;">Keep Browsing</a>
|
|
</div>
|
|
</div>
|
|
{{ if $.recommendations }}
|
|
{{ template "recommendations" $.recommendations }}
|
|
{{ end }}
|
|
</div>
|
|
</main>
|
|
|
|
{{ template "footer" . }}
|
|
{{ end }}
|