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
Show 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"
>
<div
role=
"alert"
>
<center><h3>
{{ Price_prediction }}
</h3></center>
<center><h3>
{{ Price_prediction }}
</h3></center>
</div>
</div>
</form>
</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,28 +16,24 @@
...
@@ -16,28 +16,24 @@
<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>
...
@@ -45,8 +41,6 @@
...
@@ -45,8 +41,6 @@
<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>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
@@ -54,19 +48,16 @@
...
@@ -54,19 +48,16 @@
{% for i in d %}
{% for i in d %}
<tr>
<tr>
<td>
{{i.StaffID}}
</td>
<td>
{{i.StaffID}}
</td>
<td>
{{i.EmployeeName}}
</td>
<td>
{{i.EmployeeName}}
</td>
<td>
{{i.JobDone}}
</td>
<td>
{{i.JobDone}}
</td>
<td>
{{i.WorkQuality}} / 5
</td>
<td>
{{i.WorkQuality}} / 5
</td>
<td>
{{i.TakenTime}} Minutes
</td>
<td>
{{i.TakenTime}} Minutes
</td>
</tr>
</tr>
{% endfor %}
{% endfor %}
{% endif %}
{% endif %}
</tbody>
</tbody>
</table>
</table>
</div>
</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,32 +16,27 @@
...
@@ -16,32 +16,27 @@
<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;"
>
<div
class=
"container"
style=
"overflow-x:auto;"
>
<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>
Available Status
</th>
<th>
Available Status
</th>
...
@@ -52,18 +47,14 @@
...
@@ -52,18 +47,14 @@
{% for i in d %}
{% for i in d %}
<tr>
<tr>
<td>
{{i.StaffID}}
</td>
<td>
{{i.StaffID}}
</td>
<td>
{{i.EmployeeName}}
</td>
<td>
{{i.EmployeeName}}
</td>
<td><div
class=
"alert alert-success"
>
<td><div
class=
"alert alert-success"
>
Available
</div></td>
Available
</div></td>
</tr>
</tr>
{% endfor %}
{% endfor %}
{% endif %}
{% endif %}
</tbody>
</tbody>
</table>
</table>
</div>
</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>
</form>
<br>
<div
class=
"text-right"
>
<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