mirror of
https://github.com/Relintai/pandemonium_demo_projects.git
synced 2024-12-21 13:56:50 +01:00
Added a LinkButton to the static pages demo.
This commit is contained in:
parent
bed9cd24f1
commit
2bb64831f9
@ -40,8 +40,50 @@ __meta__ = {
|
||||
|
||||
[node name="StaticWebPageFile" type="StaticWebPageFile" parent="WebServerSimple/WebRoot"]
|
||||
uri_segment = "test_md"
|
||||
data = "<h1>Header</h1>
|
||||
|
||||
<h2>Sub header</h2>
|
||||
|
||||
<p>This is an md file!</p>
|
||||
"
|
||||
file_path = "res://test.md"
|
||||
|
||||
[node name="StaticWebPageFolderFiles" type="StaticWebPageFolderFiles" parent="WebServerSimple/WebRoot"]
|
||||
uri_segment = "md_files_folder"
|
||||
data = "<h1>Header 2</h1>
|
||||
|
||||
<h2>Sub header</h2>
|
||||
|
||||
<p>This is md file 2</p>
|
||||
<h1>Header 1</h1>
|
||||
|
||||
<h2>Sub header</h2>
|
||||
|
||||
<p>This is md file 1</p>
|
||||
<h1>Header 3</h1>
|
||||
|
||||
<h2>Sub header</h2>
|
||||
|
||||
<p>This is md file 3</p>
|
||||
"
|
||||
dir_path = "res://md_files/"
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
||||
margin_left = 7.0
|
||||
margin_top = 7.0
|
||||
margin_right = 1017.0
|
||||
margin_bottom = 593.0
|
||||
alignment = 1
|
||||
|
||||
[node name="LinkButton" type="LinkButton" parent="PanelContainer/VBoxContainer"]
|
||||
margin_left = 391.0
|
||||
margin_top = 286.0
|
||||
margin_right = 619.0
|
||||
margin_bottom = 300.0
|
||||
size_flags_horizontal = 4
|
||||
text = "Click to open http://127.0.0.1:8080/"
|
||||
uri = "http://127.0.0.1:8080/"
|
||||
|
Loading…
Reference in New Issue
Block a user