2020-03-21 05:07:02 +01:00
|
|
|
<template>
|
2023-06-17 06:51:38 +02:00
|
|
|
<div class="caution _block">
|
2023-04-08 02:01:42 +02:00
|
|
|
{{ i18n.ts.remoteUserCaution
|
|
|
|
}}<a
|
|
|
|
class="link"
|
|
|
|
:href="href"
|
|
|
|
rel="nofollow noopener"
|
|
|
|
target="_blank"
|
|
|
|
>{{ i18n.ts.showOnRemote }}</a
|
|
|
|
>
|
|
|
|
</div>
|
2020-03-21 05:07:02 +01:00
|
|
|
</template>
|
|
|
|
|
2022-01-06 15:10:47 +01:00
|
|
|
<script lang="ts" setup>
|
2023-04-08 02:01:42 +02:00
|
|
|
import { i18n } from "@/i18n";
|
2022-07-20 15:24:26 +02:00
|
|
|
|
2022-01-06 15:10:47 +01:00
|
|
|
defineProps<{
|
|
|
|
href: string;
|
|
|
|
}>();
|
2020-03-21 05:07:02 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2023-06-17 06:51:38 +02:00
|
|
|
.caution {
|
2020-03-21 05:07:02 +01:00
|
|
|
padding: 16px;
|
2022-12-16 19:21:10 +01:00
|
|
|
font-size: 90%;
|
|
|
|
background: var(--infoWarnBg);
|
|
|
|
color: var(--infoWarnFg);
|
|
|
|
border-radius: var(--radius);
|
2020-03-21 05:07:02 +01:00
|
|
|
|
2022-07-05 16:13:28 +02:00
|
|
|
> .link {
|
2020-03-21 05:07:02 +01:00
|
|
|
margin-left: 4px;
|
|
|
|
color: var(--accent);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|