[gd_scene load_steps=7 format=3 uid="uid://cu6e3hfdorwcg"] [ext_resource type="Script" path="res://scenes/reservation/reservation_page.gd" id="1_81iob"] [ext_resource type="Theme" uid="uid://cmhwbyqu6nh38" path="res://assets/themes/big.tres" id="2_57fpn"] [ext_resource type="PackedScene" uid="uid://d0fdiesiaajlq" path="res://scenes/common/edit_field.tscn" id="3_lh5s8"] [ext_resource type="PackedScene" uid="uid://e73v63ysty2e" path="res://scenes/common/error_box.tscn" id="4_vg752"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dlqbv"] bg_color = Color(0.6, 0.6, 0.6, 0) border_width_top = 5 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_yafv8"] bg_color = Color(0.6, 0.6, 0.6, 0) border_width_top = 3 border_color = Color(0.8, 0.8, 0.8, 0.392157) [node name="ReservationEdit" type="VBoxContainer"] custom_minimum_size = Vector2(1000, 0) anchors_preset = 10 anchor_right = 1.0 offset_bottom = 23.0 grow_horizontal = 2 theme_override_constants/separation = 35 script = ExtResource("1_81iob") type = 1 [node name="TopBar" type="HBoxContainer" parent="."] layout_mode = 2 theme_override_constants/separation = 50 [node name="BackButton" type="Button" parent="TopBar"] visible = false custom_minimum_size = Vector2(0, 100) layout_mode = 2 theme = ExtResource("2_57fpn") text = "Назад" [node name="Label" type="Label" parent="TopBar"] layout_mode = 2 size_flags_horizontal = 6 theme = ExtResource("2_57fpn") theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) theme_override_constants/shadow_offset_x = 3 theme_override_constants/shadow_offset_y = 3 text = "Изменение бронирования" horizontal_alignment = 1 [node name="ApplyButton" type="Button" parent="TopBar"] visible = false custom_minimum_size = Vector2(0, 100) layout_mode = 2 theme = ExtResource("2_57fpn") text = "Изменить" [node name="Splitter" type="Panel" parent="."] custom_minimum_size = Vector2(0, 15) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_dlqbv") [node name="TitleField" parent="." instance=ExtResource("3_lh5s8")] layout_mode = 2 title = "Название" [node name="Splitter2" type="Panel" parent="."] custom_minimum_size = Vector2(0, 5) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_yafv8") [node name="DateField" parent="." instance=ExtResource("3_lh5s8")] layout_mode = 2 title = "Дата" type = 2 editable = false [node name="StartTimeField" parent="." instance=ExtResource("3_lh5s8")] layout_mode = 2 title = "Начало" type = 3 [node name="FinishTimeField" parent="." instance=ExtResource("3_lh5s8")] layout_mode = 2 title = "Конец" type = 3 [node name="Splitter3" type="Panel" parent="."] custom_minimum_size = Vector2(0, 5) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_yafv8") [node name="CreatorField" parent="." instance=ExtResource("3_lh5s8")] visible = false layout_mode = 2 title = "Создатель" editable = false [node name="RoomField" parent="." instance=ExtResource("3_lh5s8")] layout_mode = 2 title = "Комната" type = 4 [node name="Splitter4" type="Panel" parent="."] visible = false custom_minimum_size = Vector2(0, 5) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_yafv8") [node name="DescriptionField" parent="." instance=ExtResource("3_lh5s8")] visible = false layout_mode = 2 title = "Описание" type = 1 editable = false [node name="Splitter5" type="Panel" parent="."] custom_minimum_size = Vector2(0, 5) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_yafv8") [node name="ErrorBox" parent="." instance=ExtResource("4_vg752")] layout_mode = 2 [node name="BottomBar" type="Control" parent="."] custom_minimum_size = Vector2(1150, 0) layout_mode = 2 size_flags_vertical = 10 [node name="Left" type="HBoxContainer" parent="BottomBar"] layout_mode = 1 anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 offset_top = -100.0 offset_right = 401.0 grow_vertical = 0 theme_override_constants/separation = 50 [node name="BackButton" type="Button" parent="BottomBar/Left"] custom_minimum_size = Vector2(0, 100) layout_mode = 2 theme = ExtResource("2_57fpn") text = " Назад " [node name="DeleteButton" type="Button" parent="BottomBar/Left"] custom_minimum_size = Vector2(0, 100) layout_mode = 2 theme = ExtResource("2_57fpn") text = " Удалить " alignment = 2 [node name="Right" type="HBoxContainer" parent="BottomBar"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -371.0 offset_top = -100.0 grow_horizontal = 0 grow_vertical = 0 alignment = 2 [node name="ApplyButton" type="Button" parent="BottomBar/Right"] custom_minimum_size = Vector2(0, 100) layout_mode = 2 theme = ExtResource("2_57fpn") text = " Изменить " [node name="BottomBarOld" type="BoxContainer" parent="."] visible = false layout_mode = 2 alignment = 2 [node name="DeleteButton" type="Button" parent="BottomBarOld"] custom_minimum_size = Vector2(0, 100) layout_mode = 2 theme = ExtResource("2_57fpn") text = "Удалить" alignment = 2