Skip to content

Commit

Permalink
dashboard in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
Musoye committed Jun 5, 2023
1 parent d9b6659 commit 47ea433
Show file tree
Hide file tree
Showing 5 changed files with 165 additions and 0 deletions.
Binary file added frontend/Maclogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 64 additions & 0 deletions frontend/dashboard.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<!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" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous" />
<script src="https://code.jquery.com/jquery-3.6.1.slim.js"
integrity="sha256-tXm+sa1uzsbFnbXt8GJqsgi2Tw+m4BLGDof6eUPjbtk=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">

<link rel="stylesheet" href="index.css" />
<title>Dashboard - Time Master</title>
</head>

<body>
<div class="sidebar" style="margin-top: 10px;">
<img src="Maclogo.png" alt="" class="img" />
<div class="side-1 sid"><a href="#"><i class="bi bi-house"> Dashboard</a></i></div>
<div class="sid"><a href="#"><i class="bi bi-person">Edit Profile</a></i></div>
<div class="sid"><a href="#"><i class="bi bi-clock">Time Tracker</a></i></div>
<div class="sid side-2"><a href="#"><i class="bi bi-door-open-fill">Logout</a></i></div>
</div>

<div class="search">
<form action="">
<input type="text" class="s-search" placeholder="Search projects,tasks, people and more">
</form>
</div>

<div class="dash">
<div>
<h4>Hello Musty,</h4>
<p>Let’s have a productive day !</p>
</div>
<div>
<h4>Overview</h4>
</div>
<div class="overview">
<div class="overf">
<h3>Project Overview</h3>
<p>At the end of the month the team’s effectiveness has drastically improved by 20%</p>
<div class="rowa">
<div class="over"></div>
<div class="overa">
<p>Total task</p>
<p>24</p>
<p>Total task</p>
<p>24</p>
<p>Total task</p>
<p>24</p>
</div>
</div>
</div>
<div></div>
</div>
</div>
</body>

</html>
Empty file added frontend/home.html
Empty file.
101 changes: 101 additions & 0 deletions frontend/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #A1E6C1;
}
.sidebar {
width: 15%;
height: 400px;
background-color: #fff;
}
.img {
position: relative;
right: 10%;
transform: scale(0.6);
}
.sid {
margin-left: 15px;
margin-top: 10px;
}
.side-2 {
margin-left: 15px;
margin-top: 80px;
}
.side-1 {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.side-1 i {
color: #603990;
}
div.sidebar ~ div {
width: 75%;
background-color: #fff;
margin-left: 19%;
}
.search {
height: 38px;
position: absolute;
top: 1%;
}
.dash {
height: 450px;
position: absolute;
top: 15%;
}
.s-search {
margin-left: 15px;
margin-top: 9px;
width: 40%;
background-color: #A1E6C1;
border: 2px solid #A1E6C1;
border-radius: 5px;
}
.dash div {
width: 92%;
margin: 15px auto;
}
.overview {
width: 100%;
height: 70%;
background-color: #A1E6C1;
border: 10px solid #A1E6C1;
border-radius: 5px;
display: flex;
flex-direction: row;
justify-content: center;
}
.rowa {
width: 80%;
height: 80px;
display: flex;
flex-direction: row;
}
.over {
width: 100%;
height: 100%;
background: linear-gradient(to right, #9A07D5 0%, #08E2AC 100%);
}
.overf {
background-color: #fff;
padding: 7px;
}
.overa {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
}
.overa p {
padding: 0;
margin: 0;
}
@media (max-width: 720px) {
div.sidebar {
display: none;
}
}
Empty file added frontend/style.css
Empty file.

0 comments on commit 47ea433

Please sign in to comment.