Compare commits
No commits in common. "8cb9b62b9dc03ab5390d10f26c4af69addb66755" and "7776c82ca1eaafc81ff48eb2330b22890accd610" have entirely different histories.
8cb9b62b9d
...
7776c82ca1
11
main.go
11
main.go
@ -79,10 +79,14 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
websiteapp.Route(apps.Group("/storage"), &appsStorage)
|
websiteapp.Route(apps.Group("/storage"), &appsStorage)
|
||||||
|
// personalpropsroute.Route(apps.Group("/personalproperties"))
|
||||||
}
|
}
|
||||||
|
|
||||||
app := router.Group("application")
|
app := router.Group("application")
|
||||||
{
|
{
|
||||||
|
// app.GET("test", func(ctx *gin.Context) {
|
||||||
|
// ctx.Status(http.StatusOK)
|
||||||
|
// })
|
||||||
persPropApp := app.Group("personal-properties")
|
persPropApp := app.Group("personal-properties")
|
||||||
{
|
{
|
||||||
persPropApp.GET("render", func(ctx *gin.Context) {
|
persPropApp.GET("render", func(ctx *gin.Context) {
|
||||||
@ -128,7 +132,14 @@ func main() {
|
|||||||
router.GET("/test", func(ctx *gin.Context) {
|
router.GET("/test", func(ctx *gin.Context) {
|
||||||
ctx.HTML(200, "kek/kek.tmpl", gin.H{})
|
ctx.HTML(200, "kek/kek.tmpl", gin.H{})
|
||||||
})
|
})
|
||||||
|
// router.GET("/room/:roomid", roomGET)
|
||||||
|
// router.POST("/room-post/:roomid", roomPOST)
|
||||||
|
// router.GET("/stream/:roomid", streamRoom)
|
||||||
|
|
||||||
|
// port := os.Getenv("PORT")
|
||||||
|
// if port == "" {
|
||||||
|
// port = "8080"
|
||||||
|
// }
|
||||||
if err := router.Run(":8080"); err != nil {
|
if err := router.Run(":8080"); err != nil {
|
||||||
log.Panicf("error: %s", err)
|
log.Panicf("error: %s", err)
|
||||||
}
|
}
|
||||||
|
BIN
resources/sys/wde/icons/about-me.png
(Stored with Git LFS)
BIN
resources/sys/wde/icons/about-me.png
(Stored with Git LFS)
Binary file not shown.
BIN
resources/sys/wde/icons/desktop.png
(Stored with Git LFS)
BIN
resources/sys/wde/icons/desktop.png
(Stored with Git LFS)
Binary file not shown.
BIN
resources/sys/wde/icons/folder.png
(Stored with Git LFS)
BIN
resources/sys/wde/icons/folder.png
(Stored with Git LFS)
Binary file not shown.
BIN
resources/sys/wde/icons/trash.png
(Stored with Git LFS)
BIN
resources/sys/wde/icons/trash.png
(Stored with Git LFS)
Binary file not shown.
@ -41,10 +41,6 @@ class WebDesktopEnvironment{
|
|||||||
WebDesktopEnvironment.LoadApp("finder", () =>{
|
WebDesktopEnvironment.LoadApp("finder", () =>{
|
||||||
console.log("lel")
|
console.log("lel")
|
||||||
new FileView("/kek", mobileDesktop.querySelector(".FileTileView"), Finder.Click)
|
new FileView("/kek", mobileDesktop.querySelector(".FileTileView"), Finder.Click)
|
||||||
|
|
||||||
mobileDesktop.querySelector('#about-me').addEventListener('click', (event) => {
|
|
||||||
WebDesktopEnvironment.Open("personal-properties", [])
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
}).then(()=>{
|
}).then(()=>{
|
||||||
|
|
||||||
|
@ -289,7 +289,6 @@
|
|||||||
/* overflow-x: hidden; */
|
/* overflow-x: hidden; */
|
||||||
scrollbar-width: none; /* Firefox */
|
scrollbar-width: none; /* Firefox */
|
||||||
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.FileTileView::-webkit-scrollbar { /* WebKit */
|
.FileTileView::-webkit-scrollbar { /* WebKit */
|
||||||
@ -314,17 +313,4 @@
|
|||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
background-image: url("sys/wde/icons/folder.png");
|
background-image: url("sys/wde/icons/folder.png");
|
||||||
background-size: cover;
|
|
||||||
|
|
||||||
image-rendering: optimizeSpeed; /* STOP SMOOTHING, GIVE ME SPEED */
|
|
||||||
image-rendering: -moz-crisp-edges; /* Firefox */
|
|
||||||
image-rendering: -o-crisp-edges; /* Opera */
|
|
||||||
image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
|
|
||||||
image-rendering: pixelated; /* Universal support since 2021 */
|
|
||||||
image-rendering: optimize-contrast; /* CSS3 Proposed */
|
|
||||||
-ms-interpolation-mode: nearest-neighbor; /* IE8+ */
|
|
||||||
}
|
|
||||||
|
|
||||||
.FileTileTitle{
|
|
||||||
|
|
||||||
}
|
}
|
@ -7,18 +7,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="toolbar">
|
<div id="toolbar">
|
||||||
<div id="about-me" class="FileTile" >
|
<button>Back</button>
|
||||||
<div class="FileTileIcon NoClick" style="background-image: url('./res/sys/wde/icons/about-me.png');"></div>
|
<button>Home</button>
|
||||||
<div class="FileTileTitle NoClick">About Me</div>
|
<button>Close</button>
|
||||||
</div>
|
|
||||||
<div id="Home" class="FileTile">
|
|
||||||
<div class="FileTileIcon NoClick" style="background-image: url('./res/sys/wde/icons/desktop.png');"></div>
|
|
||||||
<div class="FileTileTitle NoClick">Home</div>
|
|
||||||
</div>
|
|
||||||
<div id="Home" class="FileTile">
|
|
||||||
<div class="FileTileIcon NoClick" style="background-image: url('./res/sys/wde/icons/trash.png');"></div>
|
|
||||||
<div class="FileTileTitle NoClick">Close</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user