aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--adminPage.html74
-rw-r--r--index.html67
2 files changed, 77 insertions, 64 deletions
diff --git a/adminPage.html b/adminPage.html
index 07bf5f6..c50a5f7 100644
--- a/adminPage.html
+++ b/adminPage.html
@@ -2,41 +2,49 @@
<!DOCTYPE html>
<html lang="en">
- <head>
- <title>SIUE Zone Container Manager - Admin</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="ZoneStyle.css">
- </head>
+<head>
+ <title>SIUE Zone Container Manager - Admin</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="ZoneStyle.css">
+</head>
- <body>
+<body>
- <!-- sidebar on the left -->
- <div class="sidenav" id="sidebar">
- <ul>
- <li><a href="#">Create Template</a></li>
- <li><a href='#'>View as Student</a></li>
- <li><a href="#">Log Out</a></li>
- </ul>
- </div>
- <!-- sidebar on the left ends -->
- <!-- main container -->
- <div class="terminalContainer">
- <h2>Container</h2>
- <p>Container will go here</p>
- </div>
- <!-- main container ends-->
- <!-- topology summary -->
- <div class="topolSumContainer">
- <h2>Topology Summary</h2>
- <p>Topology summary will go here</p>
- </div>
- <!-- topology summary ends-->
- <!-- container summary -->
- <div class="containSumContainer">
- <h2>Container Summary</h2>
- <p>Container summary will go here</p>
- </div>
+ <!-- sidebar on the left -->
+ <div class="sidenav" id="sidebar">
+ <ul>
+ <li><a href="#">Create Template</a></li>
+ <li><a href='#' onclick="toStudentView()">View as Student</a></li>
+ <li><a href="#" onclick="logOut()">Log Out</a></li>
+ </ul>
+ </div>
+ <!-- sidebar on the left ends -->
+ <!-- main container -->
+ <div class="terminalContainer">
+ <h2>Container</h2>
+ <p>Container will go here</p>
+ </div>
+ <!-- main container ends-->
+ <!-- topology summary -->
+ <div class="topolSumContainer">
+ <h2>Topology Summary</h2>
+ <p>Topology summary will go here</p>
+ </div>
+ <!-- topology summary ends-->
+ <!-- container summary -->
+ <div class="containSumContainer">
+ <h2>Container Summary</h2>
+ <p>Container summary will go here</p>
+ </div>
+ <script>
+ function toStudentView() {
+ location.replace("index.html")
+ }
+ function logOut(){
+ location.replace("login.html")
+ }
+ </script>
- </body>
+</body>
</html> \ No newline at end of file
diff --git a/index.html b/index.html
index 9a52839..4df61fe 100644
--- a/index.html
+++ b/index.html
@@ -2,39 +2,44 @@
<!DOCTYPE html>
<html lang="en">
- <head>
- <title>SIUE Zone Container Manager</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="ZoneStyle.css">
- </head>
+<head>
+ <title>SIUE Zone Container Manager</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="ZoneStyle.css">
+</head>
- <body>
+<body>
- <!-- sidebar on the left -->
- <div class="sidenav" id="sidebar">
- <ul>
- <li><a href="#">Log Out</a></li>
- </ul>
- </div>
- <!-- sidebar on the left ends -->
- <!-- main container -->
- <div class="terminalContainer">
- <h2>Container</h2>
- <p>Container will go here</p>
- </div>
- <!-- main container ends-->
- <!-- topology summary -->
- <div class="topolSumContainer">
- <h2>Topology Summary</h2>
- <p>Topology summary will go here</p>
- </div>
- <!-- topology summary ends-->
- <!-- container summary -->
- <div class="containSumContainer">
- <h2>Container Summary</h2>
- <p>Container summary will go here</p>
- </div>
+ <!-- sidebar on the left -->
+ <div class="sidenav" id="sidebar">
+ <ul>
+ <li><a href="#" onclick="logOut()">Log Out</a></li>
+ </ul>
+ </div>
+ <!-- sidebar on the left ends -->
+ <!-- main container -->
+ <div class="terminalContainer">
+ <h2>Container</h2>
+ <p>Container will go here</p>
+ </div>
+ <!-- main container ends-->
+ <!-- topology summary -->
+ <div class="topolSumContainer">
+ <h2>Topology Summary</h2>
+ <p>Topology summary will go here</p>
+ </div>
+ <!-- topology summary ends-->
+ <!-- container summary -->
+ <div class="containSumContainer">
+ <h2>Container Summary</h2>
+ <p>Container summary will go here</p>
+ </div>
- </body>
+ <script>
+ function logOut() {
+ location.replace("login.html")
+ }
+ </script>
+</body>
</html> \ No newline at end of file