Files
press/cabinet_service/templates/channels.html
T
apuc c6048aeea0 feat: AI Press Secretary - content generation and publishing platform
Features:
- AI-powered post generation from brand profiles
- Image generation with templates
- Content planning
- Telegram publishing
- Social profile analyzer
- Community organization support
- Markdown to HTML conversion for Telegram
- Inline AI chat for post editing

Deploy:
- Add deployment scripts for Linux servers
- Add PowerShell deploy script for Windows
- Add Nginx and SSL setup scripts
- Add backup and restore scripts
2026-08-27 15:24:15 +03:00

38 lines
1.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "base.html" %}
{% block title %}Каналы публикации — Личный кабинет{% endblock %}
{% block content %}
<h1>Каналы публикации</h1>
<p class="form-hint">Добавьте Telegram-каналы и чаты, куда бот будет публиковать посты. Бот должен быть админом в канале.</p>
<div class="grid">
<a class="tile" href="/channels/add">➕ Добавить канал</a>
</div>
{% if channels %}
<table class="table">
<thead>
<tr><th>Название</th><th>Тип</th><th>Username</th><th>Добавлен</th><th></th></tr>
</thead>
<tbody>
{% for ch in channels %}
<tr>
<td>{{ ch.title }}</td>
<td>{{ ch.chat_type }}</td>
<td>{% if ch.username %}@{{ ch.username }}{% else %}—{% endif %}</td>
<td>{{ ch.created_at }}</td>
<td>
<form action="/channels/{{ ch.id }}/delete" method="post" class="inline-form" onsubmit="return confirm('Удалить канал?')">
<button type="submit" class="button-link button-link-danger">🗑</button>
</form>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<div class="card">
<p>Нет добавленных каналов. <a href="/channels/add">Добавьте первый →</a></p>
</div>
{% endif %}
{% endblock %}