update,
This commit is contained in:
33
static_page/public/404.html
Normal file
33
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
static_page/public/earth.htm
Normal file
12
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
static_page/public/earth.jpeg
Normal file
BIN
static_page/public/earth.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.9 KiB |
14
static_page/public/iframe_a.htm
Normal file
14
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
static_page/public/iframe_b.htm
Normal file
16
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
static_page/public/iframe_c.htm
Normal file
13
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
static_page/public/iframe_d.htm
Normal file
14
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
static_page/public/iframe_default.htm
Normal file
12
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
static_page/public/iframe_e.htm
Normal file
12
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
static_page/public/index copy.html
Normal file
54
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
static_page/public/index.html
Normal file
71
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
static_page/public/mars.htm
Normal file
12
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
static_page/public/mars.jpg
(Stored with Git LFS)
Normal file
BIN
static_page/public/mars.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
12
static_page/public/moon.htm
Normal file
12
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
static_page/public/moon.jpg
(Stored with Git LFS)
Normal file
BIN
static_page/public/moon.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
static_page/public/planet.jpg
(Stored with Git LFS)
Normal file
BIN
static_page/public/planet.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
12
static_page/public/planets.htm
Normal file
12
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
static_page/public/stars.htm
Normal file
12
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
static_page/public/stars.jpg
(Stored with Git LFS)
Normal file
BIN
static_page/public/stars.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user