Remove version info from navbar

This commit is contained in:
cuigh 2018-06-28 14:53:54 +08:00
parent c43861de33
commit 67e76ef986
4 changed files with 1 additions and 9 deletions

View File

@ -85,7 +85,6 @@ menu.user: Users
menu.setting: Settings menu.setting: Settings
menu.event: Events menu.event: Events
menu.chart: Charts menu.chart: Charts
menu.version: Version
menu.profile: Profile menu.profile: Profile
menu.password: Password menu.password: Password
menu.detail: Detail menu.detail: Detail

View File

@ -85,7 +85,6 @@ menu.user: 用户
menu.setting: 设置 menu.setting: 设置
menu.event: 事件 menu.event: 事件
menu.chart: 图表 menu.chart: 图表
menu.version: 版本
menu.profile: 资料 menu.profile: 资料
menu.password: 密码 menu.password: 密码
menu.detail: 详情 menu.detail: 详情

View File

@ -56,12 +56,6 @@
<a class="navbar-item" href="/system/chart/">{{ i18n("menu.chart") }}</a> <a class="navbar-item" href="/system/chart/">{{ i18n("menu.chart") }}</a>
<a class="navbar-item" href="/system/setting/">{{ i18n("menu.setting") }}</a> <a class="navbar-item" href="/system/setting/">{{ i18n("menu.setting") }}</a>
<a class="navbar-item" href="/system/event/">{{ i18n("menu.event") }}</a> <a class="navbar-item" href="/system/event/">{{ i18n("menu.event") }}</a>
<hr class="navbar-divider">
<div class="navbar-item">
<div class="navbar-content">
<strong>{{ i18n("menu.version") }} {{ version }}({{ go_version }})</strong>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -45,7 +45,7 @@
<div class="hero-body"> <div class="hero-body">
<div class="container has-text-centered"> <div class="container has-text-centered">
<h1 class="title is-2"> <h1 class="title is-2">
SWIRL <span class="tag is-success">V{{ version }}</span> SWIRL <span class="tag is-success">v{{ version }}({{ go_version }})</span>
</h1> </h1>
<h2 class="subtitle is-5">{{ i18n("description") }}</h2> <h2 class="subtitle is-5">{{ i18n("description") }}</h2>
<p> <p>