2022-08-25 18:28:01 +02:00
|
|
|
[gd_scene load_steps=11 format=2]
|
2022-08-23 11:49:38 +02:00
|
|
|
|
2022-08-23 15:24:20 +02:00
|
|
|
[ext_resource path="res://Main.gd" type="Script" id=1]
|
2022-08-25 01:51:27 +02:00
|
|
|
[ext_resource path="res://addons/web_pages/classes/WebPage.gd" type="Script" id=2]
|
2022-08-25 15:09:54 +02:00
|
|
|
[ext_resource path="res://addons/web_pages/classes/post_entries/WebPageEntryTitleText.gd" type="Script" id=3]
|
2022-08-25 16:05:45 +02:00
|
|
|
[ext_resource path="res://addons/web_pages/classes/post_entries/WebPageEntryText.gd" type="Script" id=4]
|
2022-08-25 18:28:01 +02:00
|
|
|
[ext_resource path="res://addons/web_pages/classes/post_entries/WebPageEntryImage.gd" type="Script" id=5]
|
2022-08-25 15:09:54 +02:00
|
|
|
|
|
|
|
[sub_resource type="Resource" id=1]
|
|
|
|
script = ExtResource( 3 )
|
2022-08-25 20:03:43 +02:00
|
|
|
id = 1
|
2022-08-25 15:20:18 +02:00
|
|
|
text = "asdasdasd"
|
2022-08-25 15:09:54 +02:00
|
|
|
hsize = 1
|
|
|
|
|
2022-08-25 16:05:45 +02:00
|
|
|
[sub_resource type="Resource" id=4]
|
|
|
|
script = ExtResource( 4 )
|
2022-08-25 20:03:43 +02:00
|
|
|
id = 2
|
2022-08-25 16:05:45 +02:00
|
|
|
text = "asdasd
|
|
|
|
|
|
|
|
|
|
|
|
asda
|
|
|
|
|
|
|
|
TEST
|
|
|
|
|
|
|
|
|
2022-08-25 18:28:01 +02:00
|
|
|
A
|
|
|
|
"
|
|
|
|
|
|
|
|
[sub_resource type="Resource" id=5]
|
|
|
|
script = ExtResource( 5 )
|
2022-08-25 20:03:43 +02:00
|
|
|
id = 3
|
2022-08-25 18:28:01 +02:00
|
|
|
image_path = "res://test_img/icon.png"
|
|
|
|
image_url = "img"
|
|
|
|
alt = "Addalt"
|
|
|
|
image_size = Vector2i( 100, 100 )
|
2022-08-25 16:05:45 +02:00
|
|
|
|
2022-08-25 15:09:54 +02:00
|
|
|
[sub_resource type="Resource" id=3]
|
|
|
|
script = ExtResource( 3 )
|
2022-08-25 20:03:43 +02:00
|
|
|
id = 4
|
2022-08-25 15:20:18 +02:00
|
|
|
text = "rtrtrtrttrtA"
|
2022-08-25 15:09:54 +02:00
|
|
|
hsize = 1
|
2022-08-23 22:06:10 +02:00
|
|
|
|
2022-08-25 15:28:46 +02:00
|
|
|
[sub_resource type="Resource" id=2]
|
|
|
|
script = ExtResource( 3 )
|
2022-08-25 20:03:43 +02:00
|
|
|
id = 5
|
2022-08-25 15:28:46 +02:00
|
|
|
text = "weqweqwe"
|
|
|
|
hsize = 1
|
|
|
|
|
2022-08-23 15:24:20 +02:00
|
|
|
[node name="WebServer" type="WebServerSimple"]
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="WebRoot" type="WebRoot" parent="."]
|
|
|
|
|
|
|
|
[node name="index" type="StaticWebPage" parent="WebRoot"]
|
|
|
|
uri_segment = "/"
|
2022-08-25 15:35:23 +02:00
|
|
|
data = "<a href=\"/page\">Page</a>"
|
2022-08-23 16:21:12 +02:00
|
|
|
|
2022-08-25 15:35:23 +02:00
|
|
|
[node name="page" type="WebNode" parent="WebRoot"]
|
|
|
|
uri_segment = "page"
|
2022-08-23 16:21:12 +02:00
|
|
|
script = ExtResource( 2 )
|
2022-08-25 20:03:43 +02:00
|
|
|
allow_web_interface_editing = true
|
2022-08-25 18:28:01 +02:00
|
|
|
entries = [ SubResource( 1 ), SubResource( 4 ), SubResource( 5 ), SubResource( 3 ), SubResource( 2 ) ]
|