File size: 10,059 Bytes
7eb1e24
 
 
 
854c8f7
 
7eb1e24
 
 
 
 
 
 
 
 
 
 
854c8f7
 
 
 
7eb1e24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
854c8f7
 
 
 
7eb1e24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
854c8f7
 
7eb1e24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
854c8f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7eb1e24
 
 
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE html>
<html lang="he" dir="rtl">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>BugSquasher Pro - 讬爪讬专转 转拽诇讛 讞讚砖讛</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');
        body {
            font-family: 'Rubik', sans-serif;
        }
    </style>
</head>
<body class="bg-gray-50">
        <div class="flex h-screen overflow-hidden">
        <!-- Sidebar -->
        <div class="sidebar bg-indigo-700 text-white w-64 flex-shrink-0 md:relative">
<div class="p-4 border-b border-indigo-600">
                <h1 class="text-xl font-bold flex items-center">
                    <i data-feather="bug" class="mr-2"></i>
                    BugSquasher
                </h1>
            </div>
            <nav class="p-4">
                <div class="space-y-2">
                    <a href="index.html" class="flex items-center p-2 rounded-lg hover:bg-indigo-800">
                        <i data-feather="home" class="mr-2"></i>
                        讚砖讘讜专讚
                    </a>
                    <a href="create-issue.html" class="flex items-center p-2 rounded-lg bg-indigo-800">
                        <i data-feather="plus-circle" class="mr-2"></i>
                        爪讜专 转拽诇讛 讞讚砖讛
                    </a>
                    <a href="#" class="flex items-center p-2 rounded-lg hover:bg-indigo-800">
                        <i data-feather="list" class="mr-2"></i>
                        讟讘诇转 转拽诇讜转
                    </a>
                    <a href="#" class="flex items-center p-2 rounded-lg hover:bg-indigo-800">
                        <i data-feather="users" class="mr-2"></i>
                        谞讬讛讜诇 诪砖转诪砖讬诐
                    </a>
                    <a href="#" class="flex items-center p-2 rounded-lg hover:bg-indigo-800">
                        <i data-feather="settings" class="mr-2"></i>
                        讛讙讚专讜转 驻专讜驻讬诇
                    </a>
                </div>
            </nav>
        </div>

        <!-- Main Content -->
        <div class="flex-1 overflow-auto">
            <!-- Header (same as index.html) -->
            <header class="bg-white shadow-sm p-4 flex justify-between items-center">
                <div class="flex items-center">
                <button class="md:hidden mr-4" onclick="toggleSidebar()">
                    <i data-feather="menu"></i>
                </button>
<h2 class="text-lg font-semibold">讬爪讬专转 转拽诇讛 讞讚砖讛</h2>
                </div>
                <div class="flex items-center space-x-4">
                    <div class="relative">
                        <i data-feather="bell" class="cursor-pointer"></i>
                        <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
                    </div>
                    <div class="flex items-center">
                        <img src="http://static.photos/people/200x200/1" class="w-8 h-8 rounded-full mr-2" alt="User">
                        <span>诪砖转诪砖 讗讚诪讬谉</span>
                    </div>
                </div>
            </header>

            <!-- Create Issue Form -->
            <main class="p-6">
                <div class="bg-white rounded-lg shadow p-6">
                    <h3 class="font-bold text-lg mb-6">驻专讟讬 讛转拽诇讛</h3>
                    
                    <form>
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6 form-grid">
<div>
                                <label for="owner" class="block text-sm font-medium text-gray-700 mb-1">讘注诇 讛转拽诇讛</label>
                                <select id="owner" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
                                    <option>讘讞专 诪砖转诪砖</option>
                                    <option>诪砖转诪砖 讗</option>
                                    <option>诪砖转诪砖 讘</option>
                                    <option>诪砖转诪砖 讙</option>
                                </select>
                            </div>
                            <div>
                                <label for="phone" class="block text-sm font-medium text-gray-700 mb-1">诪住驻专 讟诇驻讜谉</label>
                                <input type="tel" id="phone" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" placeholder="讛讻谞住 诪住驻专 讟诇驻讜谉">
                            </div>
                            <div>
                                <label for="location" class="block text-sm font-medium text-gray-700 mb-1">诪讬拽讜诐</label>
                                <select id="location" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
                                    <option>讘讞专 诪讬拽讜诐</option>
                                    <option>诪驻讞讟</option>
                                    <option>诇砖讻讛</option>
                                    <option>讞讚谉</option>
                                    <option>讞讬诪讜砖</option>
                                    <option>诪讜讚讬注讬谉</option>
                                    <option>专驻讜讗讛</option>
                                    <option>专讻讘</option>
                                    <option>诇讜讙讬住讟讬拽讛</option>
                                    <option>诪砖讗谉</option>
                                    <option>讗讜讚讬讟讜专讬讜诐</option>
                                    <option>驻诇讞讬拽</option>
                                    <option>拽讬讚诪讬转</option>
                                </select>
                            </div>
                            <div>
                                <label for="priority" class="block text-sm font-medium text-gray-700 mb-1">注讚讬驻讜转</label>
                                <select id="priority" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
                                    <option>专讙讬诇</option>
                                    <option>讙讘讜讛</option>
                                    <option>讚讞讜祝</option>
                                </select>
                            </div>
                        </div>

                        <div class="mb-6">
                            <label for="description" class="block text-sm font-medium text-gray-700 mb-1">转讬讗讜专 讛转拽诇讛</label>
                            <textarea id="description" rows="4" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" placeholder="转讗专 讗转 讛转拽诇讛 讘驻专讜讟..."></textarea>
                        </div>

                        <div class="mb-6">
                            <label class="block text-sm font-medium text-gray-700 mb-1">拽讘爪讬诐 诪爪讜专驻讬诐</label>
                            <div class="mt-1 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-md">
                                <div class="space-y-1 text-center">
                                    <div class="flex text-sm text-gray-600">
                                        <label for="file-upload" class="relative cursor-pointer bg-white rounded-md font-medium text-indigo-600 hover:text-indigo-500 focus-within:outline-none">
                                            <span>讛注诇讛 拽讜讘抓</span>
                                            <input id="file-upload" name="file-upload" type="file" class="sr-only">
                                        </label>
                                        <p class="pl-1">讗讜 讙专讜专 讜砖讞专专</p>
                                    </div>
                                    <p class="text-xs text-gray-500">PNG, JPG, GIF 注讚 10MB</p>
                                </div>
                            </div>
                        </div>

                        <div class="flex justify-end space-x-3">
                            <button type="button" class="px-4 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 hover:bg-gray-50">
                                讘讬讟讜诇
                            </button>
                            <button type="submit" class="px-4 py-2 bg-indigo-600 text-white rounded-md text-sm font-medium hover:bg-indigo-700">
                                讬爪讬专转 转拽诇讛
                            </button>
                        </div>
                    </form>
                </div>
            </main>
        </div>
    </div>
    <script>
        feather.replace();
        
        function toggleSidebar() {
            document.querySelector('.sidebar').classList.toggle('active');
        }

        // Close sidebar when clicking outside on mobile
        document.addEventListener('click', function(e) {
            if (window.innerWidth <= 768) {
                const sidebar = document.querySelector('.sidebar');
                const menuBtn = document.querySelector('[onclick="toggleSidebar()"]');
                if (!sidebar.contains(e.target) && e.target !== menuBtn && !menuBtn.contains(e.target)) {
                    sidebar.classList.remove('active');
                }
            }
        });
    </script>
</body>
</html>