Add footer refs to UI for session & request id

This commit is contained in:
David Mailhot 2020-10-08 14:40:54 -07:00
parent fee184176f
commit 6db0f64b02

View file

@ -19,8 +19,14 @@
<footer class="py-5"> <footer class="py-5">
<div class="footer-top"> <div class="footer-top">
<div class="container footer-social"> <div class="container footer-social">
<p class="footer-text">© 2020 Google Inc (<a href="https://github.com/GoogleCloudPlatform/microservices-demo">Source Code</a>) — </p> <p class="footer-text">© 2020 Google Inc (<a href="https://github.com/GoogleCloudPlatform/microservices-demo">Source Code</a>) — </p>
<p class="footer-text"> This website is hosted for demo purposes only. It is not an actual shop. This is not a Google product.</p> <p class="footer-text"> This website is hosted for demo purposes only. It is not an actual shop. This is not a Google product.</p>
<div class="footer-text">
<small>
{{ if $.session_id }}session-id: {{ $.session_id }}</br>{{end}}
{{ if $.request_id }}request-id: {{ $.request_id }}</br>{{end}}
</small>
</div>
</div> </div>
</div> </div>
@ -31,4 +37,4 @@
</body> </body>
</html> </html>
{{ end }} {{ end }}