mirror of
https://github.com/SileNce5k/discord_bot_mgmt.git
synced 2025-04-19 19:16:20 +02:00
Very basic, probably need a lot more editing when actual logs and stuff show up (+ it needs to be dynamic?)
46 lines
No EOL
1.4 KiB
Text
46 lines
No EOL
1.4 KiB
Text
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Discord Bot Management</title>
|
|
<link rel="stylesheet" href="/css/main.css">
|
|
</head>
|
|
|
|
<body>
|
|
<header class="dashboard">
|
|
<div class="user-dropdown">
|
|
<input id="check01" type="checkbox" name="menu" />
|
|
<label class="dropdown-label" for="check01">
|
|
<%= user.username %>
|
|
</label>
|
|
<ul class="dropdown-submenu">
|
|
<li><a href="/users/<%= user.user_id %>/settings">Settings</a></li>
|
|
<li><a href="/logout">Logout</a></li>
|
|
</ul>
|
|
</div>
|
|
</header>
|
|
<div id="main-content">
|
|
<h1 class="dashboard-title">Dashboard</h1>
|
|
<div id="bot">
|
|
|
|
<div id="bot-log">
|
|
<p>2025-01-13 05:55:02 - example command executed by -some-user-id-</p>
|
|
<p>2025-01-13 05:57:33 - userinfo command executed by -some-user-id-</p>
|
|
</div>
|
|
<div id="bot-buttons">
|
|
<button>Restart</button>
|
|
<button>Update</button>
|
|
<button>Download Config</button>
|
|
<button>Upload Config</button>
|
|
<button>Backup data</button>
|
|
<button>Restore data</button>
|
|
<button>Download logs</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<%= footer %>
|
|
</body>
|
|
|
|
</html> |