DarkSlein db273bab0b Fixed wrong reservaiton time view
Redone reservation indent logic

Web build added
2025-02-15 12:51:07 +03:00

164 lines
5.3 KiB
Plaintext

[gd_scene load_steps=13 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="Script" path="res://src/infra/repos/local/reservation.gd" id="5_6h0eq"]
[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/domain/services/reservation.gd" id="11_5xy2x"]
[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
[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, 0.666667)
layout_mode = 2
size_flags_vertical = 3
[node name="TimeLabel" type="Label" parent="Left/TimeStatusContainer"]
layout_mode = 2
theme = ExtResource("5_atujq")
text = "12:35"
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("5_6h0eq")
[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