Compare commits

...

5 Commits

Author SHA1 Message Date
Gerold55 2ac7901d09
Update README.md 2018-08-15 21:32:12 -04:00
Gerold55 6d14cd894b
Merge pull request #4 from Grizzly-Adam/master
Fixed LOTT
2018-08-15 21:31:07 -04:00
Grizzly Adam 5d8f3d4716
Fixed LOTT
Fixed Unexpected Error
2018-08-15 20:18:40 -05:00
Gerold55 dd2d6c3120
Merge pull request #1 from b3u/Add_Sites
Add two websites
2018-07-13 16:19:40 -04:00
b3u ef7a98722a
Update extensions and delete unecessary code. 2018-07-13 15:06:11 -04:00
2 changed files with 14 additions and 17 deletions

View File

@ -1,5 +1,6 @@
# MineBrowse-Sites
A group of sites for the MineBrowse app on the laptop mod.
The websites (lua files) need to be placed into the apps folder of the laptop mod.
This is the repository containing the community of user created sites (referred from here on out as indexes) for the MineBrowse client available with the laptop mod.

View File

@ -1,7 +1,7 @@
-------------------------------------------
-- Lord-Of-The-Test Site
--------------------------------------------
laptop.register_view("lott.online", {
laptop.register_view("lott.web", {
app_info = "Lord of the Test is an amazing minetest subgame!",
browser_page = "true",
browser_main_page = true,
@ -10,10 +10,9 @@ laptop.register_view("lott.online", {
"background[0,1.2;15,9;laptop_lott_bg.png]" ..
--Start Navigation
"container[3,0;]" ..
mtos.theme:get_button('0,1.1;3,1', 'url_bright', 'page_link', 'lott.online', 'Home') ..
mtos.theme:get_button('3,1.1;3,1', 'url_bright', 'page_link', 'lott.online/about', 'About') ..
mtos.theme:get_button('6,1.1;3,1', 'url_bright', 'page_link', 'lott.online/gallery', 'Gallery') ..
mtos.theme:get_button('9,1.1;3,1', 'url_bright', 'page_link', 'lott.online/contact', 'Contact') ..
mtos.theme:get_button('0,1.1;3,1', 'url_bright', 'page_link', 'lott.web', 'Home') ..
mtos.theme:get_button('3,1.1;3,1', 'url_bright', 'page_link', 'lott.web/about', 'About') ..
mtos.theme:get_button('9,1.1;3,1', 'url_bright', 'page_link', 'lott.web/contact', 'Contact') ..
"container_end[]" ..
--End Navigation
--Begin Page Content
@ -27,8 +26,7 @@ laptop.register_view("lott.online", {
mtos.theme:get_label('4, 6.6', 'One server to bring them all, and in the darkness bind them with awesome textures and bug fixes,') ..
mtos.theme:get_label('4,6.9', 'In the land of minetest where the shadows lie.') ..
mtos.theme:get_label('4,7.5', '-red 001') ..
mtos.theme:get_label('4,7.8', '(Based on J.R.R. Tolkien, The Lord of the Rings)') ..
"image_button_exit[4,8.5;3,1;laptop_lott_nav.png;exit;Save]"
mtos.theme:get_label('4,7.8', '(Based on J.R.R. Tolkien, The Lord of the Rings)')
return formspec
end,
receive_fields_func = function(app, mtos, sender, fields)
@ -39,7 +37,7 @@ laptop.register_view("lott.online", {
--------------------------------------------
-- About Page
--------------------------------------------
laptop.register_view("lott.online/about", {
laptop.register_view("lott.web/about", {
app_info = "About the Lord of the Test Game",
browser_page = true,
formspec_func = function(app, mtos)
@ -47,10 +45,9 @@ laptop.register_view("lott.online/about", {
"background[0,1.2;15,9;laptop_lott_bg.png]"..
--Start Navigation
"container[3,0;]" ..
mtos.theme:get_button('0,1.1;3,1', 'url_bright', 'page_link', 'lott.online', 'Home') ..
mtos.theme:get_button('3,1.1;3,1', 'url_bright', 'page_link', 'lott.online/about', 'About') ..
mtos.theme:get_button('6,1.1;3,1', 'url_bright', 'page_link', 'lott.online/gallery', 'Gallery') ..
mtos.theme:get_button('9,1.1;3,1', 'url_bright', 'page_link', 'lott.online/contact', 'Contact') ..
mtos.theme:get_button('0,1.1;3,1', 'url_bright', 'page_link', 'lott.web', 'Home') ..
mtos.theme:get_button('3,1.1;3,1', 'url_bright', 'page_link', 'lott.web/about', 'About') ..
mtos.theme:get_button('9,1.1;3,1', 'url_bright', 'page_link', 'lott.web/contact', 'Contact') ..
"container_end[]" ..
--End Navigation
--Begin Page Content
@ -73,7 +70,7 @@ laptop.register_view("lott.online/about", {
--------------------------------------------
-- Contact Page
--------------------------------------------
laptop.register_view("lott.online/contact", {
laptop.register_view("lott.web/contact", {
app_info = "Contact the Creators",
browser_page = true,
formspec_func = function(app, mtos)
@ -81,10 +78,9 @@ laptop.register_view("lott.online/contact", {
"background[0,1.2;15,9;laptop_lott_bg.png]"..
--Start Navigation
"container[3,0;]" ..
mtos.theme:get_button('0,1.1;3,1', 'url_bright', 'page_link', 'lott.online', 'Home') ..
mtos.theme:get_button('3,1.1;3,1', 'url_bright', 'page_link', 'lott.online/about', 'About') ..
mtos.theme:get_button('6,1.1;3,1', 'url_bright', 'page_link', 'lott.online/gallery', 'Gallery') ..
mtos.theme:get_button('9,1.1;3,1', 'url_bright', 'page_link', 'lott.online/contact', 'Contact') ..
mtos.theme:get_button('0,1.1;3,1', 'url_bright', 'page_link', 'lott.web', 'Home') ..
mtos.theme:get_button('3,1.1;3,1', 'url_bright', 'page_link', 'lott.web/about', 'About') ..
mtos.theme:get_button('9,1.1;3,1', 'url_bright', 'page_link', 'lott.web/contact', 'Contact') ..
"container_end[]" ..
--End Navigation
--Begin Page Content