Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
JARVIS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacob Dylan D. Vitug
JARVIS
Commits
fe6d9233
Commit
fe6d9233
authored
Apr 03, 2023
by
Jacob Dylan D. Vitug
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added base html for the employee dashboard
parent
966a3a04
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
291 additions
and
30 deletions
+291
-30
emp_record.css
IPSystemTOPC/EmployeeProdDB/static/css/emp_record.css
+125
-0
home.css
IPSystemTOPC/EmployeeProdDB/static/css/home.css
+7
-6
remarks_page.css
IPSystemTOPC/EmployeeProdDB/static/css/remarks_page.css
+0
-0
emp_record.html
...C/EmployeeProdDB/templates/EmployeeProdDB/emp_record.html
+107
-0
home.html
...temTOPC/EmployeeProdDB/templates/EmployeeProdDB/home.html
+22
-22
remarks_page.html
...EmployeeProdDB/templates/EmployeeProdDB/remarks_page.html
+25
-0
urls.py
IPSystemTOPC/EmployeeProdDB/urls.py
+2
-1
views.py
IPSystemTOPC/EmployeeProdDB/views.py
+3
-1
No files found.
IPSystemTOPC/EmployeeProdDB/static/css/emp_record.css
0 → 100644
View file @
fe6d9233
body
{
font-family
:
Helvetica
;
}
.employee-info-cont
{
margin
:
30px
50px
0px
;
background-color
:
#00802D
;
color
:
white
;
width
:
91.5%
;
height
:
100px
;
margin-right
:
50px
;
border-radius
:
4px
;
padding
:
5px
10px
;
display
:
flex
;
justify-content
:
space-between
;
}
.employee-info-contact
{
display
:
flex
;
margin-right
:
50px
;
}
.employee-nameID
{
display
:
flex
;
height
:
100%
;
margin-left
:
30px
;
flex-direction
:
column
;
width
:
30%
;
justify-content
:
center
;
}
#ID
{
background-color
:
white
;
color
:
#00802D
;
border-radius
:
4px
;
padding
:
3px
;
font-weight
:
bold
;
}
/* .employee-info-contact {
display: flex;
flex-direction: column;
} */
.SBP
{
display
:
flex
;
height
:
100%
;
margin-left
:
30px
;
flex-direction
:
column
;
justify-content
:
center
;
}
.SBP
h6
{
font-size
:
16px
;
margin
:
0px
;
}
.bold
{
font-weight
:
bold
;
}
.dashboard-options
{
margin
:
15px
50px
0px
;
display
:
flex
;
justify-content
:
space-between
;
}
.print-out
button
{
border-radius
:
4px
;
border
:
1px
solid
black
;
padding
:
5px
10px
;
background-color
:
white
;
width
:
max-content
;
}
.print-out
button
:hover
{
background-color
:
#ddd
;
}
.select-range
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
}
.range-selected
{
border-radius
:
4px
;
border
:
1px
solid
black
;
margin
:
0px
5px
;
padding
:
5px
10px
;
font-weight
:
bold
;
background-color
:
white
;
}
.range-selected
:hover
,
.range-selected
:focus
{
background-color
:
#00802B
;
color
:
white
;
}
.vert-line
{
border
:
0.5px
solid
grey
;
height
:
80%
;
width
:
0.3px
;
margin-top
:
5px
;
margin-bottom
:
5px
;
opacity
:
50%
;
}
.seperator
{
display
:
flex
;
justify-content
:
center
;
}
.hori-line
{
border
:
0.5px
solid
grey
;
width
:
91.5%
;
height
:
0.3px
;
margin-top
:
15px
;
}
.main
{
margin-left
:
85px
;
}
\ No newline at end of file
IPSystemTOPC/EmployeeProdDB/static/css/home.css
View file @
fe6d9233
...
...
@@ -19,7 +19,8 @@ body {
.searchbar
{
width
:
78%
;
background
:
url(images/comment-author.gif)
no-repeat
scroll
7px
7px
;
padding-left
:
30px
;
}
.searchbar
input
{
...
...
@@ -31,12 +32,8 @@ body {
height
:
100%
;
}
.login-borders
{
border-radius
:
4px
;
}
.add-button
{
border
:
none
;
}
.add-profile-button
{
...
...
@@ -45,6 +42,10 @@ body {
background-color
:
#00802B
;
color
:
white
;
border
:
none
;
border-radius
:
4px
;
}
.add-button
:hover
{
background-color
:
#004316
;
}
#employee
{
...
...
IPSystemTOPC/EmployeeProdDB/static/css/remarks_page.css
0 → 100644
View file @
fe6d9233
IPSystemTOPC/EmployeeProdDB/templates/EmployeeProdDB/emp_record.html
0 → 100644
View file @
fe6d9233
{% extends 'EmployeeProdDB/base.html' %} {% load static %} {% block content %}
<head>
<link
rel=
"stylesheet"
href=
"{% static 'css/style.css' %}"
/>
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"
integrity=
"sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65"
crossorigin=
"anonymous"
/>
<link
href=
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css"
rel=
"stylesheet"
/>
<link
rel=
"stylesheet"
href=
"{% static 'css/emp_record.css' %}"
/>
<title>
Employee Record
</title>
</head>
<body>
<div
class=
"employee-info-cont"
>
<div
class=
"employee-nameID"
>
<h4
class=
"bold"
>
March Leighton Chua
</h4>
<div>
<span
id=
"ID"
>
ID# 1
</span>
<span>
Dataset: 44 Reports
</span>
</div>
</div>
<div
class=
"employee-info-contact"
>
<div
class=
"SBP"
>
<h6>
Sex:
<span
class=
"bold"
>
Male
<!-- IMPORT INFO HERE -->
</span>
</h6>
<h6>
Birthday:
<span
class=
"bold"
>
4/3/2023
<!-- IMPORT INFO HERE -->
</span>
</h6>
<h6>
Position:
<span
class=
"bold"
>
Leader
<!-- IMPORT INFO HERE -->
</span>
</h6>
</div>
<div
class=
"SBP"
>
<h6>
Phone Number:
<span
class=
"bold"
>
098765143223
<!-- IMPORT INFO HERE -->
</span>
</h6>
<h6>
Email:
<span
class=
"bold"
>
march.chua@obf.ateneo.edu
<!-- IMPORT INFO HERE -->
</span>
</h6>
<h6>
Emergency Contact:
<span
class=
"bold"
>
0912344567
<!-- IMPORT INFO HERE -->
</span>
</h6>
</div>
</div>
</div>
<div
class=
"dashboard-options"
>
<div
class=
"select-range"
>
<div
class=
""
>
<button
type=
"submit"
class=
"range-selected"
>
Weekly
</button>
</div>
<div
class=
"vert-line"
></div>
<div>
<button
type=
"submit"
class=
"range-selected"
>
Monthly
</button>
</div>
<div
class=
"vert-line"
></div>
<div>
<button
type=
"submit"
class=
"range-selected"
>
Quarterly
</button>
</div>
<div
class=
"vert-line"
></div>
<div>
<button
type=
"submit"
class=
"range-selected"
>
Annually
</button>
</div>
</div>
<div
class=
"print-out"
>
<button
type=
"submit"
class=
""
>
Print Out
</button>
</div>
</div>
<div
class=
"seperator"
>
<div
class=
"hori-line"
></div>
</div>
<!-- EXTEND CHART JS AND REMARKS PAGE HEREHERE HERE HERE HERE -->
<!-- DUNNO HOW TO EXTEND ANOTHER HTML HERE -->
</body>
{% endblock %}
IPSystemTOPC/EmployeeProdDB/templates/EmployeeProdDB/home.html
View file @
fe6d9233
...
...
@@ -22,17 +22,12 @@
</div>
<div
class=
"add-button"
>
<button
type=
"submit"
class=
"
login-borders
add-profile-button"
>
<button
type=
"submit"
class=
"add-profile-button"
>
Add Profile
</button>
</div>
</div>
<script
src=
"https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.min.js"
integrity=
"sha384-cuYeSxntonz0PPNlHhBs68uyIAVpIIOZZ5JqeqvYYIcEL727kskC66kF92t6Xl2V"
crossorigin=
"anonymous"
></script>
<!-- TABLE -->
<table
id=
"employee"
>
...
...
@@ -59,6 +54,11 @@
</table>
<script
src=
"https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.min.js"
integrity=
"sha384-cuYeSxntonz0PPNlHhBs68uyIAVpIIOZZ5JqeqvYYIcEL727kskC66kF92t6Xl2V"
crossorigin=
"anonymous"
></script>
</body>
{% endblock %}
IPSystemTOPC/EmployeeProdDB/templates/EmployeeProdDB/remarks_page.html
0 → 100644
View file @
fe6d9233
{% extends 'EmployeeProdDB/emp_record.html' %} {% load static %} {% block content %}
<head>
<link
rel=
"stylesheet"
href=
"{% static 'css/style.css' %}"
/>
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"
integrity=
"sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65"
crossorigin=
"anonymous"
/>
<link
href=
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css"
rel=
"stylesheet"
/>
<link
rel=
"stylesheet"
href=
"{% static 'css/emp_record.css' %}"
/>
<link
rel=
"stylesheet"
href=
"{% static 'css/remarks.css' %}"
/>
<title>
Employee Record
</title>
</head>
<body>
</body>
{% endblock%}
\ No newline at end of file
IPSystemTOPC/EmployeeProdDB/urls.py
View file @
fe6d9233
...
...
@@ -8,7 +8,8 @@ urlpatterns = [
path
(
'home/'
,
views
.
home
,
name
=
'home'
),
path
(
'upload_csv/'
,
views
.
upload_csv
,
name
=
'upload_csv'
),
path
(
'show_csv_data/'
,
views
.
show_csv_data
,
name
=
'show_csv_data'
),
path
(
'signup/'
,
views
.
signup
,
name
=
'signup'
)
path
(
'signup/'
,
views
.
signup
,
name
=
'signup'
)
,
#path('', views.login_page, name='loginpage'),
path
(
'emp_record/'
,
views
.
emp_record
,
name
=
'emp_record'
)
]
\ No newline at end of file
IPSystemTOPC/EmployeeProdDB/views.py
View file @
fe6d9233
...
...
@@ -5,7 +5,7 @@ from django.shortcuts import render, redirect
from
.models
import
Productivity
,
User
from
django.contrib
import
messages
from
django.utils.dateparse
import
parse_date
,
parse_duration
from
dateutil.parser
import
parse
as
parse_date
#
from dateutil.parser import parse as parse_date
def
home
(
request
):
return
render
(
request
,
'EmployeeProdDB/home.html'
)
...
...
@@ -174,3 +174,5 @@ def show_csv_data(request):
# return render(request, 'index.html')
def
emp_record
(
request
):
return
(
render
(
request
,
'EmployeeProdDB/emp_record.html'
))
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment