mirror of
https://github.com/WilliamPeterMatthew/sslocal-manager-alpine.git
synced 2026-02-27 09:53:28 +08:00
Create index.html
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user