File size: 3,358 Bytes
29b2972
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f69b993
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="pt-BR">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ABAP Playground Pro - Login</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#0f766e',
                        secondary: '#f59e0b'
                    }
                }
            }
        }
    </script>
    <style>
        .sap-bg {
            background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
        }
        .code-editor {
            font-family: 'Courier New', monospace;
            font-size: 14px;
        }
        .sap-window {
            border: 2px solid #2d3748;
            border-radius: 4px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
        }
        .sap-header {
            background: linear-gradient(to bottom, #4a5568, #2d3748);
            border-bottom: 1px solid #4a5568;
        }
        .syntax-keyword { color: #f59e0b; font-weight: bold; }
        .syntax-string { color: #10b981; }
        .syntax-comment { color: #6b7280; font-style: italic; }
        .syntax-number { color: #8b5cf6; }
    </style>
</head>
<body class="bg-gray-900 min-h-screen flex items-center justify-center sap-bg">
    <div class="sap-window bg-gray-800 w-96 mx-4">
        <div class="sap-header p-3 text-white flex items-center">
            <i data-feather="database" class="w-5 h-5 mr-2"></i>
            <span class="font-bold">SAP System Login</span>
        </div>
        <div class="p-6 bg-gray-700">
            <div class="mb-6 text-center">
                <i data-feather="cpu" class="w-12 h-12 text-primary mx-auto"></i>
                <h2 class="text-xl font-bold text-white mt-2">ABAP Playground Pro</h2>
                <p class="text-gray-300">Sistema de Prática ABAP</p>
            </div>
            
            <form id="loginForm">
                <div class="mb-4">
                    <label class="block text-gray-300 text-sm font-medium mb-2">Usuário</label>
                    <input type="text" class="w-full px-3 py-2 bg-gray-600 border border-gray-500 rounded text-white focus:outline-none focus:border-primary" placeholder="Digite seu usuário">
                </div>
                <div class="mb-6">
                    <label class="block text-gray-300 text-sm font-medium mb-2">Senha</label>
                    <input type="password" class="w-full px-3 py-2 bg-gray-600 border border-gray-500 rounded text-white focus:outline-none focus:border-primary" placeholder="Digite sua senha">
                </div>
                <button type="submit" class="w-full bg-primary hover:bg-teal-700 text-white font-medium py-2 px-4 rounded transition duration-200">
                    Entrar no Sistema
                </button>
            </form>
        </div>
    </div>

    <script>
        feather.replace();
        document.getElementById('loginForm').addEventListener('submit', function(e) {
            e.preventDefault();
            window.location.href = 'main.html';
        });
    </script>
</body>
</html>