diff --git a/assets/src/components/Languages.vue b/assets/src/components/Languages.vue
new file mode 100644
index 00000000..a8374223
--- /dev/null
+++ b/assets/src/components/Languages.vue
@@ -0,0 +1,19 @@
+
+
+
+
+
diff --git a/assets/src/css/dashboard.css b/assets/src/css/dashboard.css
index 3e8a5b17..003ced21 100644
--- a/assets/src/css/dashboard.css
+++ b/assets/src/css/dashboard.css
@@ -35,7 +35,7 @@
width: 1em
}
-.dashboard > *:first-child {
+.dashboard > h1:first-of-type {
margin-top: 0;
}
@@ -125,3 +125,27 @@ p code {
font-size: .8em;
line-height: 1.5;
}
+
+.dashboard #nav {
+ list-style: none;
+ display: flex;
+ color: rgb(84, 110, 122);
+ font-weight: 500;
+ padding: 0 0 1em;
+ margin: 0 0 1em;
+ font-size: .8em;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+}
+
+.dashboard #nav li {
+ width: 100%;
+}
+
+.dashboard #nav li:last-child {
+ text-align: right
+}
+
+.dashboard #nav i {
+ font-size: 1em;
+ vertical-align: middle;
+}
diff --git a/assets/src/i18n/en.yaml b/assets/src/i18n/en.yaml
index 7608f4aa..dd707833 100644
--- a/assets/src/i18n/en.yaml
+++ b/assets/src/i18n/en.yaml
@@ -103,7 +103,6 @@ settings:
customStylesheet: Custom Stylesheet
examples: Examples
globalSettings: Global Settings
- goTo: Go to
language: Language
newPassword: Your new password
newPasswordConfirm: Confirm your new password
@@ -131,7 +130,7 @@ settings:
{0} or {1}. Then you should write {2} if you are using a regular expression and
then the expression or the path.
scope: Scope
- stylesUpdated: Styles updated!
+ settingsUpdated: Settings updated!
user: User
userCommands: Commands
userCommandsHelp:
diff --git a/assets/src/i18n/pt.yaml b/assets/src/i18n/pt.yaml
index 47e644b0..b0651136 100644
--- a/assets/src/i18n/pt.yaml
+++ b/assets/src/i18n/pt.yaml
@@ -103,7 +103,6 @@ settings:
customStylesheet: Estilos Personalizados
examples: Exemplos
globalSettings: Configurações Globais
- goTo: Ir para
language: Linguagem
newPassword: Nova palavra-passe
newPasswordConfirm: Confirme a nova palavra-passe
@@ -132,7 +131,7 @@ settings:
caso queira utilizar uma expressão regular. Depois, escreva o caminho do ficheiro/pasta
ou a expressão regular.
scope: Base
- stylesUpdated: Estilos atualizados!
+ settingsUpdated: Configurações atualizadas!
user: Utilizador
userCommands: Comandos
userCommandsHelp:
diff --git a/assets/src/i18n/zh-cn.yaml b/assets/src/i18n/zh-cn.yaml
index 65d2014c..0385c30a 100644
--- a/assets/src/i18n/zh-cn.yaml
+++ b/assets/src/i18n/zh-cn.yaml
@@ -102,7 +102,6 @@ settings:
customStylesheet: 自定义样式表
examples: 例子
globalSettings: 全局设置
- goTo: 转到
newPassword: 您的新密码
newPasswordConfirm: 重输一遍新密码
newUser: 新建用户
@@ -125,7 +124,6 @@ settings:
每行一条规则, 必须以关键词 {0} 或 {1} 开头. 如果使用正则表达式,
然后使用表达式或路径, 则需要在第二列单词加入 {2} .
scope: 目录范围
- stylesUpdated: 样式更新!
user: 用户
userCommands: 用户命令(Linux 代码)
userCommandsHelp: '一个以空格分割的列表, 用于指定该用户可以执行的命令(Linux 代码), 例如:'
diff --git a/assets/src/store/mutations.js b/assets/src/store/mutations.js
index b0940d89..481845f2 100644
--- a/assets/src/store/mutations.js
+++ b/assets/src/store/mutations.js
@@ -28,7 +28,6 @@ const mutations = {
i18n.locale = value.locale
state.user = value
},
- setUserCSS: (state, value) => (state.user.css = value),
setJWT: (state, value) => (state.jwt = value),
multiple: (state, value) => (state.multiple = value),
addSelected: (state, value) => (state.selected.push(value)),
diff --git a/assets/src/views/GlobalSettings.vue b/assets/src/views/GlobalSettings.vue
index 5d0052a4..0fd04ca0 100644
--- a/assets/src/views/GlobalSettings.vue
+++ b/assets/src/views/GlobalSettings.vue
@@ -1,12 +1,20 @@
-
{{ $t('settings.globalSettings') }}
-
-
- - {{ $t('settings.goTo') }} {{ $t('settings.profileSettings') }}
- - {{ $t('settings.goTo') }} {{ $t('settings.userManagement') }}
+
+ -
+
+ keyboard_arrow_left {{ $t('settings.profileSettings') }}
+
+
+ -
+
+ {{ $t('settings.userManagement') }} keyboard_arrow_right
+
+
+ {{ $t('settings.globalSettings') }}
+