Create index.html

This commit is contained in:
ZhangKaiXin
2025-05-19 16:36:43 +08:00
committed by GitHub
parent 2ad077a93d
commit 9fd7c06d08
+19
View File
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<title>ss-local Manager</title>
</head>
<body>
{% if running %}
<h1 style="color: green;">Running With PID {{ pid }}</h1>
<form method="post" action="/action">
<button type="submit" style="background-color: #ff4444; color: white;">Stop</button>
</form>
{% else %}
<h1 style="color: red;">Not Running</h1>
<form method="post" action="/action">
<button type="submit" style="background-color: #00C851; color: white;">Start</button>
</form>
{% endif %}
</body>
</html>