frontend: add footer (session id + request id)

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-07-02 16:11:58 -07:00
parent 6a5ba2a51d
commit 2f5cbd5eee
2 changed files with 47 additions and 25 deletions

View file

@ -1,4 +1,20 @@
{{ define "footer" }}
<footer class="py-5 px-5">
<div class="container">
<p>&copy; 2018 Google Inc</p>
<p>
<small class="text-muted">
This website is hosted for demo purposes only. It is not an
actual shop. This is not an official Google project.
</small>
</p>
<small class="text-muted">
{{ if $.session_id }}session-id: {{ $.session_id }}</br>{{end}}
{{ if $.request_id }}request-id: {{ $.request_id }}</br>{{end}}
</small>
</div>
</footer>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
</body>
</html>