/
IvanMysin
/
Topics
Обзор
Документация
Войти
/
IvanMysin
/
Topics
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/templates/html_template.html
214 строк
5 KB
ivan
Work on autoreview by theses
09 янв 2026, 15:03
09 янв 2026, 15:03
0d59a11
Код
Авторство
О чём код?
<!DOCTYPE html> <html lang="ru"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Кластеризация научных статей - {page_title}</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: #333; background: #f5f7fa; padding: 20px; } .container { max-width: 1200px; margin: 0 auto; background: white; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 30px; } h1 { color: #2c3e50; border-bottom: 3px solid #3498db; padding-bottom: 10px; margin-bottom: 20px; } h2 { color: #34495e; margin-top: 30px; margin-bottom: 15px; padding-bottom: 5px; } h3 { color: #555; margin-top: 20px; margin-bottom: 10px; } .info-box { background: #ecf0f1; border-left: 4px solid #3498db; padding: 15px; margin-bottom: 20px; border-radius: 4px; } .info-box p { margin: 5px 0; } .info-label { font-weight: bold; color: #2c3e50; } table { width: 100%; border-collapse: collapse; margin: 20px 0; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } th { background: #3498db; color: white; padding: 12px; text-align: left; font-weight: bold; } td { padding: 10px 12px; border-bottom: 1px solid #ecf0f1; } tr:hover { background: #f8f9fa; } tr:nth-child(even) { background: #f8f9fa; } tr:nth-child(even):hover { background: #e9ecef; } .cluster-link { color: #3498db; text-decoration: none; font-weight: bold; } .cluster-link:hover { text-decoration: underline; } .keyword { background: #e8f4f8; padding: 3px 8px; border-radius: 12px; font-size: 0.9em; margin: 2px; display: inline-block; } .article { background: #fafafa; border: 1px solid #e0e0e0; border-radius: 6px; padding: 20px; margin-bottom: 20px; } .article-meta { color: #666; font-size: 0.9em; margin-bottom: 10px; } .doi-link { color: #3498db; text-decoration: none; } .doi-link:hover { text-decoration: underline; } .similarity-score { background: #d4edda; color: #155724; padding: 2px 8px; border-radius: 4px; font-weight: bold; font-size: 0.9em; } .abstract { background: white; padding: 15px; border-left: 3px solid #28a745; margin: 10px 0; font-style: italic; } .ai-summary { background: #fff3cd; border-left: 3px solid #ffc107; padding: 15px; margin: 10px 0; } .nav-bar { background: #2c3e50; color: white; padding: 15px; border-radius: 6px; margin-bottom: 20px; } .nav-bar a { color: white; text-decoration: none; margin-right: 20px; } .nav-bar a:hover { text-decoration: underline; } .section { margin-bottom: 30px; } hr { border: none; border-top: 2px solid #ecf0f1; margin: 20px 0; } @media (max-width: 768px) { .container { padding: 15px; } table { font-size: 14px; } th, td { padding: 8px; } } </style> </head> <body> <div class="container"> {content} </div> </body> </html>