mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-02 19:42:51 +08:00
style: expand client templates and preserve CSS rule order
This commit is contained in:
1 parent
f18fa63001
commit
4ef7ec5ee3
25 files changed
+15058
-1688
No files matched your search
@@ -1,32 +1,112 @@
|
||||
<template>
|
||||
<header class="join-header" data-ws-part="home.header">
|
||||
<div class="brand-lockup" data-ws-part="home.brand">
|
||||
<img class="brand-mark" src="/网站图标.jpg" alt="WebSpeak" />
|
||||
<header
|
||||
class="join-header"
|
||||
data-ws-part="home.header"
|
||||
>
|
||||
<div
|
||||
class="brand-lockup"
|
||||
data-ws-part="home.brand"
|
||||
>
|
||||
<img
|
||||
class="brand-mark"
|
||||
src="/网站图标.jpg"
|
||||
alt="WebSpeak"
|
||||
/>
|
||||
<div>
|
||||
<strong :title="brandName">{{ brandName }}</strong>
|
||||
<small>{{ t('browserWorkspace') }}</small>
|
||||
<small>{{ t("browserWorkspace") }}</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header-tools" data-ws-part="home.header-tools">
|
||||
<div class="header-note" data-ws-part="home.gateway-status"><span class="tiny-dot"></span> {{ t('secureGateway') }}</div>
|
||||
<a class="github-button" href="https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak" target="_blank" rel="noreferrer" :title="t('githubRepository')" :aria-label="t('githubRepository')">
|
||||
<Icon name="github" :size="18" /><span>{{ t('githubRepository') }}</span>
|
||||
<div
|
||||
class="header-tools"
|
||||
data-ws-part="home.header-tools"
|
||||
>
|
||||
<div
|
||||
class="header-note"
|
||||
data-ws-part="home.gateway-status"
|
||||
><span class="tiny-dot"></span> {{ t("secureGateway") }}</div
|
||||
>
|
||||
<a
|
||||
class="github-button"
|
||||
href="https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
:title="t('githubRepository')"
|
||||
:aria-label="t('githubRepository')"
|
||||
>
|
||||
<Icon
|
||||
name="github"
|
||||
:size="18"
|
||||
/><span>{{ t("githubRepository") }}</span>
|
||||
</a>
|
||||
<button type="button" class="qq-button" :title="t('qqGroup')" :aria-label="t('qqGroup')" aria-haspopup="dialog" @click="emit('openQq')">
|
||||
<Icon name="qq" :size="18" /><span class="qq-label">{{ t('qqGroup') }}</span>
|
||||
<button
|
||||
type="button"
|
||||
class="qq-button"
|
||||
:title="t('qqGroup')"
|
||||
:aria-label="t('qqGroup')"
|
||||
aria-haspopup="dialog"
|
||||
@click="emit('openQq')"
|
||||
>
|
||||
<Icon
|
||||
name="qq"
|
||||
:size="18"
|
||||
/><span class="qq-label">{{ t("qqGroup") }}</span>
|
||||
</button>
|
||||
<a class="bilibili-button" href="https://space.bilibili.com/25414873" target="_blank" rel="noreferrer" :title="t('bilibiliProfile')" :aria-label="t('bilibiliProfile')">
|
||||
<span class="bilibili-glyph">B</span><span class="bilibili-label">{{ t('bilibiliProfile') }}</span>
|
||||
<a
|
||||
class="bilibili-button"
|
||||
href="https://space.bilibili.com/25414873"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
:title="t('bilibiliProfile')"
|
||||
:aria-label="t('bilibiliProfile')"
|
||||
>
|
||||
<span class="bilibili-glyph">B</span
|
||||
><span class="bilibili-label">{{ t("bilibiliProfile") }}</span>
|
||||
</a>
|
||||
<span class="version-badge" :title="`${t('currentVersion')}: v${appVersion}`" :aria-label="`${t('currentVersion')}: v${appVersion}`">v{{ appVersion }}</span>
|
||||
<a class="changelog-button" href="https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/blob/master/CHANGELOG.md" target="_blank" rel="noreferrer" :title="t('viewChangelog')" :aria-label="t('viewChangelog')">
|
||||
<Icon name="clock" :size="16" /><span>{{ t('viewChangelog') }}</span>
|
||||
<span
|
||||
class="version-badge"
|
||||
:title="`${t('currentVersion')}: v${appVersion}`"
|
||||
:aria-label="`${t('currentVersion')}: v${appVersion}`"
|
||||
>v{{ appVersion }}</span
|
||||
>
|
||||
<a
|
||||
class="changelog-button"
|
||||
href="https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/blob/master/CHANGELOG.md"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
:title="t('viewChangelog')"
|
||||
:aria-label="t('viewChangelog')"
|
||||
>
|
||||
<Icon
|
||||
name="clock"
|
||||
:size="16"
|
||||
/><span>{{ t("viewChangelog") }}</span>
|
||||
</a>
|
||||
<a v-if="!mobile" class="guide-button" href="/admin" :title="t('adminConsole')" :aria-label="t('adminConsole')">
|
||||
<Icon name="settings" :size="15" /><span>{{ t('adminConsole') }}</span>
|
||||
<a
|
||||
v-if="!mobile"
|
||||
class="guide-button"
|
||||
href="/admin"
|
||||
:title="t('adminConsole')"
|
||||
:aria-label="t('adminConsole')"
|
||||
>
|
||||
<Icon
|
||||
name="settings"
|
||||
:size="15"
|
||||
/><span>{{ t("adminConsole") }}</span>
|
||||
</a>
|
||||
<SkinSwitcher v-model="skinId" class="join-skin-switcher" :menu-label="t('skinSelector')" :options="skinOptions" @change="emit('skinChange', $event)" />
|
||||
<LanguageSwitcher v-model="language" class="join-language-switcher" :menu-label="t('languageMenu')" @change="emit('languageChange')" />
|
||||
<SkinSwitcher
|
||||
v-model="skinId"
|
||||
class="join-skin-switcher"
|
||||
:menu-label="t('skinSelector')"
|
||||
:options="skinOptions"
|
||||
@change="emit('skinChange', $event)"
|
||||
/>
|
||||
<LanguageSwitcher
|
||||
v-model="language"
|
||||
class="join-language-switcher"
|
||||
:menu-label="t('languageMenu')"
|
||||
@change="emit('languageChange')"
|
||||
/>
|
||||
</div>
|
||||
</header>
|
||||
</template>
|
||||
|
||||
Reference in new issue
Block a user