Skip to content

Commit

Permalink
Merge pull request #12 from lzpmpc005/f
Browse files Browse the repository at this point in the history
add templates for visitor and staff
  • Loading branch information
vincentyelpen authored Feb 26, 2024
2 parents 8a5ebd7 + 4acb0a0 commit 90e16df
Show file tree
Hide file tree
Showing 4 changed files with 317 additions and 0 deletions.
86 changes: 86 additions & 0 deletions DigitalZoo/templates/animalmanagement.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Animal Management</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
.container {
width: 80%;
margin: auto;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin-top: 50px;
}
header,
nav,
aside,
main {
padding: 10px;
margin-bottom: 20px;
background-color: #ffffff;
color: #000000;
}
nav ul {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
justify-content: space-between;
}
nav ul li {
display: inline;
margin-right: 20px;
}
a {
color: #000000;
text-decoration: none;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
}
header nav {
margin-left: auto;
}
</style>
</head>
<body>
<header>
<h1>Zoo Connect Staff Portal</h1>
<nav>
<ul>
<li><a href="#">User Option</a></li>
<li><a href="#">Notification</a></li>
<li><a href="#">IT Support</a></li>
</ul>
</nav>
</header>

<nav>
<ul>
<li><a href="http://localhost:8000/digitalzoo/staffportal/" target="_self">Home</a></li>
<li><a href="#">My Area</a></li>
<li><a href="#">Venue Management</a></li>
<li><a href="http://localhost:8000/digitalzoo/staffportal/animal/" target="_self">Animal Management</a></li>
<li><a href="#">Festival Management</a></li>
</ul>
</nav>

<div class="container">
<main>
<h2>Main Content</h2>
<p>Hello.</p>
</main>
</div>
</body>
</html>
93 changes: 93 additions & 0 deletions DigitalZoo/templates/homepage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Home Page</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
.container {
width: 80%;
margin: auto;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin-top: 50px;
}
header,
nav,
aside,
main {
padding: 10px;
margin-bottom: 20px;
background-color: #ffffff;
color: #000000;
}
nav ul {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
justify-content: space-between;
}
nav ul li {
display: inline;
margin-right: 20px;
}
a {
color: #000000;
text-decoration: none;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
}
header nav {
margin-left: auto;
}
</style>
</head>
<body>
<header>
<h1>Zoo Connect</h1>
<nav>
<ul>
<li><a href="http://localhost:8000/digitalzoo/staffportal/" target="_self">Staff Portal</a></li>
<li><a href="#">Tourist Portal</a></li>
<li><a href="#">Contact Us</a></li>
<li><a href="#">Join Us</a></li>
</ul>
</nav>
</header>

<nav>
<ul>
<li><a href="http://localhost:8000/digitalzoo/homepage/" target="_self">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Plan Your Journey</a></li>
<li><a href="#">Venue Information</a></li>
<li><a href="#">Animal World</a></li>
<li><a href="#">Zoo Festival</a></li>
</ul>
</nav>

<div class="container">
<aside>
<h2>About Us</h2>
<p>Hello.</p>
</aside>

<main>
<h2>Main Content</h2>
<p>Hello.</p>
</main>
</div>
</body>
</html>
91 changes: 91 additions & 0 deletions DigitalZoo/templates/staffportal.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Staff Portal</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
.container {
width: 80%;
margin: auto;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin-top: 50px;
}
header,
nav,
aside,
main {
padding: 10px;
margin-bottom: 20px;
background-color: #ffffff;
color: #000000;
}
nav ul {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
justify-content: space-between;
}
nav ul li {
display: inline;
margin-right: 20px;
}
a {
color: #000000;
text-decoration: none;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
}
header nav {
margin-left: auto;
}
</style>
</head>
<body>
<header>
<h1>Zoo Connect Staff Portal</h1>
<nav>
<ul>
<li><a href="#">User Option</a></li>
<li><a href="#">Notification</a></li>
<li><a href="#">IT Support</a></li>
</ul>
</nav>
</header>

<nav>
<ul>
<li><a href="http://localhost:8000/digitalzoo/staffportal/" target="_self">Home</a></li>
<li><a href="#">My Area</a></li>
<li><a href="#">Venue Management</a></li>
<li><a href="http://localhost:8000/digitalzoo/staffportal/animal/" target="_self">Animal Management</a></li>
<li><a href="#">Festival Management</a></li>
</ul>
</nav>

<div class="container">
<aside>
<h2>About Us</h2>
<p>Hello.</p>
</aside>

<main>
<h2>Main Content</h2>
<p>Hello.</p>
</main>
</div>
</body>
</html>
47 changes: 47 additions & 0 deletions UML.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,50 @@ Species "1" --> "0..*" Animal: has
Venue "1" --> "0..*" Animal: has

@enduml

# Use Case Diagram

@startuml

left to right direction

actor "Tourist" << human >> as T
actor "ZooStaff" << human >> as ZS

rectangle "Digital Zoo\nManagement System" {

rectangle "Staff Portal" << application >> {

rectangle "Animal\nManagement"{
usecase (CRUD Animal) as UC1

}

}

rectangle "Tourist Interface" << application >> {


usecase (Browse Informantion) as UC5

}

rectangle "Database Server" << server >> {
usecase (Store Data) as UC7
usecase (Return Data) as UC8
}

}

ZS --> UC1

UC1 --> UC7

UC8 --> ZS

T --> UC5

UC5 --> UC8

UC8 --> T
@enduml

0 comments on commit 90e16df

Please sign in to comment.