Added tablet view Added time Implemented reserve now buttons Implemented auto-scale Implemented reservation edit and deletion
100 lines
3.3 KiB
Plaintext
100 lines
3.3 KiB
Plaintext
[gd_scene load_steps=9 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"]
|
|
|
|
[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 = 1576.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")]
|
|
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
|
|
|
|
[node name="Indent" type="BoxContainer" parent="Left/TimeStatusContainer"]
|
|
custom_minimum_size = Vector2(0, 206.667)
|
|
layout_mode = 2
|
|
|
|
[node name="TimeLabel" type="Label" parent="Left/TimeStatusContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("5_atujq")
|
|
text = "13:48"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="StatusLabel" type="Label" parent="Left/TimeStatusContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("5_atujq")
|
|
text = "Свободно"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="InstantButtons" type="HBoxContainer" parent="Left/TimeStatusContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("6_nde4h")
|
|
|
|
[node name="15min" type="Button" parent="Left/TimeStatusContainer/InstantButtons"]
|
|
layout_mode = 2
|
|
text = "+15 мин"
|
|
|
|
[node name="30min" type="Button" parent="Left/TimeStatusContainer/InstantButtons"]
|
|
layout_mode = 2
|
|
text = "+30 мин"
|
|
|
|
[node name="45min" type="Button" parent="Left/TimeStatusContainer/InstantButtons"]
|
|
layout_mode = 2
|
|
text = "+45 мин"
|
|
|
|
[node name="1h" type="Button" parent="Left/TimeStatusContainer/InstantButtons"]
|
|
layout_mode = 2
|
|
text = "+1 час"
|
|
|
|
[node name="Repos" type="Node" parent="."]
|
|
|
|
[node name="Reservation" type="Node" parent="Repos"]
|
|
script = ExtResource("5_6h0eq")
|