[gd_scene load_steps=14 format=3 uid="uid://bkrvh8vjpgqot"] [ext_resource type="Script" path="res://scenes/main/main_tablet.gd" id="1_fr6s5"] [ext_resource type="PackedScene" uid="uid://c431r28ef5edp" path="res://scenes/board/board.tscn" id="2_n47h4"] [ext_resource type="PackedScene" uid="uid://csfn8q6b5hj4y" path="res://scenes/reservation/reservation_creation.tscn" id="3_j6x1g"] [ext_resource type="PackedScene" uid="uid://cu6e3hfdorwcg" path="res://scenes/reservation/reservation_edit.tscn" id="4_hyj5n"] [ext_resource type="PackedScene" uid="uid://cxs8xe5w32jo4" path="res://scenes/common/time/time_setting.tscn" id="4_wyf5q"] [ext_resource type="Theme" uid="uid://byopik87nb8vv" path="res://assets/themes/status_font.tres" id="5_atujq"] [ext_resource type="Theme" uid="uid://yn1nbokvmv6n" path="res://assets/themes/small.tres" id="6_nde4h"] [ext_resource type="Theme" uid="uid://b8tbd62jtmgdx" path="res://assets/themes/instant_button_font.tres" id="8_bmn8p"] [ext_resource type="Theme" uid="uid://cmhwbyqu6nh38" path="res://assets/themes/big.tres" id="9_wpf8g"] [ext_resource type="Script" path="res://src/infra/repos/backend/reservation_http.gd" id="10_v7sup"] [ext_resource type="Script" path="res://src/domain/services/reservation.gd" id="11_5xy2x"] [ext_resource type="Script" path="res://src/infra/repos/backend/event_handler_ws.gd" id="11_de30t"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uus54"] 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="Main" type="Control"] layout_mode = 3 anchor_left = 0.02 anchor_top = 0.01 anchor_right = 0.98 anchor_bottom = 0.99 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_fr6s5") [node name="Background" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.133333, 0.14902, 0.176471, 1) [node name="Left" type="HBoxContainer" parent="."] layout_mode = 1 anchors_preset = 9 anchor_bottom = 1.0 offset_right = 1781.0 grow_vertical = 2 [node name="Pages" type="BoxContainer" parent="Left"] custom_minimum_size = Vector2(1200, 0) layout_mode = 2 size_flags_horizontal = 3 [node name="Board" parent="Left/Pages" instance=ExtResource("2_n47h4")] layout_mode = 2 [node name="ReservationCreation" parent="Left/Pages" instance=ExtResource("3_j6x1g")] visible = false layout_mode = 2 [node name="ReservationEdit" parent="Left/Pages" instance=ExtResource("4_hyj5n")] visible = false layout_mode = 2 [node name="TimeSetting" parent="Left/Pages" instance=ExtResource("4_wyf5q")] visible = false layout_mode = 2 size_flags_horizontal = 3 [node name="TimeStatusContainer" type="VBoxContainer" parent="Left"] layout_mode = 2 size_flags_horizontal = 10 size_flags_vertical = 0 [node name="Indent" type="BoxContainer" parent="Left/TimeStatusContainer"] custom_minimum_size = Vector2(0, 195) layout_mode = 2 size_flags_vertical = 3 [node name="TimeLabel" type="Label" parent="Left/TimeStatusContainer"] layout_mode = 2 theme = ExtResource("5_atujq") text = "20:38" horizontal_alignment = 1 [node name="StatusLabel" type="Label" parent="Left/TimeStatusContainer"] layout_mode = 2 theme = ExtResource("5_atujq") text = "Свободно" horizontal_alignment = 1 [node name="ReserveNowBox" type="VBoxContainer" parent="Left/TimeStatusContainer"] layout_mode = 2 theme_override_constants/separation = 20 [node name="Splitter3" type="Panel" parent="Left/TimeStatusContainer/ReserveNowBox"] custom_minimum_size = Vector2(0, 5) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_uus54") [node name="ReserveNowLabel" type="Label" parent="Left/TimeStatusContainer/ReserveNowBox"] layout_mode = 2 theme = ExtResource("6_nde4h") text = "Забронировать сейчас на" horizontal_alignment = 1 [node name="InstantButtons" type="HBoxContainer" parent="Left/TimeStatusContainer/ReserveNowBox"] layout_mode = 2 theme = ExtResource("8_bmn8p") theme_override_constants/separation = 25 [node name="_15min" type="Button" parent="Left/TimeStatusContainer/ReserveNowBox/InstantButtons"] layout_mode = 2 text = "15 мин" [node name="_30min" type="Button" parent="Left/TimeStatusContainer/ReserveNowBox/InstantButtons"] layout_mode = 2 text = "30 мин" [node name="_45min" type="Button" parent="Left/TimeStatusContainer/ReserveNowBox/InstantButtons"] layout_mode = 2 text = "45 мин" [node name="_1h" type="Button" parent="Left/TimeStatusContainer/ReserveNowBox/InstantButtons"] layout_mode = 2 text = "1 час" [node name="RightBottom" type="BoxContainer" parent="."] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -40.0 offset_top = -40.0 grow_horizontal = 0 grow_vertical = 0 [node name="CreateReservationButton" type="Button" parent="RightBottom"] layout_mode = 2 theme = ExtResource("9_wpf8g") text = "Забронировать" [node name="Repos" type="Node" parent="."] [node name="Reservation" type="Node" parent="Repos"] script = ExtResource("10_v7sup") [node name="EventHandler" type="Node" parent="Repos"] script = ExtResource("11_de30t") [node name="Services" type="Node" parent="."] [node name="ReservationService" type="Node" parent="Services"] script = ExtResource("11_5xy2x") [node name="DialogBox" type="VBoxContainer" parent="."] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -20.0 offset_top = -20.0 offset_right = 20.0 offset_bottom = 20.0 grow_horizontal = 2 grow_vertical = 2