-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
100 lines (89 loc) · 4.71 KB
/
index.html
File metadata and controls
100 lines (89 loc) · 4.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FCT-Team Code Generator</title>
<link rel="icon" href="https://i.ibb.co/jZz8g0Rk/market16-17.png" type="image/png">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="lang-switcher">
<select id="lang-select" class="lang-dropdown" onchange="setLanguage(this.value)" aria-label="Language selector">
<option value="ru">Русский</option>
<option value="en">English</option>
<option value="uk">Українська</option>
<option value="kk">Қазақша</option>
<option value="cs">Čeština</option>
<option value="nl">Nederlands</option>
<option value="sv">Svenska</option>
<option value="de">Deutsch</option>
<option value="pl">Polski</option>
<option value="fr">Français</option>
<option value="zh">中文</option>
<option value="ja">日本語</option>
</select>
</div>
<h1 data-i18n="title">Market Code Generator By FCT-team</h1>
<div class="block">
<label for="quality-percentages" data-i18n="qualityPercentagesLabel">Проценты для качества (normal, uncommon, rare, epic, legendary):</label>
<input type="text" id="quality-percentages" value="0,30,120,270,600" />
</div>
<div class="block">
<label for="discount-percentage" data-i18n="discountLabel">Уменьшить стоимость на (%):</label>
<input type="number" id="discount-percentage" value="10" min="0" max="100" step="1" />
</div>
<div class="block">
<label>
<input type="checkbox" id="toggle-second-sentences" onchange="toggleSecondSentences()">
<span data-i18n="hideEverySecond">Скрыть каждое 2 предложение</span>
</label>
</div>
<div class="block">
<label for="num-rows" data-i18n="numberOfOffers">Количество предложений:</label>
<span id="half-value">(1)</span>
<input type="number" id="num-rows" value="2" min="2" step="2" oninput="updateHalfValue()" />
<button onclick="generateRows()" data-i18n="addRows">Добавить строки</button>
</div>
<div id="rows-container" class="block"></div>
<div class="block">
<button onclick="generateCode()" data-i18n="refreshCode">Обновить код</button>
<button onclick="toggleCodeTags()" data-i18n="toggleCodeTags">Добавить/Убрать [code] теги</button>
</div>
<div class="block">
<textarea id="output" readonly></textarea>
<button onclick="copyToClipboard()" data-i18n="copyCode">Скопировать код</button>
</div>
<div id="dropdown-modal" class="dropdown-modal hidden">
<div class="dropdown-modal-content">
<h2 data-i18n="chooseItem">Выберите предмет</h2>
<div class="search-container">
<input type="text" id="search-input" class="search-input" data-i18n-placeholder="searchPlaceholder" placeholder="Поиск предмета..." onkeyup="filterItems()">
</div>
<div class="dropdown-container" id="dropdown-items"></div>
<div class="pagination" id="pagination-controls"></div>
<button onclick="closeDropdown()" data-i18n="close">Закрыть</button>
</div>
</div>
<div class="contacts">
<p>🐞YouTube: <a href="https://www.youtube.com/@FCT-Ostin" target="_blank" data-i18n="linkText">ссылка</a></p>
<p>💙Telegram: <a href="https://t.me/FCTostin" target="_blank" data-i18n="linkText">ссылка</a></p>
<p>🎮Steam Группа: <a href="https://steamcommunity.com/groups/FCTgroup" target="_blank" data-i18n="linkText">ссылка</a></p>
<p>🕹️Patreon: <a href="https://www.patreon.com/c/OstinFCT" target="_blank" data-i18n="linkText">ссылка</a></p>
<p>🪐Boosty: <a href="https://boosty.to/ostinfct" target="_blank" data-i18n="linkText">ссылка</a></p>
</div>
<script src="profiles/ru.js"></script>
<script src="profiles/en.js"></script>
<script src="profiles/uk.js"></script>
<script src="profiles/kk.js"></script>
<script src="profiles/cs.js"></script>
<script src="profiles/nl.js"></script>
<script src="profiles/sv.js"></script>
<script src="profiles/de.js"></script>
<script src="profiles/pl.js"></script>
<script src="profiles/fr.js"></script>
<script src="profiles/zh.js"></script>
<script src="profiles/ja.js"></script>
<script src="script.js"></script>
</body>
</html>