Added go back button

This commit is contained in:
Justin Parsell 2020-12-07 02:47:57 -05:00
parent 949a4b2cf5
commit 32b6c33628
3 changed files with 16 additions and 6 deletions

View File

@ -17,8 +17,9 @@
<p class="subtitle has-text-centered has-text-weight-light">Access to resource forbidden</p> <p class="subtitle has-text-centered has-text-weight-light">Access to resource forbidden</p>
<div class="is-divider"></div> <div class="is-divider"></div>
<p class="buttons is-centered"> <p class="buttons is-centered">
<button class="button is-rounded" onclick="goBack()"><i class="fas fa-chevron-left fa-lg"></i>&nbsp;&nbsp;Go back</button>
<a href="/" class="button is-rounded"> <a href="/" class="button is-rounded">
<i class="fas fa-arrow-left fa-lg"></i>&nbsp;&nbsp;Return to homepage <i class="fas fa-chevron-up fa-lg"></i>&nbsp;&nbsp;Return to homepage
</a> </a>
</p> </p>
</div> </div>

View File

@ -17,8 +17,9 @@
<p class="subtitle has-text-centered has-text-weight-light">Resource not found</p> <p class="subtitle has-text-centered has-text-weight-light">Resource not found</p>
<div class="is-divider"></div> <div class="is-divider"></div>
<p class="buttons is-centered"> <p class="buttons is-centered">
<button class="button is-rounded" onclick="goBack()"><i class="fas fa-chevron-left fa-lg"></i>&nbsp;&nbsp;Go back</button>
<a href="/" class="button is-rounded"> <a href="/" class="button is-rounded">
<i class="fas fa-arrow-left fa-lg"></i>&nbsp;&nbsp;Return to homepage <i class="fas fa-chevron-up fa-lg"></i>&nbsp;&nbsp;Return to homepage
</a> </a>
</p> </p>
</div> </div>

View File

@ -17,8 +17,9 @@
<p class="subtitle has-text-centered has-text-weight-light">Internal Server Error</p> <p class="subtitle has-text-centered has-text-weight-light">Internal Server Error</p>
<div class="is-divider"></div> <div class="is-divider"></div>
<p class="buttons is-centered"> <p class="buttons is-centered">
<button class="button is-rounded" onclick="goBack()"><i class="fas fa-chevron-left fa-lg"></i>&nbsp;&nbsp;Go back</button>
<a href="/" class="button is-rounded"> <a href="/" class="button is-rounded">
<i class="fas fa-arrow-left fa-lg"></i>&nbsp;&nbsp;Return to homepage <i class="fas fa-chevron-up fa-lg"></i>&nbsp;&nbsp;Return to homepage
</a> </a>
</p> </p>
</div> </div>
@ -26,5 +27,12 @@
</div> </div>
</div> </div>
</section> </section>
<footer>
<script>
function goBack() {
window.history.back();
}
</script>
</footer>
</body> </body>
</html> </html>