update,
This commit is contained in:
7
laitof/gitUpdate.bat
Normal file
7
laitof/gitUpdate.bat
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
git status .
|
||||||
|
|
||||||
|
@pause
|
||||||
|
|
||||||
|
git add .
|
||||||
|
git commit -m"update laitof,"
|
||||||
|
start git push
|
5
laitof/static_page/.firebaserc
Normal file
5
laitof/static_page/.firebaserc
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"projects": {
|
||||||
|
"default": "helloworld-b29f6"
|
||||||
|
}
|
||||||
|
}
|
66
laitof/static_page/.gitignore
vendored
Normal file
66
laitof/static_page/.gitignore
vendored
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
firebase-debug.log*
|
||||||
|
firebase-debug.*.log*
|
||||||
|
|
||||||
|
# Firebase cache
|
||||||
|
.firebase/
|
||||||
|
|
||||||
|
# Firebase config
|
||||||
|
|
||||||
|
# Uncomment this if you'd like others to create their own Firebase project.
|
||||||
|
# For a team working on the same Firebase project(s), it is recommended to leave
|
||||||
|
# it commented so all members can deploy to the same project(s) in .firebaserc.
|
||||||
|
# .firebaserc
|
||||||
|
|
||||||
|
# Runtime data
|
||||||
|
pids
|
||||||
|
*.pid
|
||||||
|
*.seed
|
||||||
|
*.pid.lock
|
||||||
|
|
||||||
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||||
|
lib-cov
|
||||||
|
|
||||||
|
# Coverage directory used by tools like istanbul
|
||||||
|
coverage
|
||||||
|
|
||||||
|
# nyc test coverage
|
||||||
|
.nyc_output
|
||||||
|
|
||||||
|
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
||||||
|
.grunt
|
||||||
|
|
||||||
|
# Bower dependency directory (https://bower.io/)
|
||||||
|
bower_components
|
||||||
|
|
||||||
|
# node-waf configuration
|
||||||
|
.lock-wscript
|
||||||
|
|
||||||
|
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
||||||
|
build/Release
|
||||||
|
|
||||||
|
# Dependency directories
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# Optional npm cache directory
|
||||||
|
.npm
|
||||||
|
|
||||||
|
# Optional eslint cache
|
||||||
|
.eslintcache
|
||||||
|
|
||||||
|
# Optional REPL history
|
||||||
|
.node_repl_history
|
||||||
|
|
||||||
|
# Output of 'npm pack'
|
||||||
|
*.tgz
|
||||||
|
|
||||||
|
# Yarn Integrity file
|
||||||
|
.yarn-integrity
|
||||||
|
|
||||||
|
# dotenv environment variables file
|
||||||
|
.env
|
5
laitof/static_page/NOTES.md
Normal file
5
laitof/static_page/NOTES.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# NOTES.md
|
||||||
|
|
||||||
|
- website: https://helloworld-b29f6.web.app/
|
||||||
|
|
||||||
|
delete on 15-Feb-2023
|
3
laitof/static_page/deploy.sh
Normal file
3
laitof/static_page/deploy.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin zsh
|
||||||
|
|
||||||
|
/usr/bin/firebsae deploy
|
10
laitof/static_page/firebase.json
Normal file
10
laitof/static_page/firebase.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"hosting": {
|
||||||
|
"public": "public",
|
||||||
|
"ignore": [
|
||||||
|
"firebase.json",
|
||||||
|
"**/.*",
|
||||||
|
"**/node_modules/**"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
12
laitof/static_page/index.html
Normal file
12
laitof/static_page/index.html
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
helloworld
|
||||||
|
</body>
|
||||||
|
</html>
|
33
laitof/static_page/public/404.html
Normal file
33
laitof/static_page/public/404.html
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>Page Not Found</title>
|
||||||
|
|
||||||
|
<style media="screen">
|
||||||
|
body { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; }
|
||||||
|
#message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px 16px; border-radius: 3px; }
|
||||||
|
#message h3 { color: #888; font-weight: normal; font-size: 16px; margin: 16px 0 12px; }
|
||||||
|
#message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; }
|
||||||
|
#message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;}
|
||||||
|
#message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; }
|
||||||
|
#message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; }
|
||||||
|
#message, #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
|
||||||
|
#load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; }
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
body, #message { margin-top: 0; background: white; box-shadow: none; }
|
||||||
|
body { border-top: 16px solid #ffa100; }
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="message">
|
||||||
|
<h2>404</h2>
|
||||||
|
<h1>Page Not Found</h1>
|
||||||
|
<p>The specified file was not found on this website. Please check the URL for mistakes and try again.</p>
|
||||||
|
<h3>Why am I seeing this?</h3>
|
||||||
|
<p>This page was generated by the Firebase Command-Line Interface. To modify it, edit the <code>404.html</code> file in your project's configured <code>public</code> directory.</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
12
laitof/static_page/public/earth.htm
Normal file
12
laitof/static_page/public/earth.htm
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<img style="height:60vh" src="./earth.jpeg" />
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
laitof/static_page/public/earth.jpeg
Normal file
BIN
laitof/static_page/public/earth.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.9 KiB |
14
laitof/static_page/public/iframe_a.htm
Normal file
14
laitof/static_page/public/iframe_a.htm
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div style="text-align: center;">
|
||||||
|
<h1>Space and Astronomy</h1>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
16
laitof/static_page/public/iframe_b.htm
Normal file
16
laitof/static_page/public/iframe_b.htm
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div><a href="planets" style="font-size: 2rem;" target="iframe_b">Planets</a></div>
|
||||||
|
<div><a href="Stars" style="font-size: 2rem;">Stars</a></div>
|
||||||
|
<div><a href="Earth" style="font-size: 2rem;">Earth</a></div>
|
||||||
|
<div><a href="Moon" style="font-size: 2rem;">Moon</a></div>
|
||||||
|
<div><a href="Mars" style="font-size: 2rem;">Mars</a></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
13
laitof/static_page/public/iframe_c.htm
Normal file
13
laitof/static_page/public/iframe_c.htm
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
Area C should be the place to show the major contents. The first page should be
|
||||||
|
showing the picture.
|
||||||
|
</body>
|
||||||
|
</html>
|
14
laitof/static_page/public/iframe_d.htm
Normal file
14
laitof/static_page/public/iframe_d.htm
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
Area D should be some URL to relevant web site on the Internet that is about space
|
||||||
|
and astronomy, e.g. http://www.nasa.gov. All the links here should be opened as new
|
||||||
|
window.
|
||||||
|
</body>
|
||||||
|
</html>
|
12
laitof/static_page/public/iframe_default.htm
Normal file
12
laitof/static_page/public/iframe_default.htm
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
please cilck a link from the left
|
||||||
|
</body>
|
||||||
|
</html>
|
12
laitof/static_page/public/iframe_e.htm
Normal file
12
laitof/static_page/public/iframe_e.htm
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
Tomas Lai <a href="mailto:mimismchan1006@gmail.com">mimismchan1006@gmail.com</a>
|
||||||
|
</body>
|
||||||
|
</html>
|
54
laitof/static_page/public/index copy.html
Normal file
54
laitof/static_page/public/index copy.html
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body style="padding: 0; margin: 0; box-sizing: border-box;">
|
||||||
|
<div>
|
||||||
|
<div><div style="font-size: 2rem; height: 100px; width: 100vw;">Space and Astronomy</div></div>
|
||||||
|
|
||||||
|
<div style="display: flex; flex-direction: row">
|
||||||
|
<div style="width: 20vw; height: calc( 100vh - 200px )">
|
||||||
|
<div><a onclick="e => handlePlanetOnclick(e)" style="font-size: 2rem;" target="_blank">Planets</a></div>
|
||||||
|
<div><a href="Stars" style="font-size: 2rem;">Stars</a></div>
|
||||||
|
<div><a href="Earth" style="font-size: 2rem;">Earth</a></div>
|
||||||
|
<div><a href="Moon" style="font-size: 2rem;">Moon</a></div>
|
||||||
|
<div><a href="Mars" style="font-size: 2rem;">Mars</a></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="width: 60vw; height: calc( 100vh - 200px )">
|
||||||
|
<div>
|
||||||
|
Area C should be the place to show the major contents. The first page should be showing the picture.
|
||||||
|
<div id="content" ></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="width: 20vw; height: calc( 100vh - 200px )">
|
||||||
|
<div>
|
||||||
|
Area D should be some URL to relevant web site on the Internet that is about space
|
||||||
|
and astronomy, e.g. http://www.nasa.gov. All the links here should be opened as new
|
||||||
|
window.
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<div style="font-size: 1rem; height: 100px; width: 100vw; text-align: center;">
|
||||||
|
Area E should contain your name and email link.
|
||||||
|
Find a free web hosting service and upload on it.
|
||||||
|
Sent me the link though google classroom.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const handlePlanetOnClick = () => alert('helloworld')
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
71
laitof/static_page/public/index.html
Normal file
71
laitof/static_page/public/index.html
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body style="padding: 0; margin: 0; box-sizing: border-box;">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<div style="font-size: 2rem; height: 100px; width: 100vw; ">
|
||||||
|
<div style="text-align: center; padding-top: 2rem;">
|
||||||
|
|
||||||
|
Space and Astronomy
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="height: calc( 100vh - 200px); display: flex; flex-direction: row;">
|
||||||
|
<div style="width: 20vw; height: 100%; ">
|
||||||
|
<div style="padding-left: 2rem; font-size: 2rem;">
|
||||||
|
<h3>picture gallery</h3>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="planets.htm" target="myFrame_mi_g" style="font-size: 2rem;">Planets</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="stars.htm" target="myFrame_mi_g" style="font-size: 2rem;">Stars</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="earth.htm" target="myFrame_mi_g" style="font-size: 2rem;">Earth</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="moon.htm" target="myFrame_mi_g" style="font-size: 2rem;">Moon</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="mars.htm" target="myFrame_mi_g" style="font-size: 2rem;">Mars</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div style="width: 60vw; height: 100%; ">
|
||||||
|
<iframe name="myFrame_mi_g" style="height: 100%; width: 100%;" src="iframe_default.htm"></iframe>
|
||||||
|
</div>
|
||||||
|
<div style="width: 20vw; height: 100%; ">
|
||||||
|
<div style="padding-left: 2rem">
|
||||||
|
<h3>link here will open a new window</h3>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="http://www.nasa.gov" target="_blank">http://www.nasa.gov</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<div style="font-size: 1rem; height: 100px; width: 100vw; text-align: center;">
|
||||||
|
<div style="padding-top: 2rem">
|
||||||
|
Tomas Lai <a href="mailto:mimismchan1006@gmail.com">mimismchan1006@gmail.com</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
12
laitof/static_page/public/mars.htm
Normal file
12
laitof/static_page/public/mars.htm
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<img style="height:60vh" src="./mars.jpg" />
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
laitof/static_page/public/mars.jpg
(Stored with Git LFS)
Normal file
BIN
laitof/static_page/public/mars.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
12
laitof/static_page/public/moon.htm
Normal file
12
laitof/static_page/public/moon.htm
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<img style="height:60vh" src="./moon.jpg" />
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
laitof/static_page/public/moon.jpg
(Stored with Git LFS)
Normal file
BIN
laitof/static_page/public/moon.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
laitof/static_page/public/planet.jpg
(Stored with Git LFS)
Normal file
BIN
laitof/static_page/public/planet.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
12
laitof/static_page/public/planets.htm
Normal file
12
laitof/static_page/public/planets.htm
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<img style="height:60vh" src="./planet.jpg" />
|
||||||
|
</body>
|
||||||
|
</html>
|
12
laitof/static_page/public/stars.htm
Normal file
12
laitof/static_page/public/stars.htm
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<img style="height:60vh" src="./stars.jpg" />
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
laitof/static_page/public/stars.jpg
(Stored with Git LFS)
Normal file
BIN
laitof/static_page/public/stars.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user