Skip to content

Commit bf45f4e

Browse files
author
底层用户
committed
样式修改
1 parent 4602238 commit bf45f4e

24 files changed

+28666
-85
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
build

README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# uptime-status
2+
3+
一个基于 UptimeRobot API 的在线状态面板,修改自 [uptime-status](https://github.com/yb/uptime-status)
4+
5+
![IMSYY-站点监测.png](https://s2.loli.net/2022/07/21/Bq9sNMiT7DmvoLd.png)
6+
7+
## 修改内容
8+
9+
- 修改部分样式
10+
- 新增站点状态总览
11+
- 新增数据获取失败提示
12+
- 移动端适配
13+
14+
## 事先准备
15+
16+
- 您需要先到 [UptimeRobot](https://uptimerobot.com/ "UptimeRobot") 添加站点监控,并在 My Settings 页面获取 API Key
17+
- 您需要拥有一个网站空间,常见的 Nginx / PHP 等空间即可,甚至是阿里云的 OSS 等纯静态空间也行
18+
19+
## 如何使用
20+
21+
- 下载本项目
22+
- 修改 `config.js` 文件:
23+
1. `SiteName`: 要显示的网站名称
24+
2. `ApiKeys`: 从 UptimeRobot 获取的 API Key,支持 Monitor-Specific API Keys 和 Read-Only API Key
25+
3. `CountDays`: 要显示的日志天数,建议 60 或 90,显示效果比较好
26+
4. `ShowLink`: 是否显示站点链接
27+
5. `Navi`: 导航栏的菜单列表
28+
- 将所有文件上传到网站空间
29+
30+
## 如何部署
31+
32+
### 安装依赖
33+
34+
```
35+
npm i --unsafe-perm=true
36+
```
37+
38+
### 运行
39+
40+
```
41+
npm run start
42+
```
43+
44+
### 打包
45+
46+
```
47+
npm run build
48+
```

config.js

Lines changed: 0 additions & 40 deletions
This file was deleted.

favicon.ico

-33.7 KB
Binary file not shown.

index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)