Skip to content

Commit 2832d83

Browse files
committed
removed unused parts
1 parent 28220b6 commit 2832d83

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

app/routes/interview.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import os
22
from flask import Blueprint, render_template, request, jsonify, current_app, Response
3-
from werkzeug.utils import secure_filename
43

54
routes_interview = Blueprint('routes_interview', __name__)
65

@@ -32,7 +31,6 @@ def upload_avatar():
3231
if not allowed_file(file.filename):
3332
return jsonify({'ok': False, 'error': 'Invalid file type'}), 400
3433

35-
secure_filename(file.filename)
3634
save_path = os.path.join(UPLOAD_DIR, AVATAR_FILENAME)
3735

3836
file.save(save_path)

app/static/css/interview.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
padding-top: 50px;
88
}
99

10-
/* контейнер под видео/заглушку */
1110
.placeholder-photo {
1211
width: 320px;
1312
height: 240px;
@@ -18,7 +17,6 @@
1817
position: relative;
1918
}
2019

21-
/* видео-аватар */
2220
.avatar-stream {
2321
width: 100%;
2422
height: 100%;
@@ -27,15 +25,13 @@
2725
display: block;
2826
}
2927

30-
/* чёрная заглушка (если видео нет) */
3128
.avatar-placeholder {
3229
width: 100%;
3330
height: 100%;
3431
background: #000;
3532
border-radius: 12px;
3633
}
3734

38-
/* ===== микрофон ===== */
3935
.mic-icon {
4036
font-size: 2.5rem;
4137
color: #007bff;
@@ -64,7 +60,6 @@
6460
font-size: 1.5rem;
6561
}
6662

67-
/* ===== кнопка Начать ===== */
6863
#start-btn {
6964
display: block;
7065
margin: 15px auto 0 auto;
@@ -82,7 +77,6 @@
8277
background-color: #218838;
8378
}
8479

85-
/* ===== кнопка Стоп ===== */
8680
.stop-btn {
8781
position: fixed;
8882
bottom: 20px;
@@ -101,7 +95,6 @@
10195
background-color: #c82333;
10296
}
10397

104-
/* ===== секция таймера и вопросов ===== */
10598
.timer-section {
10699
position: absolute;
107100
top: 50px;

0 commit comments

Comments
 (0)