Видален параметр "Призначення"

This commit is contained in:
2025-10-19 01:21:39 +03:00
parent 3f08f3f6c9
commit c96093c890
9 changed files with 8093 additions and 5633 deletions

View File

@@ -88,15 +88,6 @@
<option value="7">Група 7</option>
</select>
</div>
<div class="editor-blocks-inputs">
<label for="sheep-editor-appointment">Призначення</label>
<select id="sheep-editor-appointment" name="appointment">
<option value="lamb" selected>Вісник</option>
<option value="pioneer">Піонер</option>
<option value="attender">Служитель збору</option>
<option value="elder">Старійшина збору</option>
</select>
</div>
<div class="editor-blocks-inputs">
<label for="sheep-editor-mode">Права</label>
<select id="sheep-editor-mode" name="mode">
@@ -346,15 +337,6 @@
<option value="7">Група 7</option>
</select>
</div>
<div class="addeds-blocks-inputs">
<label for="sheep-addeds-appointment">Призначення</label>
<select id="sheep-addeds-appointment" name="appointment" required>
<option value="lamb" selected>Вісник</option>
<option value="pioneer">Піонер</option>
<option value="attender">Служитель збору</option>
<option value="elder">Старійшина збору</option>
</select>
</div>
<button id="sheep-addeds-button">Додати</button>
</form>

View File

@@ -50,7 +50,6 @@ const SheepsEvents = {
sheep.name = form.elements["name"].value;
sheep.group_id = Number(formData.get("group_id"));
sheep.appointment = formData.get("appointment");
sheep.mode = formData.get("mode");
sheep.mode_title = ["Користувач", "Модератор", "Адміністратор"][sheep.mode] || "Користувач";
@@ -285,14 +284,6 @@ const Sheeps = {
Router.navigate(`sheeps/${id}`, true, false);
// if (id) {
// let objControl = document.getElementsByName('sheep_' + id);
// window.scroll({
// top: objControl[0].offsetTop,
// behavior: 'smooth'
// });
// }
let block_sheep_list = document.getElementById('block-sheeps-list');
let block_sheep_info = document.getElementById('block-sheep-info');
@@ -323,7 +314,6 @@ const Sheeps = {
let sheep_editor_uuid_copy = document.getElementById('sheep-editor-uuid-copy');
let sheep_editor_name = document.getElementById('sheep-editor-name');
let sheep_editor_group_id = document.getElementById('sheep-editor-group_id');
let sheep_editor_appointment = document.getElementById('sheep-editor-appointment');
let sheep_editor_mode = document.getElementById('sheep-editor-mode');
@@ -354,8 +344,6 @@ const Sheeps = {
sheep_editor_group_id.value = sheep.group_id;
sheep_editor_appointment.value = sheep.appointment;
if (USER.mode == 2 && (sheep.mode != 0)) {
sheep_editor_access_moder.style.display = "";

View File

@@ -1,4 +1,4 @@
const STATIC_CACHE_NAME = 'v2.0.1';
const STATIC_CACHE_NAME = 'v2.0.2';
const FILES_TO_CACHE = [
'/',