2020-03-21 13:07:02 +09:00
|
|
|
<template>
|
|
|
|
<div class="jmgmzlwq _panel"><fa :icon="faExclamationTriangle" style="margin-right: 8px;"/>{{ $t('remoteUserCaution') }}<a :href="href" rel="nofollow noopener" target="_blank">{{ $t('showOnRemote') }}</a></div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue';
|
2020-03-21 13:10:44 +09:00
|
|
|
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
|
2020-03-21 13:07:02 +09:00
|
|
|
import i18n from '../i18n';
|
2020-03-21 13:10:44 +09:00
|
|
|
|
2020-03-21 13:07:02 +09:00
|
|
|
export default Vue.extend({
|
|
|
|
i18n,
|
|
|
|
props: {
|
|
|
|
href: {
|
|
|
|
type: String,
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
},
|
2020-03-21 13:10:44 +09:00
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
faExclamationTriangle
|
|
|
|
};
|
|
|
|
}
|
2020-03-21 13:07:02 +09:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.jmgmzlwq {
|
|
|
|
font-size: 0.8em;
|
|
|
|
padding: 16px;
|
|
|
|
|
|
|
|
> a {
|
|
|
|
margin-left: 4px;
|
|
|
|
color: var(--accent);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|