unauthorized.vue 767 B

123456789101112131415161718192021222324252627282930313233
  1. <template lang='pug'>
  2. v-app
  3. .unauthorized
  4. .unauthorized-content
  5. img.animated.fadeIn(src='/_assets/svg/icon-delete-shield.svg', alt='Unauthorized')
  6. .headline {{$t('unauthorized.title')}}
  7. .subtitle-1.mt-3 {{$t('unauthorized.action.' + action)}}
  8. v-btn.mt-5(href='/login', x-large)
  9. v-icon(left) mdi-login
  10. span {{$t('unauthorized.login')}}
  11. v-btn.mt-5(color='red lighten-4', href='javascript:window.history.go(-1);', outlined)
  12. v-icon(left) mdi-arrow-left
  13. span {{$t('unauthorized.goback')}}
  14. </template>
  15. <script>
  16. export default {
  17. props: {
  18. action: {
  19. type: String,
  20. default: 'view'
  21. }
  22. },
  23. data() {
  24. return { }
  25. }
  26. }
  27. </script>
  28. <style lang='scss'>
  29. </style>