Spaces:
Running
Running
| <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-dark-50 min-h-screen industrial-overlay"> | |
| <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-black text-dark-900 mb-2">СОЗДАТЬ НОВУЮ ПУБЛИКАЦИЮ</h1> | |
| <p class="text-steel-600 font-bold">НАПИШИТЕ КОНТЕНТ ОДИН РАЗ - ОПУБЛИКУЙТЕ ВЕЗДЕ</p> | |
| </div> | |
| <div class="bg-dark-50 rounded-sm shadow-lg p-8 mb-6 brutal-border"> | |
| <!-- Brutal Platform Selection --> | |
| <div class="mb-8"> | |
| <label class="form-label">ВЫБЕРИТЕ ПЛАТФОРМЫ ДЛЯ ПУБЛИКАЦИИ</label> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-4"> | |
| <label class="flex flex-col items-center p-6 border-2 border-steel-300 rounded-sm cursor-pointer hover:border-primary-600 transition-all brutal-hover"> | |
| <input type="checkbox" name="platform" value="telegram" class="hidden"> | |
| <div class="w-16 h-16 bg-steel-600/20 rounded-sm flex items-center justify-center mb-3"> | |
| <i data-feather="message-circle" class="text-steel-600 w-8 h-8"></i> | |
| </div> | |
| <span class="text-sm font-black text-dark-900 uppercase">Telegram</span> | |
| </label> | |
| <label class="flex flex-col items-center p-6 border-2 border-steel-300 rounded-sm cursor-pointer hover:border-primary-600 transition-all brutal-hover"> | |
| <input type="checkbox" name="platform" value="vk" class="hidden"> | |
| <div class="w-16 h-16 bg-steel-600/20 rounded-sm flex items-center justify-center mb-3"> | |
| <i data-feather="users" class="text-steel-500 w-8 h-8"></i> | |
| </div> | |
| <span class="text-sm font-black text-dark-900 uppercase">VK</span> | |
| </label> | |
| <label class="flex flex-col items-center p-6 border-2 border-steel-300 rounded-sm cursor-pointer hover:border-primary-600 transition-all brutal-hover"> | |
| <input type="checkbox" name="platform" value="linkedin" class="hidden"> | |
| <div class="w-16 h-16 bg-steel-600/20 rounded-sm flex items-center justify-center mb-3"> | |
| <i data-feather="briefcase" class="text-steel-600 w-8 h-8"></i> | |
| </div> | |
| <span class="text-sm font-black text-dark-900 uppercase">LinkedIn</span> | |
| </label> | |
| <label class="flex flex-col items-center p-6 border-2 border-steel-300 rounded-sm cursor-pointer hover:border-primary-600 transition-all brutal-hover"> | |
| <input type="checkbox" name="platform" value="yandex_zen" class="hidden"> | |
| <div class="w-16 h-16 bg-warning-500/20 rounded-sm flex items-center justify-center mb-3"> | |
| <i data-feather="trending-up" class="text-warning-500 w-8 h-8"></i> | |
| </div> | |
| <span class="text-sm font-black text-dark-900 uppercase">Яндекс.Дзен</span> | |
| </label> | |
| </div> | |
| </div> | |
| <!-- Brutal Content Editor --> | |
| <div class="mb-8"> | |
| <label class="form-label">ТЕКСТ ПУБЛИКАЦИИ</label> | |
| <textarea class="form-input post-content" rows="10" placeholder="НАПИШИТЕ ВАШ КОНТЕНТ ЗДЕСЬ... МАКСИМАЛЬНАЯ ДЛИНА БУДЕТ АВТОМАТИЧЕСКИ ПОДСТРОЕНА ПОД ВЫБРАННЫЕ ПЛАТФОРМЫ" maxlength="4096"></textarea> | |
| <div class="text-right text-sm text-steel-600 mt-2 font-bold char-counter">0/4096</div> | |
| </div> | |
| <!-- Media Upload --> | |
| <div class="mb-6"> | |
| <label class="form-label">Медиафайлы</label> | |
| <div class="border-2 border-dashed border-gray-300 rounded-lg p-8 text-center"> | |
| <i data-feather="upload-cloud" class="w-12 h-12 text-gray-400 mx-auto mb-4"></i> | |
| <p class="text-gray-600 mb-2">Перетащите файлы сюда или</p> | |
| <button class="btn-secondary"> | |
| <i data-feather="plus"></i> | |
| <span>Выбрать файлы</span> | |
| </button> | |
| <p class="text-xs text-gray-500 mt-2">Поддерживаются: изображения, видео, GIF</p> | |
| </div> | |
| </div> | |
| <!-- Scheduling --> | |
| <div class="mb-6"> | |
| <label class="form-label">Расписание публикации</label> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-4"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Дата и время</label> | |
| <input type="datetime-local" class="form-input"> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Часовой пояс</label> | |
| <select class="form-input"> | |
| <option value="+3">Москва (UTC+3)</option> | |
| <option value="+0">Лондон (UTC+0)</option> | |
| <option value="-5">Нью-Йорк (UTC-5)</option> | |
| </select> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Advanced Options --> | |
| <div class="mb-6"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h3 class="text-lg font-medium text-gray-900">Расширенные настройки</h3> | |
| <button type="button" class="text-blue-600 hover:text-blue-700 text-sm font-medium"> | |
| <i data-feather="chevron-down" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-4"> | |
| <div> | |
| <label class="flex items-center space-x-2"> | |
| <input type="checkbox" class="rounded border-gray-300 text-blue-600 focus:ring-blue-500"> | |
| <span class="text-sm">Отложенная публикация</span> | |
| </label> | |
| </div> | |
| <div> | |
| <label class="flex items-center space-x-2"> | |
| <input type="checkbox" class="rounded border-gray-300 text-blue-600 focus:ring-blue-500"> | |
| <span class="text-sm">Уведомление о публикации</span> | |
| </label> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Action Buttons --> | |
| <div class="flex flex-col sm:flex-row gap-4 justify-end"> | |
| <button class="btn-secondary"> | |
| <i data-feather="save"></i> | |
| <span>Сохранить черновик</span> | |
| </button> | |
| <button class="btn-primary" onclick="publishPost()"> | |
| <i data-feather="send"></i> | |
| <span>Опубликовать сейчас</span> | |
| </button> | |
| <button class="btn-primary bg-green-600 hover:bg-green-700" onclick="schedulePost()"> | |
| <i data-feather="calendar"></i> | |
| <span>Запланировать</span> | |
| </button> | |
| </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(); | |
| function publishPost() { | |
| alert('Публикация отправлена на выбранные платформы!'); | |
| window.location.href = 'index.html'; | |
| } | |
| function schedulePost() { | |
| alert('Публикация запланирована!'); | |
| window.location.href = 'schedule.html'; | |
| } | |
| </script> | |
| </body> | |
| </html> |