From ab6d6c2ac95c829565ea78313fdff54fb00e8036 Mon Sep 17 00:00:00 2001 From: Degradin <42292046+Degradin@users.noreply.github.com> Date: Sat, 18 Jan 2025 01:44:23 +0300 Subject: [PATCH] Update index.html --- public/index.html | 262 +--------------------------------------------- 1 file changed, 3 insertions(+), 259 deletions(-) diff --git a/public/index.html b/public/index.html index f7eb824..8db9333 100644 --- a/public/index.html +++ b/public/index.html @@ -6,7 +6,6 @@ Меню игрока @@ -431,39 +207,23 @@ circle {
-<<<<<<< Updated upstream -======= - ->>>>>>> Stashed changes
0
-<<<<<<< Updated upstream

Профиль

-======= -

Профиль

-
-
- ->>>>>>> Stashed changes
0
-<<<<<<< Updated upstream

Персонаж

-======= -

Персонаж

-
->>>>>>> Stashed changes @@ -553,23 +313,11 @@ circle { // Уровни профиля и персонажа document.getElementById("profile-level").textContent = user.profileLevel; document.getElementById("character-level").textContent = user.characterLevel; -<<<<<<< Updated upstream const profileProgress = document.getElementById("profile-progress"); const characterProgress = document.getElementById("character-progress"); profileProgress.style.strokeDashoffset = 251 - (251 * user.profileLevel / 100); characterProgress.style.strokeDashoffset = 251 - (251 * user.characterLevel / 100); -======= - - const profileProgress = document.getElementById("profile-progress"); - const characterProgress = document.getElementById("character-progress"); - profileProgress.style.strokeDashoffset = 251 - (251 * user.profileLevel / 100); - characterProgress.style.strokeDashoffset = 251 - (251 * user.characterLevel / 100); - - - // Уровень в кружке - document.getElementById("level-circle").textContent = user.profileLevel; ->>>>>>> Stashed changes // Установка прогресса HP и Стамины const hpProgress = (user.hp / user.maxHp) * 100; @@ -607,11 +355,7 @@ circle { const progress = (ent.currentResources / ent.warehouseCapacity) * 100; const progressBar = document.createElement("div"); progressBar.classList.add("progress-bar"); -<<<<<<< Updated upstream progressBar.innerHTML = `
`; -======= - progressBar.innerHTML = `
${progress}%
`; ->>>>>>> Stashed changes div.appendChild(progressBar); enterprisesDiv.appendChild(div); });