Add help link to Server Commands

This commit is contained in:
Yukino Song
2024-09-12 12:55:58 +08:00
parent 74e079bd6e
commit 50c6e5bce5
4 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -95,7 +95,7 @@
</div> </div>
<div class="mb-3 buttons"> <div class="mb-3 buttons">
<button class="btn btn-primary" @click="save">{{ $t('_common.save') }}</button> <button class="btn btn-primary" @click="save">{{ $t('_common.save') }}</button>
<button class="btn btn-success" @click="apply" v-if="saved && !restarted">{{ $t('_common.apply') }}</button> <button class="btn btn-success mx-2" @click="apply" v-if="saved && !restarted">{{ $t('_common.apply') }}</button>
</div> </div>
</div> </div>
</body> </body>
@@ -142,6 +142,9 @@ function removeCmd(cmdArr, index) {
<div id="server_cmd" class="mb-3 d-flex flex-column"> <div id="server_cmd" class="mb-3 d-flex flex-column">
<label class="form-label">{{ $t('config.server_cmd') }}</label> <label class="form-label">{{ $t('config.server_cmd') }}</label>
<div class="form-text">{{ $t('config.server_cmd_desc') }}</div> <div class="form-text">{{ $t('config.server_cmd_desc') }}</div>
<div class="form-text">
<a href="https://github.com/ClassicOldSong/Apollo/wiki/Server-Commands" target="_blank">{{ $t('_common.learn_more') }}</a>
</div>
<table class="table" v-if="serverCmd.length > 0"> <table class="table" v-if="serverCmd.length > 0">
<thead> <thead>
<tr> <tr>
@@ -15,6 +15,7 @@
"enabled": "Enabled", "enabled": "Enabled",
"enabled_def": "Enabled (default)", "enabled_def": "Enabled (default)",
"error": "Error!", "error": "Error!",
"learn_more": "Learn More",
"note": "Note:", "note": "Note:",
"password": "Password", "password": "Password",
"run_as": "Run as Admin", "run_as": "Run as Admin",
@@ -15,6 +15,7 @@
"enabled": "启用", "enabled": "启用",
"enabled_def": "启用(默认)", "enabled_def": "启用(默认)",
"error": "错误!", "error": "错误!",
"learn_more": "了解更多",
"note": "注:", "note": "注:",
"password": "密码", "password": "密码",
"run_as": "以管理员身份运行", "run_as": "以管理员身份运行",