Initial prettier formatted files
This commit is contained in:
@@ -1,19 +1,15 @@
|
||||
<template>
|
||||
<div class="page page-error">
|
||||
<img
|
||||
src="~static/icons/error.svg"
|
||||
:alt="$t('error')"
|
||||
class="error_banner"
|
||||
/>
|
||||
<img src="~static/icons/error.svg" :alt="$t('error')" class="error_banner" />
|
||||
<h2>{{ error.statusCode }}</h2>
|
||||
<h3>{{ error.message }}</h3>
|
||||
<p>
|
||||
<nuxt-link to="/">
|
||||
<button>{{ $t("go_home") }}</button>
|
||||
<button>{{ $t('go_home') }}</button>
|
||||
</nuxt-link>
|
||||
</p>
|
||||
<p>
|
||||
<a href @click.prevent="reloadApplication">{{ $t("reload") }}</a>
|
||||
<a href @click.prevent="reloadApplication">{{ $t('reload') }}</a>
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
@@ -35,20 +31,20 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ["error"],
|
||||
props: ['error'],
|
||||
|
||||
methods: {
|
||||
reloadApplication() {
|
||||
this.$router.push("/", () => window.location.reload());
|
||||
}
|
||||
this.$router.push('/', () => window.location.reload())
|
||||
},
|
||||
},
|
||||
|
||||
head() {
|
||||
return {
|
||||
bodyAttrs: {
|
||||
class: "sticky-footer"
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
class: 'sticky-footer',
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user