Initial commit: LuHost - Luanti Server Management Web Interface

A modern web interface for Luanti (Minetest) server management with ContentDB integration.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Nathan Schneider
2025-08-23 17:32:37 -06:00
commit 3aed09b60f
47 changed files with 12878 additions and 0 deletions

41
views/error.ejs Normal file
View File

@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Error | Luanti Server Manager</title>
<link rel="stylesheet" href="/static/css/style.css">
</head>
<body>
<div class="container">
<div class="card" style="max-width: 600px; margin: 2rem auto; text-align: center;">
<div style="font-size: 4rem; color: var(--danger-color); margin-bottom: 1rem;">
⚠️
</div>
<h1 style="color: var(--danger-color); margin-bottom: 1rem;">
<%= error %>
</h1>
<% if (typeof message !== 'undefined' && message) { %>
<div class="alert alert-danger" style="text-align: left;">
<strong>Details:</strong> <%= message %>
</div>
<% } %>
<div class="btn-group" style="margin-top: 2rem;">
<a href="javascript:history.back()" class="btn btn-secondary">
Go Back
</a>
<a href="/" class="btn btn-primary">
Return to Dashboard
</a>
</div>
<div style="margin-top: 2rem; font-size: 0.875rem; color: var(--text-secondary);">
<p>If this problem persists, please check the server logs or restart the application.</p>
</div>
</div>
</div>
</body>
</html>