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
c42038f6
Commit
c42038f6
authored
May 15, 2023
by
Jacob Dylan D. Vitug
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
working on add position
parent
b098a07d
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
329 additions
and
2 deletions
+329
-2
urls.cpython-38.pyc
IPSystemTOPC/EmployeeProdDB/__pycache__/urls.cpython-38.pyc
+0
-0
views.cpython-38.pyc
IPSystemTOPC/EmployeeProdDB/__pycache__/views.cpython-38.pyc
+0
-0
create_position.css
IPSystemTOPC/EmployeeProdDB/static/css/create_position.css
+201
-0
edit_position.css
IPSystemTOPC/EmployeeProdDB/static/css/edit_position.css
+0
-0
create_position.html
...loyeeProdDB/templates/EmployeeProdDB/create_position.html
+108
-0
edit_position.html
...mployeeProdDB/templates/EmployeeProdDB/edit_position.html
+3
-0
emp_record.html
...C/EmployeeProdDB/templates/EmployeeProdDB/emp_record.html
+8
-1
urls.py
IPSystemTOPC/EmployeeProdDB/urls.py
+2
-0
views.py
IPSystemTOPC/EmployeeProdDB/views.py
+7
-1
No files found.
IPSystemTOPC/EmployeeProdDB/__pycache__/urls.cpython-38.pyc
View file @
c42038f6
No preview for this file type
IPSystemTOPC/EmployeeProdDB/__pycache__/views.cpython-38.pyc
View file @
c42038f6
No preview for this file type
IPSystemTOPC/EmployeeProdDB/static/css/create_position.css
0 → 100644
View file @
c42038f6
.top-cont
{
margin
:
30px
50px
0px
;
}
body
{
font-family
:
Helvetica
;
}
.centercont
{
margin
:
auto
;
display
:
flex
;
justify-content
:
center
;
}
h2
.bold
{
margin-top
:
30px
;
font-weight
:
bold
;
}
input
[
type
=
"text"
],
input
[
type
=
"tel"
],
input
[
type
=
"email"
],
input
[
type
=
"password"
],
input
[
type
=
"date"
],
select
,
textarea
{
display
:
block
;
width
:
100%
;
padding
:
0.375rem
0.75rem
;
font-size
:
1rem
;
font-weight
:
400
;
line-height
:
1
;
color
:
#212529
;
background-color
:
#fff
;
background-clip
:
padding-box
;
border
:
1px
solid
#ced4da
;
border-radius
:
0.25rem
;
transition
:
border-color
0.15s
ease-in-out
,
box-shadow
0.15s
ease-in-out
;
}
input
[
type
=
"file"
]
{
width
:
100%
;
padding
:
0.375rem
0.75rem
;
font-size
:
0.8rem
;
font-weight
:
400
;
line-height
:
1
;
border-radius
:
0.25rem
;
margin-left
:
25px
;
}
input
[
type
=
"radio"
]
{
padding
:
0.375rem
0.75rem
;
font-size
:
0.8rem
;
border-radius
:
0.25rem
;
margin-left
:
25px
;
margin-right
:
5px
;
transform
:
scale
(
1.5
);
}
.top-cont
{
margin
:
30px
50px
0px
;
}
.profile-info-cont
{
margin-top
:
30px
;
}
.profile-info-form
{
border
:
none
;
}
/* button{
border-radius: 4px;
} */
.input-dimension
input
,
select
{
border
:
1px
solid
black
;
border-radius
:
4px
;
width
:
60%
;
}
.label-row
{
width
:
100%
;
display
:
flex
;
justify-content
:
space-between
;
}
.label-row
input
,
select
{
display
:
flex
;
width
:
260px
;
}
.input-row
{
width
:
100%
;
display
:
flex
;
width
:
100%
;
justify-content
:
space-evenly
;
}
.text-input-grouping
{
display
:
flex
;
flex-direction
:
column
;
}
.text-input-grouping
span
{
color
:
grey
;
font-size
:
13px
;
font-style
:
italic
;
}
.text-input-grouping
p
{
font-size
:
18px
;
}
.box
{
width
:
260px
;
background-color
:
white
;
height
:
60px
;
}
.sex-input
{
width
:
260px
;
display
:
flex
;
}
.sex-input
input
{
display
:
flex
;
}
.sex-input
label
{
display
:
block
;
margin
:
0
auto
;
width
:
150px
;
}
.sex-input
input
[
type
=
"radio"
]
{
line-height
:
30px
;
vertical-align
:
bottom
;
width
:
15px
;
margin-left
:
15px
;
}
.button-cancel
button
{
border-radius
:
4px
;
border
:
1px
solid
black
;
padding
:
5px
10px
;
background-color
:
white
;
width
:
max-content
;
width
:
200px
;
margin-right
:
15px
;
}
.button-save
button
{
border-radius
:
4px
;
border
:
1px
solid
white
;
padding
:
5px
10px
;
background-color
:
#00802B
;
color
:
white
;
width
:
max-content
;
width
:
200px
;
}
.profile-options
{
display
:
flex
;
justify-content
:
end
;
}
.bottom-cont
{
margin-right
:
15px
;
margin-top
:
50px
;
}
.long-textbox
{
width
:
660px
;
}
.vert-line
{
border
:
0.5px
solid
grey
;
height
:
80%
;
width
:
0.3px
;
margin-top
:
5px
;
margin-bottom
:
5px
;
opacity
:
50%
;
}
.hori-line
{
border
:
0.5px
solid
grey
;
width
:
100%
;
height
:
0.3px
;
margin-top
:
15px
;
}
.invisible-box
{
border
:
0.5px
solid
white
;
background-color
:
white
;
width
:
260px
;
height
:
56px
;
/* margin-top: 15px; */
}
IPSystemTOPC/EmployeeProdDB/static/css/edit_position.css
0 → 100644
View file @
c42038f6
IPSystemTOPC/EmployeeProdDB/templates/EmployeeProdDB/create_position.html
0 → 100644
View file @
c42038f6
{% extends 'EmployeeProdDB/base.html' %} {% load static %} {% block content %}
<html
lang=
"en"
>
<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
rel=
"stylesheet"
href=
"{% static 'css/create_position.css' %}"
/>
</head>
<body>
<div
class=
"top-cont"
>
<div
class=
"header"
>
<h2
class=
"bold"
>
Create Position
</h2>
</div>
<main
class=
"profile-info-cont"
>
<form
method=
"POST"
action=
""
class=
"profile-info-form input-dimension"
>
{% csrf_token %}
<div>
<div
class=
"row g-0"
>
<div
class=
""
>
<div
class=
"label-row"
>
<div
class=
"text-input-grouping"
>
<label
for=
"name"
class=
""
>
Name:
</label>
<div
class=
"long-textbox"
>
<input
type=
"text"
style=
"width: 660px;"
name=
"name"
required
/>
</div>
</div>
<div
class=
"text-input-grouping "
>
<div
class=
"invisible-box"
>
</div>
</div>
</div>
<div
class=
"label-row"
>
<div
class=
"text-input-grouping"
>
<label
for=
"divhead"
class=
""
>
Division Head Name:
</label>
<div
class=
"input-row"
>
<input
type=
"text"
style=
"width: 660px;"
name=
"divhead"
required
/>
</div>
</div>
<d
<
div
class=
"text-input-grouping "
>
<div
class=
"invisible-box"
>
</div>
</div>
<div
class=
"hori-line"
></div>
<div
class=
"text-input-grouping"
>
<p>
Assign Participant/s
<span>
Only Employee Profiles with no position assigned will appear
</span></p>
</div>
</div>
</div>
</div>
<div>
<!-- left side for the table -->
</div>
<div
class=
"bottom-cont"
>
<!-- right side for the bottoms then just align it down or left -->
<div
class=
"col-md-8"
></div>
<div
class=
"profile-options"
>
<div
class=
"button-cancel"
>
<button
name=
"Save"
type=
"submit"
>
Cancel
</button>
</div>
<div
class=
"button-save"
>
<button
name=
"Save"
type=
"submit"
>
Save Changes
</button>
</div>
</div>
</div>
<div
class=
"row g-0"
style=
"margin-top: 5px"
>
<div
class=
"col-md-10"
></div>
<div
class=
"col-md-2"
></div>
</div>
</div>
</form>
</main>
</div>
<script
src=
"https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.min.js"
integrity=
"sha384-cuYeSxntonz0PPNlHhBs68uyIAVpIIOZZ5JqeqvYYIcEL727kskC66kF92t6Xl2V"
crossorigin=
"anonymous"
></script>
</body>
{% endblock %}
</html>
IPSystemTOPC/EmployeeProdDB/templates/EmployeeProdDB/edit_position.html
0 → 100644
View file @
c42038f6
{% extends 'EmployeeProdDB/base.html' %} {% load static %} {% block content %}
{% endblock %}
\ No newline at end of file
IPSystemTOPC/EmployeeProdDB/templates/EmployeeProdDB/emp_record.html
View file @
c42038f6
...
...
@@ -13,7 +13,14 @@
rel=
"stylesheet"
/>
<link
rel=
"stylesheet"
href=
"{% static 'css/emp_record.css' %}"
/>
<title>
Employee Record
</title>
<title>
Employee Record
</title>
.vert-line {
border: 0.5px solid grey;
height: 80%;
width: 0.3px;
margin-top: 5px;
margin-bottom: 5px;
opacity: 50%;
}
</head>
<body>
<div
class=
"employee-info-cont"
>
...
...
IPSystemTOPC/EmployeeProdDB/urls.py
View file @
c42038f6
...
...
@@ -14,5 +14,7 @@ urlpatterns = [
path
(
'create_profile/'
,
views
.
create_emp_profile
,
name
=
'create_emp_profile'
),
path
(
'edit_profile/'
,
views
.
edit_emp_profile
,
name
=
'edit_emp_profile'
),
path
(
'position_list/'
,
views
.
positionlist
,
name
=
'positionlist'
),
path
(
'create_position/'
,
views
.
create_position
,
name
=
'create_position'
),
path
(
'edit_position/'
,
views
.
edit_position
,
name
=
'edit_position'
),
]
\ No newline at end of file
IPSystemTOPC/EmployeeProdDB/views.py
View file @
c42038f6
...
...
@@ -187,4 +187,10 @@ def edit_emp_profile(request):
return
(
render
(
request
,
'EmployeeProdDB/edit_emp_profile.html'
))
def
positionlist
(
request
):
return
(
render
(
request
,
'EmployeeProdDB/positionlist.html'
))
\ No newline at end of file
return
(
render
(
request
,
'EmployeeProdDB/positionlist.html'
))
def
create_position
(
request
):
return
(
render
(
request
,
'EmployeeProdDB/create_position.html'
))
def
edit_position
(
request
):
return
(
render
(
request
,
'EmployeeProdDB/edit_position.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