86 lines
2.4 KiB
HTML
86 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>群组管理</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: #f4f4f4;
|
|
margin: 0;
|
|
padding: 20px;
|
|
}
|
|
h1 {
|
|
text-align: center;
|
|
color: #333;
|
|
}
|
|
.container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
background-color: white;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.form-group {
|
|
margin-bottom: 15px;
|
|
}
|
|
input[type="text"], input[type="submit"], select {
|
|
padding: 10px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
input[type="submit"] {
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
}
|
|
input[type="submit"]:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
.result {
|
|
margin-top: 20px;
|
|
padding: 10px;
|
|
background-color: #e7f4e7;
|
|
border: 1px solid #d3f8d3;
|
|
border-radius: 5px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>群组管理</h1>
|
|
|
|
<div class="container">
|
|
<form method="POST">
|
|
<div class="form-group">
|
|
<label for="key">Key:</label>
|
|
<input type="text" id="key" name="key" >
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="group_id">Group ID:</label>
|
|
<input type="text" id="group_id" name="group_id" >
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="action">Action:</label>
|
|
<select id="action" name="action">
|
|
<option value="add">添加群组ID</option>
|
|
<option value="del">删除群组ID</option>
|
|
<option value="get">获取所有群组ID</option>
|
|
<option value="get_first">获取第一个群组ID</option>
|
|
<option value="get_instructions">获取群组指令</option>
|
|
</select>
|
|
</div>
|
|
<input type="submit" value="提交">
|
|
</form>
|
|
|
|
{% if result %}
|
|
<div class="result">{{ result }}</div>
|
|
{% endif %}
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|