🛂 Adds warning msg, for when config disabled (#455)

This commit is contained in:
Alicia Sykes 2022-02-12 20:39:44 +00:00
parent c8ad80b79c
commit 20f231c632
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
<template>
<div class="error">
<p>
Error: Configuration has been disabled on this instance.
Please contact your administrator for more information.
</p>
</div>
</template>
<script>
import ErrorHandler from '@/utils/ErrorHandler';
export default {
name: 'AccessError',
mounted() {
ErrorHandler('Access Error: Config has been disabled on this instance');
},
};
</script>
<style scoped lang="scss">
.error {
padding: 0.5rem 1rem;
min-width: 20rem;
width: 50%;
margin: 2rem auto;
cursor: default;
text-align: center;
font-weight: bold;
font-size: 1.2rem;
color: var(--warning);
border-radius: var(--curve-factor);
border: 1px dashed var(--warning);
background: var(--background);
}
</style>