mirror of
https://github.com/Relintai/pandemonium_cms.git
synced 2024-11-14 09:37:19 +01:00
64 lines
2.3 KiB
Plaintext
64 lines
2.3 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://WebRoot.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://StaticMain.gd" type="Script" id=2]
|
|
[ext_resource path="res://StaticWebServerSimple.gd" type="Script" id=3]
|
|
[ext_resource path="res://StaticMainNode.gd" type="Script" id=4]
|
|
[ext_resource path="res://WebRoot.gd" type="Script" id=5]
|
|
[ext_resource path="res://web_perm_test/webpermission_static_export.tres" type="WebPermission" id=6]
|
|
|
|
[node name="StaticMain" type="Node"]
|
|
script = ExtResource( 4 )
|
|
|
|
[node name="StaticMain" type="WebServer" parent="."]
|
|
script = ExtResource( 2 )
|
|
web_permission = ExtResource( 6 )
|
|
|
|
[node name="WebRoot" parent="StaticMain" instance=ExtResource( 1 )]
|
|
www_root_path = "res://www/"
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="StaticMain"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="StaticMain/PanelContainer"]
|
|
margin_left = 7.0
|
|
margin_top = 7.0
|
|
margin_right = 1017.0
|
|
margin_bottom = 593.0
|
|
alignment = 1
|
|
|
|
[node name="ExportButton" type="Button" parent="StaticMain/PanelContainer/VBoxContainer"]
|
|
margin_top = 255.0
|
|
margin_right = 1010.0
|
|
margin_bottom = 275.0
|
|
text = "Export"
|
|
|
|
[node name="OpenFolderButton" type="Button" parent="StaticMain/PanelContainer/VBoxContainer"]
|
|
margin_top = 279.0
|
|
margin_right = 1010.0
|
|
margin_bottom = 299.0
|
|
text = "Open Export Folder"
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="StaticMain/PanelContainer/VBoxContainer"]
|
|
margin_top = 303.0
|
|
margin_right = 1010.0
|
|
margin_bottom = 307.0
|
|
|
|
[node name="ServeON" type="Button" parent="StaticMain/PanelContainer/VBoxContainer"]
|
|
margin_top = 311.0
|
|
margin_right = 1010.0
|
|
margin_bottom = 331.0
|
|
text = "Serve Exported Folder ON"
|
|
|
|
[node name="WebServerSimple" type="WebServerSimple" parent="."]
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="WebRoot" type="WebRoot" parent="WebServerSimple"]
|
|
routing_enabled = false
|
|
script = ExtResource( 5 )
|
|
|
|
[connection signal="pressed" from="StaticMain/PanelContainer/VBoxContainer/ExportButton" to="StaticMain" method="_on_ExportButton_pressed"]
|
|
[connection signal="pressed" from="StaticMain/PanelContainer/VBoxContainer/OpenFolderButton" to="StaticMain" method="_on_OpenFolderButton_pressed"]
|
|
[connection signal="pressed" from="StaticMain/PanelContainer/VBoxContainer/ServeON" to="." method="_on_ServeON_pressed"]
|