Add Help button which links to wiki

This commit is contained in:
Louis Lam 2023-01-16 12:39:24 +08:00
parent 31f45dcfc9
commit b073ec2287
2 changed files with 8 additions and 0 deletions

View File

@ -44,6 +44,7 @@ import {
faWrench, faWrench,
faHeartbeat, faHeartbeat,
faFilter, faFilter,
faInfoCircle,
} from "@fortawesome/free-solid-svg-icons"; } from "@fortawesome/free-solid-svg-icons";
library.add( library.add(
@ -88,6 +89,7 @@ library.add(
faWrench, faWrench,
faHeartbeat, faHeartbeat,
faFilter, faFilter,
faInfoCircle,
); );
export { FontAwesomeIcon }; export { FontAwesomeIcon };

View File

@ -63,6 +63,12 @@
</router-link> </router-link>
</li> </li>
<li>
<a href="https://github.com/louislam/uptime-kuma/wiki" class="dropdown-item" target="_blank">
<font-awesome-icon icon="info-circle" /> {{ $t("Help") }}
</a>
</li>
<li v-if="$root.loggedIn && $root.socket.token !== 'autoLogin'"> <li v-if="$root.loggedIn && $root.socket.token !== 'autoLogin'">
<button class="dropdown-item" @click="$root.logout"> <button class="dropdown-item" @click="$root.logout">
<font-awesome-icon icon="sign-out-alt" /> <font-awesome-icon icon="sign-out-alt" />