Sharkey/packages/frontend/src/components/MkRemoteCaution.vue

26 lines
559 B
Vue
Raw Normal View History

2020-03-21 06:07:02 +02:00
<template>
<div class="jmgmzlwq _block"><i class="ti ti-alert-triangle" style="margin-right: 8px;"></i>{{ i18n.ts.remoteUserCaution }}<a class="link" :href="href" rel="nofollow noopener" target="_blank">{{ i18n.ts.showOnRemote }}</a></div>
2020-03-21 06:07:02 +02:00
</template>
2022-01-06 16:10:47 +02:00
<script lang="ts" setup>
2022-07-20 16:24:26 +03:00
import { i18n } from '@/i18n';
2022-01-06 16:10:47 +02:00
defineProps<{
href: string;
}>();
2020-03-21 06:07:02 +02:00
</script>
<style lang="scss" scoped>
.jmgmzlwq {
font-size: 0.8em;
padding: 16px;
2020-11-29 05:46:05 +02:00
background: var(--infoWarnBg);
color: var(--infoWarnFg);
2020-03-21 06:07:02 +02:00
> .link {
2020-03-21 06:07:02 +02:00
margin-left: 4px;
color: var(--accent);
}
}
</style>