File size: 3,096 Bytes
9bebfc5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="ar">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>إنشاء حساب - Wajeez</title>
    <link rel="icon" href="/static/images/logo.png" type="image/png">
    <link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap" rel="stylesheet">

    <script>
        // Toggle the navigation menu on small screens
        function toggleMenu() {
            const navLinks = document.getElementById('nav-Links');
            navLinks.classList.toggle('active');
        }
    </script>
</head>

<body>

    <header>
        <nav>
            <div class="logo">
                <img src="{{ url_for('static', filename='images/logo.png') }}" alt="Wajeez Logo">
            </div>
            <ul class="nav-links" id="nav-Links">
                <li><a href="{{ url_for('index') }}">الرئيسية</a></li>
            </ul>
            <div class="toggle" id="toggleButton" onclick="toggleMenu()"></div>
        </nav>
    </header>

    <main class="login-page">
        <div class="login-container">
            <div class="quote-section">
                <p>قال رسول الله صلى الله عليه وسلم: "من مشى مع مظلوم حتى يُثبت له حقه ثبّت الله قدميه على الصراط يوم
                    تزلّ الأقدام"</p>
            </div>
            <div class="login-form">
                <h2>إنشاء حساب</h2>
                <form action="{{ url_for('create_account') }}" method="POST">
                    <div class="input-group">
                        <label for="username">اسم المستخدم</label>
                        <input type="text" id="username" name="username" required>
                    </div>

                    <div class="input-group">
                        <label for="name">الاسم الكامل</label>
                        <input type="text" id="name" name="full_name" required>
                    </div>

                    <div class="input-group">
                        <label for="email">الإيميل</label>
                        <input type="email" id="email" name="email" required>
                    </div>

                    <div class="input-group">
                        <label for="password">كلمة المرور</label>
                        <input type="password" id="password" name="password" required>
                    </div>
                    <button type="submit" class="login-btn" onclick="logintoHome(event)"> إنشاء حساب</button>
                </form>
                <p>هل لديك حساب بالفعل؟ <a href="/login">تسجيل الدخول</a></p>
            </div>
        </div>
    </main>

    <script src="{{ url_for('static', filename='js/script.js') }}"></script>
</body>

</html>