
Post 699
2025-02-25 - 17:29:36
document.addEventListener("DOMContentLoaded", function () {
const form = document.querySelector(".signupform");
if (!form) return;
form.querySelector("#fitem_id_username .col-form-label").innerHTML = "E-mail";
const usernameInput = form.querySelector("#id_username");
const emailInput = form.querySelector("#id_email");
const email2Input = form.querySelector("#id_email2");
if (usernameInput && emailInput && email2Input) {
usernameInput.addEventListener("input", function () {
emailInput.value = this.value;
email2Input.value = this.value;
});
}
// Скрытие ненужных элементов
["#fitem_id_email", "#fitem_id_email2", "#fitem_id_country", "#fitem_id_city"]
.forEach(selector => {
const element = form.querySelector(selector);
if (element) element.style.display = "none";
});
// Обновление лейблов и плейсхолдеров
const labels = {
"#id_firstname_label": "Имя и Отчество (Name and Patronymic)<br>[Дмитрий Александрович]",
"#id_lastname_label": "Фамилия (Last name)<br>[Петров]"
};
for (const [selector, text] of Object.entries(labels)) {
const label = form.querySelector(selector);
if (label) label.innerHTML = text;
}
const placeholders = {
"#id_firstname": "Имя Отчество",
"#id_lastname": "Фамилия"
};
for (const [selector, text] of Object.entries(placeholders)) {
const input = form.querySelector(selector);
if (input) input.placeholder = text;
}
// Упрощение стилей для .fdate_selector
const dateSelector = form.querySelector(".fdate_selector");
if (dateSelector) {
dateSelector.style.flexWrap = "wrap";
dateSelector.style.gap = "1rem";
}
// Hide Element on lostforgot page
const forgotFormUsername = document.querySelector("#id_searchbyusername");
if (forgotFormUsername) forgotFormUsername.style.display = "none";
});
Post 698
2025-02-21 - 02:03:39
qw with comment or none
Post 696
2025-02-19 - 00:29:29
async def construct_text_summary(summary: dict):
all_rows = []
for chapter in summary.get('chapters'):
chapter_time = chapter.get('startTime')
chapter_title = chapter.get('content')
title_html = f'<b>{chapter_time} - {chapter_title}</b>'
theses = [' • ' + thesis.get('content') for thesis in chapter.get('theses')]
rows = [title_html] + theses + ['']
all_rows += rows
return '\n'.join(all_rows)
Post 695
2025-02-17 - 03:28:21
Choose one of these options.
Exit in seconds: 8

Post 693
2025-02-04 - 12:44:37
Мой пет-проект спустя год учебы на программиста
youtu.be/43hci8QsHSg [11:41]
Идущий к IT
🗂 File: 693-audio.m4a
Post 692
2025-02-04 - 12:43:22
⏳ Preparing...