[] General Update: Use HTML files for some apps that don't require variables

All in the title. need to add css for the html tho
This commit is contained in:
WhoAboutYT 2023-10-16 20:47:15 -05:00
parent 570f025515
commit a04467d93d
4 changed files with 28 additions and 3 deletions

12
src/apps/html/music.html Normal file
View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flow v2 App - Music</title>
</head>
<body>
<h1>Music</h1>
<p>TODO: Music</p>
</body>
</html>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flow v2 App - Settings</title>
</head>
<body>
<h1>Settings</h1>
<p>TODO: Settings</p>
</body>
</html>

View file

@ -14,7 +14,8 @@ export default class MusicApp implements App {
icon
})
win.content.innerHTML = 'hi'
// TODO: add css styling (in /apps/html)
win.content.innerHTML = '<iframe src="/src/apps/html/music.html></iframe>'
return win
}

View file

@ -17,9 +17,9 @@ export default class SettingsApp implements App {
})
win.content.style.padding = '10px'
// TODO: add css styling
win.content.innerHTML = `
<h1>Settings</h1>
<p>owo2</p>
win.content.innerHTML = '<iframe src="/src/apps/html/settings.html></iframe>'
`
return win