<!-- templates/index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>MT5 Connector</title>
</head>
<body>
    <h1>MetaTrader 5 Connector</h1>
    <form action="/login" method="post">
        <label for="username">Username:</label>
        <input type="text" id="username" name="username" required><br>
        
        <label for="password">Password:</label>
        <input type="password" id="password" name="password" required><br>
        
        <label for="server">Server:</label>
        <input type="text" id="server" name="server" required><br>
        
        <label for="path">MT5 Path:</label>
        <input type="text" id="path" name="path" required><br>
        
        <input type="submit" value="Connect">
    </form>
</body>
</html>
