diff --git a/LICENSE.md b/LICENSE.md index cac506e..9ab5364 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -12,6 +12,8 @@ * Brython licensed by [BSD-3-Clause License](./LICENCE_BSD3Clause.TXT) +* Also used Geolocation Services of [CodeTabs](https://github.com/jolav/codetabs) + > Ubuntu and Canonical are registered trademarks of Canonical Ltd. > Gnome are registered trademarks of Gnome. diff --git a/README.md b/README.md index 7617e0d..6f5d7f4 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,24 @@ For introduce the Ubuntu environment' beauty (on web) and for fun. :) I was insp ## To-Do List * Increase clone apps' functionality -* [12] Create more clone application +* [13] Create more clone application * [+] Update interface to similar Ubuntu 21.10 interface * [-] Update interface to similar Ubuntu 22.04 interface +## App Demo Mode + + You can present your demo app with that project. + +> `https://malisipi.github.io/ubuntu-tour/?[`name`,`icon`,`location`]` + +* name: Your app's name +* icon: Your app's icon +* location: Your app's website + +> You can't send notification or create a new window. Because your app demo that hosted on another domain will be blocked by CORS policy. If you need to create a more powerful app demo, You can host the project with together your app demo. + +> https://malisipi.github.io/ubuntu-tour/?[%22Ubuntu-Tour%22,%22https://malisipi.github.io/ubuntu-tour/%22,%22https://malisipi.github.io/ubuntu-tour/icons/Suru/Suru/scalable/places/start-here-symbolic.svg%22] + ## Notes > Ubuntu Tour is compatible with touch devices. (Window resize on mobile is harder than on computer. And some browsers may not support resize on mobile.) diff --git a/apps/filemanager/js/app.js b/apps/filemanager/js/app.js index 5116029..e814849 100644 --- a/apps/filemanager/js/app.js +++ b/apps/filemanager/js/app.js @@ -8,22 +8,22 @@ function goToForward(){ function goTo(){ if (window.event.keyCode == '13'){ - alert("It's just a demo :)") + parent.parent.showNotification("It's just a demo :)","","",1250); } } function showMenu(){ - alert("It's just a demo :)"); + parent.parent.showNotification("It's just a demo :)","","",1250); } function showAsList(){ - alert("It's just a demo :)") + parent.parent.showNotification("It's just a demo :)","","",1250); } function changeLook(){ - alert("It's just a demo :)") + parent.parent.showNotification("It's just a demo :)","","",1250); } function searchAnything(){ - alert("It's just a demo :)") + parent.parent.showNotification("It's just a demo :)","","",1250); } \ No newline at end of file diff --git a/apps/filemanager/js/folderview.js b/apps/filemanager/js/folderview.js index f2f0570..cdda1dd 100644 --- a/apps/filemanager/js/folderview.js +++ b/apps/filemanager/js/folderview.js @@ -33,6 +33,6 @@ function openFile(theFile){ if(theFile=="Tjbk79TARiE.jpg") aboutFile=["../../icons/unsplash/Tjbk79TARiE.jpg","picture"]; if(aboutFile[1]=="picture"){ - parent.parent.window_create_special(parent.parent.createRandomWindowID(),'apps/imageviewer/index.html?file='+aboutFile[0],'Image Viewer','icons/Suru/Suru/48x48/apps/image-viewer-app.png'); + parent.parent.start_app('eog',"file="+aboutFile[0]); } } \ No newline at end of file diff --git a/apps/filemanager/other_locations.html b/apps/filemanager/other_locations.html index 716a634..f6170bc 100644 --- a/apps/filemanager/other_locations.html +++ b/apps/filemanager/other_locations.html @@ -7,7 +7,7 @@
diff --git a/apps/filemanager/trash.html b/apps/filemanager/trash.html index 63a3d46..29a2807 100644 --- a/apps/filemanager/trash.html +++ b/apps/filemanager/trash.html @@ -10,8 +10,8 @@ | |
Trash | - - + + |