Skip to content
Snippets Groups Projects
PageNotFound.vue 976 B
Newer Older
  • Learn to ignore specific revisions
  • <template>
    
    Bat's avatar
    Bat committed
      <div class="main pusher" v-title="'Page Not Found'">
    
        <div class="ui vertical stripe segment">
          <div class="ui text container">
            <h1 class="ui huge header">
              <i class="warning icon"></i>
              <div class="content">
    
                <strike><translate>Whale') }}</strike> {{ $gettext('Page not found!</translate>
    
            <p><translate>We're sorry, the page you asked for does not exist:</translate></p>
    
    Eliot Berriot's avatar
    Eliot Berriot committed
            <a :href="path">{{ path }}</a>
            <div class="ui hidden divider"></div>
    
            <router-link class="ui icon button" to="/">
    
              <translate>Go to home page</translate>
    
              <i class="right arrow icon"></i>
            </router-link>
          </div>
        </div>
      </div>
    </template>
    
    <script>
    export default {
      data: function () {
        return {
          path: window.location.href
        }
      }
    }
    </script>
    
    <!-- Add "scoped" attribute to limit CSS to this component only -->
    <style scoped>
    </style>