File size: 8,538 Bytes
2d8afac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Настройки - ContentSync Pro</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <link rel="stylesheet" href="style.css">
    <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>
</head>
<body class="bg-gray-50 min-h-screen">
    <content-navbar></content-navbar>
    
    <div class="container mx-auto px-4 py-8 max-w-4xl">
        <div class="mb-8">
            <h1 class="text-3xl font-bold text-gray-900 mb-2">Настройки аккаунта</h1>
            <p class="text-gray-600">Управление подключенными платформами и настройками приложения</p>
        </div>

        <div class="bg-white rounded-xl shadow-sm p-6 mb-6">
            <!-- Platform Connections -->
            <div class="mb-8">
                <h2 class="text-xl font-bold text-gray-900 mb-6">Подключенные платформы</h2>
            <div class="space-y-4">
                <!-- Telegram Connection -->
                <div class="flex items-center justify-between p-4 border border-gray-200 rounded-lg">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center">
                            <i data-feather="message-circle" class="text-blue-600"></i>
                        </div>
                        <div>
                            <h3 class="font-medium text-gray-900">Telegram</h3>
                            <p class="text-sm text-gray-500">Подключите каналы и чаты для публикации</p>
                        </div>
                    </div>
                    <button class="btn-primary">
                        <i data-feather="link"></i>
                        <span>Подключить</span>
                    </button>
                </div>

                <!-- VK Connection -->
                <div class="flex items-center justify-between p-4 border border-gray-200 rounded-lg">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center">
                            <i data-feather="users" class="text-blue-400"></i>
                        </div>
                        <div>
                            <h3 class="font-medium text-gray-900">VK</h3>
                            <p class="text-sm text-gray-500">Подключите группы и страницы</p>
                        </div>
                    </div>
                    <button class="btn-primary">
                        <i data-feather="link"></i>
                        <span>Подключить</span>
                    </button>
                </div>

                <!-- LinkedIn Connection -->
                <div class="flex items-center justify-between p-4 border border-gray-200 rounded-lg">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center">
                            <i data-feather="briefcase" class="text-blue-600"></i>
                        </div>
                        <div>
                            <h3 class="font-medium text-gray-900">LinkedIn</h3>
                            <p class="text-sm text-gray-500">Подключите бизнес-страницы</p>
                        </div>
                    </div>
                    <button class="btn-primary">
                        <i data-feather="link"></i>
                        <span>Подключить</span>
                    </button>
                </div>

                <!-- Яндекс.Дзен Connection -->
                <div class="flex items-center justify-between p-4 border border-gray-200 rounded-lg">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-orange-100 rounded-full flex items-center justify-center">
                            <i data-feather="trending-up" class="text-orange-500"></i>
                        </div>
                        <div>
                            <h3 class="font-medium text-gray-900">Яндекс.Дзен</h3>
                            <p class="text-sm text-gray-500">Подключите каналы</p>
                        </div>
                    </div>
                    <button class="btn-primary">
                        <i data-feather="link"></i>
                        <span>Подключить</span>
                    </button>
                </div>
            </div>

            <!-- Notification Settings -->
            <div class="mb-8">
                <h2 class="text-xl font-bold text-gray-900 mb-6">Уведомления</h2>
                <div class="space-y-4">
                    <label class="flex items-center space-x-3">
                        <input type="checkbox" class="rounded border-gray-300 text-blue-600 focus:ring-blue-500">
                        <span class="text-sm font-medium text-gray-700">Уведомления о публикации</span>
                    </label>
                    <label class="flex items-center space-x-3">
                        <input type="checkbox" class="rounded border-gray-300 text-blue-600 focus:ring-blue-500">
                        <span class="text-sm font-medium text-gray-700">Статистика по email</span>
                    </label>
                </div>
            </div>

            <!-- Publishing Settings -->
            <div class="mb-8">
                <h2 class="text-xl font-bold text-gray-900 mb-6">Настройки публикации</h2>
                <div class="space-y-4">
                    <div>
                        <label class="form-label">Автоматическое форматирование</label>
                        <select class="form-input">
                            <option value="auto">Автоматически подбирать под платформу</option>
                            <option value="preserve">Сохранять оригинальное форматирование</option>
                        </select>
                    </div>
                    <div>
                        <label class="form-label">URL короткие ссылки</label>
                        <select class="form-input">
                            <option value="none">Не использовать</option>
                            <option value="bitly">Bitly</option>
                            <option value="tinyurl">TinyURL</option>
                        </select>
                    </div>
                </div>
            </div>

            <!-- Account Management -->
            <div class="mb-8">
                <h2 class="text-xl font-bold text-gray-900 mb-6">Управление аккаунтом</h2>
                <div class="space-y-4">
                    <div>
                        <label class="form-label">Язык интерфейса</label>
                    <select class="form-input">
                        <option value="ru">Русский</option>
                        <option value="en">English</option>
                    </div>
                </div>
            </div>

            <!-- Danger Zone -->
            <div class="border-t pt-8">
                <h2 class="text-xl font-bold text-red-900 mb-6">Опасная зона</h2>
                <div class="space-y-4">
                    <button class="w-full btn-secondary text-red-700 border-red-200 hover:bg-red-50">
                            <i data-feather="trash-2"></i>
                            <span>Удалить аккаунт</span>
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <content-footer></content-footer>

    <script src="components/navbar.js"></script>
    <script src="components/footer.js"></script>
    <script src="script.js"></script>
    <script>
        feather.replace();
    </script>
</body>
</html>