Skip to content

The frontend of ServerStatus-Hotaru based on Vue 3.0

License

Notifications You must be signed in to change notification settings

tongfei11/hotaru_theme

 
 

Repository files navigation

Hotaru_theme

基于 Vue 3 和 Semantic UI 打造的“船新” ServerStatus 主题。

本仓库存放了 ServerStatus-Hotaru 默认前端的源码。

关于自定义主题:

如果仅修改标题、副标题、页脚和更新数据的间隔,可以直接修改根目录下的config.js文件。

其他如更换图片、对其他文字的修改等建议修改本仓库代码并重新打包。

ServerStatus-Hotaru: https://github.com/cokemine/ServerStatus-Hotaru

默认图片引用说明:

本仓库引入了以下图片

Pixiv: 86597206

nisekoi.jp

如需用做商业用途请更换以上图片。

样式参考自:

https://www.hostloc.com/thread-494384-1-1.html

https://www.hostloc.com/thread-493783-1-1.html

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

更新前端 默认服务端更新不会更新前端。因为更新前端会导致自己自定义的前端消失。

rm -rf /usr/local/ServerStatus/web/* wget https://github.com/cokemine/hotaru_theme/releases/latest/download/hotaru-theme.zip unzip hotaru-theme.zip mv ./hotaru-theme/* /usr/local/ServerStatus/web/ service status-server restart

systemctl restart status-server

About

The frontend of ServerStatus-Hotaru based on Vue 3.0

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 77.7%
  • TypeScript 12.2%
  • JavaScript 5.7%
  • HTML 4.4%