[gd_scene load_steps=8 format=3 uid="uid://csfn8q6b5hj4y"] [ext_resource type="Theme" uid="uid://cmhwbyqu6nh38" path="res://assets/themes/big.tres" id="1_j1bkw"] [ext_resource type="Script" path="res://scenes/reservation/reservation_page.gd" id="1_prqr3"] [ext_resource type="PackedScene" uid="uid://d0fdiesiaajlq" path="res://scenes/common/edit_field.tscn" id="2_qfs8j"] [ext_resource type="PackedScene" uid="uid://e73v63ysty2e" path="res://scenes/common/error_box.tscn" id="4_ja64k"] [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) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_r7q2r"] 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="ReservationCreation" type="VBoxContainer"] anchors_preset = 10 anchor_right = 1.0 offset_bottom = 23.0 grow_horizontal = 2 theme_override_constants/separation = 35 script = ExtResource("1_prqr3") [node name="Indent" type="BoxContainer" parent="."] layout_mode = 2 [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("1_j1bkw") text = "Назад" [node name="Label" type="Label" parent="TopBar"] layout_mode = 2 size_flags_horizontal = 6 theme = ExtResource("1_j1bkw") 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("1_j1bkw") 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("2_qfs8j")] 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("2_qfs8j")] layout_mode = 2 title = "Дата" type = 2 editable = false [node name="StartTimeField" parent="." instance=ExtResource("2_qfs8j")] layout_mode = 2 title = "Начало" type = 3 [node name="FinishTimeField" parent="." instance=ExtResource("2_qfs8j")] 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("2_qfs8j")] visible = false layout_mode = 2 title = "Создатель" editable = false [node name="RoomField" parent="." instance=ExtResource("2_qfs8j")] 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("2_qfs8j")] visible = false layout_mode = 2 title = "Описание" type = 1 [node name="Splitter5" type="Panel" parent="."] visible = false custom_minimum_size = Vector2(0, 5) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_r7q2r") [node name="ErrorBox" parent="." instance=ExtResource("4_ja64k")] 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("1_j1bkw") text = " Назад " [node name="DeleteButton" type="Button" parent="BottomBar/Left"] visible = false custom_minimum_size = Vector2(0, 100) layout_mode = 2 theme = ExtResource("1_j1bkw") 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("1_j1bkw") 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("1_j1bkw") text = "Удалить" alignment = 2