Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
21_22-J 31
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
21_22-J 31
21_22-J 31
Commits
ef3abe04
Commit
ef3abe04
authored
Apr 28, 2022
by
ravindu@uniqueinfotec.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI Update
parent
5eeebf7c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
91 additions
and
127 deletions
+91
-127
templates/Admin/EmployeeStatus_Update.html
templates/Admin/EmployeeStatus_Update.html
+17
-28
templates/Admin/Employee_Data.html
templates/Admin/Employee_Data.html
+33
-44
templates/Admin/Employee_Efficiency.html
templates/Admin/Employee_Efficiency.html
+41
-55
No files found.
templates/Admin/EmployeeStatus_Update.html
View file @
ef3abe04
...
@@ -18,43 +18,32 @@
...
@@ -18,43 +18,32 @@
<br/><br/>
<br/><br/>
{% if messages %}
{% if messages %}
<div
class=
"alert alert-danger"
role=
"alert"
>
<div
class=
"alert alert-danger"
role=
"alert"
>
{% for message in messages %}
{% for message in messages %}
{% if message.tags %} {% endif %} {{ message }}
{% if message.tags %} {% endif %} {{ message }}
{% endfor %}
{% endfor %}
</div>
</div>
{% endif %}
{% endif %}
<div
class=
"card-heading"
>
<div
class=
"card-heading"
>
<h2
class=
"title"
>
ASSIGN EMPLOYEE
</h2>
<h2
class=
"title"
>
ASSIGN EMPLOYEE
</h2>
</div>
</div>
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<form
action=
"/Admin/EmployeeStatus_Update/"
method=
"post"
>
<form
action=
"/Admin/EmployeeStatus_Update/"
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
<table
class=
"table table-light"
>
<table
class=
"table table-light"
>
{{form.as_table}}
{{form.as_table}}
</table>
</table>
<input
type=
"submit"
value=
"Assign"
class=
"btn btn--radius-2 btn"
style=
"background:#02111f"
/>
<input
type=
"submit"
value=
"Assign"
class=
"btn btn--radius-2 btn"
style=
"background:#02111f"
/>
<div
role=
"alert"
>
<center><h3>
{{ Price_prediction }}
</h3></center>
<div
role=
"alert"
>
</div>
<center><h3>
{{ Price_prediction }}
</h3></center>
</form>
</div>
</form>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
</div>
</div>
</div>
...
...
templates/Admin/Employee_Data.html
View file @
ef3abe04
...
@@ -16,57 +16,48 @@
...
@@ -16,57 +16,48 @@
<div
style=
"margin-left: 0px;"
class=
"card card-5"
>
<div
style=
"margin-left: 0px;"
class=
"card card-5"
>
{% if messages %}
{% if messages %}
<ul
class=
"messages"
>
<ul
class=
"messages"
>
{% for message in messages %}
{% for message in messages %}
<li
{%
if
message
.
tags
%}
class=
" {{ message.tags }} "
{%
endif
%}
>
{{ message }}
</li>
<li
{%
if
message
.
tags
%}
class=
" {{ message.tags }} "
{%
endif
%}
>
{{ message }}
</li>
{% endfor %}
{% endfor %}
</ul>
</ul>
{% endif %}
{% endif %}
<div
class=
"card-heading"
>
<div
class=
"card-heading"
>
<h2
class=
"title"
>
EMPLOYEE DATA
</h2>
<h2
class=
"title"
>
EMPLOYEE DATA
</h2>
</div>
</div>
<div
id=
"myDiv"
>
<div
id=
"myDiv"
>
<div
id=
"div_print"
>
<div
id=
"div_print"
>
<div
class=
"card card-body printableArea"
>
<div
class=
"card card-body printableArea"
>
<div
class=
"container"
style=
"overflow-x:auto;"
>
<div
class=
"container"
style=
"overflow-x:auto;"
>
EMPLOYEE DATA LIST
EMPLOYEE DATA LIST
<table
class=
"table table-striped"
>
<table
class=
"table table-striped"
>
<thead>
<thead>
<tr>
<tr>
<th>
StaffID
</th>
<th>
StaffID
</th>
<th>
EmployeeName
</th>
<th>
EmployeeName
</th>
<th>
Work Done
</th>
<th>
Work Done
</th>
<th>
Work Rate
</th>
<th>
Work Rate
</th>
<th>
Taken Time
</th>
<th>
Taken Time
</th>
</tr>
</thead>
<tbody>
</tr>
{% if d %}
</thead>
{% for i in d %}
<tbody>
<tr>
{% if d %}
<td>
{{i.StaffID}}
</td>
{% for i in d %}
<td>
{{i.EmployeeName}}
</td>
<tr>
<td>
{{i.JobDone}}
</td>
<td>
{{i.StaffID}}
</td>
<td>
{{i.WorkQuality}} / 5
</td>
<td>
{{i.TakenTime}} Minutes
</td>
<td>
{{i.EmployeeName}}
</td>
</tr>
<td>
{{i.JobDone}}
</td>
{% endfor %}
<td>
{{i.WorkQuality}} / 5
</td>
{% endif %}
<td>
{{i.TakenTime}} Minutes
</td>
</tbody>
</table>
</tr>
</div>
{% endfor %}
{% endif %}
</tbody>
</table>
</div>
</div>
</div>
</div></div>
</div></div>
...
@@ -87,13 +78,11 @@
...
@@ -87,13 +78,11 @@
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<input
name=
"b_print"
type=
"button"
class=
"btn btn-print"
style=
"background: #02111f;"
onClick=
"printdiv('div_print');"
value=
" Print "
>
<input
name=
"b_print"
type=
"button"
class=
"btn btn-print"
style=
"background: #02111f;"
onClick=
"printdiv('div_print');"
value=
" Print "
>
</div>
</div>
<div
class=
"alert alert-primary fixed-bottom mb-0 text-center"
style=
"background: #747578; border: none; color: white;"
role=
"alert"
>
© SERVPORT 2022
</div>
<div
class=
"alert alert-primary fixed-bottom mb-0 text-center"
style=
"background: #747578; border: none; color: white;"
role=
"alert"
>
© SERVPORT 2022
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
templates/Admin/Employee_Efficiency.html
View file @
ef3abe04
...
@@ -16,54 +16,45 @@
...
@@ -16,54 +16,45 @@
<div
style=
"margin-left: 0px;"
class=
"card card-5"
>
<div
style=
"margin-left: 0px;"
class=
"card card-5"
>
{% if messages %}
{% if messages %}
<ul
class=
"messages"
>
<ul
class=
"messages"
>
{% for message in messages %}
{% for message in messages %}
<li
{%
if
message
.
tags
%}
class=
" {{ message.tags }} "
{%
endif
%}
>
{{ message }}
</li>
<li
{%
if
message
.
tags
%}
class=
" {{ message.tags }} "
{%
endif
%}
>
{{ message }}
</li>
{% endfor %}
{% endfor %}
</ul>
</ul>
{% endif %}
{% endif %}
<div
class=
"card-heading"
>
<div
class=
"card-heading"
>
<h2
class=
"title"
>
EMPLOYEE EFFICIENCY PREDICTION
</h2>
<h2
class=
"title"
>
EMPLOYEE EFFICIENCY PREDICTION
</h2>
</div>
</div>
<div
id=
"myDiv"
>
<div
id=
"myDiv"
>
<div
id=
"div_print"
>
<div
id=
"div_print"
>
<div
class=
"card card-body printableArea"
>
<div
class=
"card card-body printableArea"
>
<div
role=
"alert"
>
<div
role=
"alert"
>
<div
class=
"container"
style=
"overflow-x:auto;"
>
<table
class=
"table table-striped"
>
<div
class=
"container"
style=
"overflow-x:auto;"
>
<thead>
<table
class=
"table table-striped"
>
<tr>
<th>
StaffID
</th>
<thead>
<th>
EmployeeName
</th>
<tr>
<th>
Available Status
</th>
</tr>
<th>
StaffID
</th>
</thead>
<th>
EmployeeName
</th>
<tbody>
<th>
Available Status
</th>
{% if d %}
</tr>
{% for i in d %}
</thead>
<tr>
<tbody>
<td>
{{i.StaffID}}
</td>
{% if d %}
<td>
{{i.EmployeeName}}
</td>
{% for i in d %}
<td><div
class=
"alert alert-success"
>
Available
</div></td>
<tr>
</tr>
<td>
{{i.StaffID}}
</td>
{% endfor %}
{% endif %}
<td>
{{i.EmployeeName}}
</td>
</tbody>
<td><div
class=
"alert alert-success"
>
</table>
Available
</div>
</div></td>
</tr>
{% endfor %}
{% endif %}
</tbody>
</table>
</div>
</div>
</div>
</div></div></div>
</div></div></div>
...
@@ -88,25 +79,20 @@
...
@@ -88,25 +79,20 @@
<div
class=
"card-body"
>
<div
class=
"card-body"
>
<form
action=
"/Admin/Employee_Efficiency/"
method=
"post"
>
<form
action=
"/Admin/Employee_Efficiency/"
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
<table
class=
"table table-light"
>
<table
class=
"table table-light"
>
{{form.as_table}}
{{form.as_table}}
</table>
</table>
<input
type=
"submit"
value=
"PREDICT EMPLOYEE"
class=
"btn btn--radius-2"
style=
"background: #02111f;"
/>
<input
type=
"submit"
value=
"PREDICT EMPLOYEE"
class=
"btn btn--radius-2"
style=
"background: #02111f;"
/>
</form>
<br>
<div
class=
"text-right"
>
</form>
<br><div
class=
"text-right"
>
<input
name=
"b_print"
type=
"button"
class=
"btn btn-print"
style=
"background: #02111f;"
onClick=
"printdiv('div_print');"
value=
" Print "
>
<input
name=
"b_print"
type=
"button"
class=
"btn btn-print"
style=
"background: #02111f;"
onClick=
"printdiv('div_print');"
value=
" Print "
>
</div>
</div>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
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