This commit is contained in:
cyber-dream 2023-07-22 04:10:00 +03:00
parent ec9ef532f6
commit 9f60c185ad
7 changed files with 32 additions and 18 deletions

View File

@ -38,7 +38,7 @@ export default class MobileDesktop{
let path = element.getAttribute('path') //TODO: Validate
element.addEventListener('click', () => {
this.#wde.Open(path, [""], "") //FIXME
this.#wde.Open(path, ["/"], "") //FIXME
})
});
}

View File

@ -35,7 +35,7 @@ export default class WebDesktopEnvironment extends AbstractWebDesktopEnvironment
}
async loadWDE(){
// await this.Open("/Applications/Finder.app", ["/","--desktop", "desktop-layer"])
await this.Open("/Applications/Finder.app", ["/","--desktop", "desktop-layer"])
// await this.Open("/Applications/Finder.app", ["/", "desktop-layer"])
await this.Open("/Applications/AboutMe.app", ["/", "desktop-layer"])
return

View File

@ -1,4 +1,5 @@
<!DOCTYPE HTML>
<meta name="viewport" content="width=device-width, initial-scale=1">
<html lang="en" dir="ltr">
<title>Greg Brzezinski</title>
<head>

View File

@ -1,12 +1,11 @@
{{ define "finder/admin-app.tmpl" }}
<div class="title-bar DragArea">
<button id="closeWindowButton" class="button" title="Close Window"></button>
<div id="Drag" class="visual-drag-area"></div>
<div class="lable">
Admin Finder
</div>
<div id="Drag" class="visual-drag-area"></div>
<div id="Drag" class="visual-drag-area"></div>
<div class="lable">
Admin Finder
</div>
<div id="Drag" class="visual-drag-area"></div>
</div>
<div id="ContentBorder" class="content-border AdjectiveElement">

View File

@ -0,0 +1,22 @@
{{ define "finder/mobile-app.tmpl" }}
<div id="ContentBorder" class="content-border AdjectiveElement">
<div class="finder-content">
<div class="tool-bar">
<!-- <button id="BackButton">Back</button>
<button id="UpButton">Up</button>
<button id="RootButton">/</button>
<button id="HomeButton">Home</button>
<div class="AddressBar" contentEditable="true">You Favorite Movie</div> -->
</div>
<div class="file-view-container">
<div class="FileTileView">
</div>
{{template "wde-widgets/scrollbar.tmpl" .}}
</div>
</div>
</div>
{{ end }}

View File

@ -1,8 +0,0 @@
{{ define "finder/mobile-app.tmpl" }}
<div class="MobileContentBorder">
<div class="FileTileView">
</div>
</div>
{{ end }}

View File

@ -1,9 +1,9 @@
{{ define "personal-properties/app.tmpl" }}
<div class="title-bar DragArea">
<button id="closeWindowButton" class="Button" title="Close Window"></button>
<div id="Drag" class="VisualDragArea"></div>
<div id="Drag" class="visual-drag-area"></div>
<div class="Lable">About me</div>
<div id="Drag" class="VisualDragArea"></div>
<div id="Drag" class="visual-drag-area"></div>
</div>
<div class="content-border">
<div class="PersPropsContent">