2018-12-10 23:46:17 +00:00
|
|
|
<template>
|
2020-01-28 21:45:14 +00:00
|
|
|
<div class="preview-container">
|
2020-02-10 22:34:30 +00:00
|
|
|
<div class="underlay underlay-preview" />
|
2020-01-28 21:45:14 +00:00
|
|
|
<div class="panel dummy">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="title">
|
|
|
|
{{ $t('settings.style.preview.header') }}
|
|
|
|
<span class="badge badge-notification">
|
|
|
|
99
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span class="faint">
|
|
|
|
{{ $t('settings.style.preview.header_faint') }}
|
|
|
|
</span>
|
|
|
|
<span class="alert error">
|
|
|
|
{{ $t('settings.style.preview.error') }}
|
2019-07-05 07:17:44 +00:00
|
|
|
</span>
|
2020-01-28 21:45:14 +00:00
|
|
|
<button class="btn">
|
|
|
|
{{ $t('settings.style.preview.button') }}
|
|
|
|
</button>
|
2019-07-05 07:17:44 +00:00
|
|
|
</div>
|
2020-01-28 21:45:14 +00:00
|
|
|
<div class="panel-body theme-preview-content">
|
|
|
|
<div class="post">
|
2020-02-17 20:38:24 +00:00
|
|
|
<div class="avatar still-image">
|
2020-01-28 21:45:14 +00:00
|
|
|
( ͡° ͜ʖ ͡°)
|
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<h4>
|
|
|
|
{{ $t('settings.style.preview.content') }}
|
|
|
|
</h4>
|
2018-12-10 23:46:17 +00:00
|
|
|
|
2020-01-28 21:45:14 +00:00
|
|
|
<i18n path="settings.style.preview.text">
|
|
|
|
<code style="font-family: var(--postCodeFont)">
|
|
|
|
{{ $t('settings.style.preview.mono') }}
|
|
|
|
</code>
|
|
|
|
<a style="color: var(--link)">
|
|
|
|
{{ $t('settings.style.preview.link') }}
|
|
|
|
</a>
|
|
|
|
</i18n>
|
2018-12-10 23:46:17 +00:00
|
|
|
|
2020-01-28 21:45:14 +00:00
|
|
|
<div class="icons">
|
2020-10-20 19:54:43 +00:00
|
|
|
<FAIcon
|
|
|
|
fixed-width
|
2020-01-28 21:45:14 +00:00
|
|
|
style="color: var(--cBlue)"
|
2020-10-20 21:31:16 +00:00
|
|
|
class="button-icon"
|
|
|
|
icon="reply"
|
2020-01-28 21:45:14 +00:00
|
|
|
/>
|
2020-10-20 19:54:43 +00:00
|
|
|
<FAIcon
|
|
|
|
fixed-width
|
2020-01-28 21:45:14 +00:00
|
|
|
style="color: var(--cGreen)"
|
2020-10-20 21:31:16 +00:00
|
|
|
class="button-icon"
|
|
|
|
icon="retweet"
|
2020-01-28 21:45:14 +00:00
|
|
|
/>
|
2020-10-20 19:54:43 +00:00
|
|
|
<FAIcon
|
|
|
|
fixed-width
|
2020-01-28 21:45:14 +00:00
|
|
|
style="color: var(--cOrange)"
|
2020-10-20 21:31:16 +00:00
|
|
|
class="button-icon"
|
|
|
|
icon="star"
|
2020-01-28 21:45:14 +00:00
|
|
|
/>
|
2020-10-20 19:54:43 +00:00
|
|
|
<FAIcon
|
|
|
|
fixed-width
|
2020-01-28 21:45:14 +00:00
|
|
|
style="color: var(--cRed)"
|
2020-10-20 21:31:16 +00:00
|
|
|
class="button-icon"
|
|
|
|
icon="times"
|
2020-01-28 21:45:14 +00:00
|
|
|
/>
|
|
|
|
</div>
|
2019-07-05 07:17:44 +00:00
|
|
|
</div>
|
2018-12-10 23:46:17 +00:00
|
|
|
</div>
|
|
|
|
|
2020-01-28 21:45:14 +00:00
|
|
|
<div class="after-post">
|
|
|
|
<div class="avatar-alt">
|
|
|
|
:^)
|
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<i18n
|
|
|
|
path="settings.style.preview.fine_print"
|
|
|
|
tag="span"
|
|
|
|
class="faint"
|
|
|
|
>
|
|
|
|
<a style="color: var(--faintLink)">
|
|
|
|
{{ $t('settings.style.preview.faint_link') }}
|
|
|
|
</a>
|
|
|
|
</i18n>
|
|
|
|
</div>
|
2019-07-05 07:17:44 +00:00
|
|
|
</div>
|
2020-01-28 21:45:14 +00:00
|
|
|
<div class="separator" />
|
2018-12-10 23:46:17 +00:00
|
|
|
|
2020-01-28 21:45:14 +00:00
|
|
|
<span class="alert error">
|
|
|
|
{{ $t('settings.style.preview.error') }}
|
2019-07-05 07:17:44 +00:00
|
|
|
</span>
|
2020-01-28 21:45:14 +00:00
|
|
|
<input
|
|
|
|
:value="$t('settings.style.preview.input')"
|
|
|
|
type="text"
|
|
|
|
>
|
|
|
|
|
|
|
|
<div class="actions">
|
|
|
|
<span class="checkbox">
|
|
|
|
<input
|
|
|
|
id="preview_checkbox"
|
|
|
|
checked="very yes"
|
|
|
|
type="checkbox"
|
|
|
|
>
|
|
|
|
<label for="preview_checkbox">{{ $t('settings.style.preview.checkbox') }}</label>
|
|
|
|
</span>
|
|
|
|
<button class="btn">
|
|
|
|
{{ $t('settings.style.preview.button') }}
|
|
|
|
</button>
|
|
|
|
</div>
|
2019-07-05 07:17:44 +00:00
|
|
|
</div>
|
2018-12-10 23:46:17 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
2020-01-28 21:45:14 +00:00
|
|
|
|
2020-10-20 18:18:23 +00:00
|
|
|
<script>
|
|
|
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
|
|
import {
|
2020-10-20 19:54:43 +00:00
|
|
|
faTimes,
|
|
|
|
faStar,
|
|
|
|
faRetweet,
|
|
|
|
faReply
|
2020-10-20 18:18:23 +00:00
|
|
|
} from '@fortawesome/free-solid-svg-icons'
|
|
|
|
|
|
|
|
library.add(
|
2020-10-20 19:54:43 +00:00
|
|
|
faTimes,
|
|
|
|
faStar,
|
|
|
|
faRetweet,
|
|
|
|
faReply
|
2020-10-20 18:18:23 +00:00
|
|
|
)
|
|
|
|
</script>
|
|
|
|
|
2020-01-28 21:45:14 +00:00
|
|
|
<style lang="scss">
|
|
|
|
.preview-container {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.underlay-preview {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 10px;
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
</style>
|