Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mytime
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
Narendar Vakiti
mytime
Commits
889da4fd
Commit
889da4fd
authored
Jun 13, 2019
by
Soumya Gouri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed_CSS
parent
de349758
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
LoginController.js
src/main/webapp/WEB-INF/controllers/LoginController.js
+2
-2
ProjectController.js
src/main/webapp/WEB-INF/controllers/ProjectController.js
+2
-2
exportData.html
src/main/webapp/WEB-INF/templates/exportData.html
+1
-1
No files found.
src/main/webapp/WEB-INF/controllers/LoginController.js
View file @
889da4fd
...
@@ -300,7 +300,7 @@ myApp.controller("loginController",function($scope, myFactory, $compile, $window
...
@@ -300,7 +300,7 @@ myApp.controller("loginController",function($scope, myFactory, $compile, $window
menuItems
.
push
({
"menu"
:
"My Project Allocations"
,
"icon"
:
"fa fa-life-ring fa-2x"
,
"path"
:
"templates/myProjectAllocations.html"
});
menuItems
.
push
({
"menu"
:
"My Project Allocations"
,
"icon"
:
"fa fa-life-ring fa-2x"
,
"path"
:
"templates/myProjectAllocations.html"
});
menuItems
.
push
({
"menu"
:
"My Org"
,
"icon"
:
"fa fa-address-card-o fa-2x"
,
"path"
:
"templates/myOrg.html"
});
menuItems
.
push
({
"menu"
:
"My Org"
,
"icon"
:
"fa fa-address-card-o fa-2x"
,
"path"
:
"templates/myOrg.html"
});
menuItems
.
push
({
"menu"
:
"My Profile"
,
"icon"
:
"fa fa-address-book-o fa-2x"
,
"path"
:
"templates/profile.html"
});
menuItems
.
push
({
"menu"
:
"My Profile"
,
"icon"
:
"fa fa-address-book-o fa-2x"
,
"path"
:
"templates/profile.html"
});
menuItems
.
push
({
"menu"
:
"Import Data"
,
"icon"
:
"fa fa-
up
load fa-2x"
,
"path"
:
"templates/exportData.html"
});
menuItems
.
push
({
"menu"
:
"Import Data"
,
"icon"
:
"fa fa-
down
load fa-2x"
,
"path"
:
"templates/exportData.html"
});
menuItems
.
push
({
"menu"
:
"Employee Efforts "
,
"icon"
:
"fa fa-user-circle-o fa-2x"
,
"path"
:
"templates/employeeEfforts.html"
});
menuItems
.
push
({
"menu"
:
"Employee Efforts "
,
"icon"
:
"fa fa-user-circle-o fa-2x"
,
"path"
:
"templates/employeeEfforts.html"
});
menuItems
.
push
({
"menu"
:
"Reserved Reports"
,
"icon"
:
"fa fa-file-pdf-o fa-2x"
,
"path"
:
"templates/reservedReport.html"
});
menuItems
.
push
({
"menu"
:
"Reserved Reports"
,
"icon"
:
"fa fa-file-pdf-o fa-2x"
,
"path"
:
"templates/reservedReport.html"
});
menuItems
.
push
({
"menu"
:
"Allocation Change"
,
"icon"
:
"fa fa-file-excel-o fa-2x"
,
"path"
:
"templates/allocationChangeReport.html"
});
menuItems
.
push
({
"menu"
:
"Allocation Change"
,
"icon"
:
"fa fa-file-excel-o fa-2x"
,
"path"
:
"templates/allocationChangeReport.html"
});
...
@@ -324,7 +324,7 @@ myApp.controller("loginController",function($scope, myFactory, $compile, $window
...
@@ -324,7 +324,7 @@ myApp.controller("loginController",function($scope, myFactory, $compile, $window
menuItems
.
push
({
"menu"
:
"Attendance Report"
,
"icon"
:
"fa fa-bar-chart fa-2x"
,
"path"
:
"templates/attendanceReport.html"
});
menuItems
.
push
({
"menu"
:
"Attendance Report"
,
"icon"
:
"fa fa-bar-chart fa-2x"
,
"path"
:
"templates/attendanceReport.html"
});
menuItems
.
push
({
"menu"
:
"Shift Details"
,
"icon"
:
"fa fa-superpowers fa-2x"
,
"path"
:
"templates/shiftdetails.html"
});
menuItems
.
push
({
"menu"
:
"Shift Details"
,
"icon"
:
"fa fa-superpowers fa-2x"
,
"path"
:
"templates/shiftdetails.html"
});
menuItems
.
push
({
"menu"
:
"Dashboard"
,
"icon"
:
"fa fa-television fa-2x"
,
"path"
:
"templates/dashboard.html"
});
menuItems
.
push
({
"menu"
:
"Dashboard"
,
"icon"
:
"fa fa-television fa-2x"
,
"path"
:
"templates/dashboard.html"
});
menuItems
.
push
({
"menu"
:
"Import Data"
,
"icon"
:
"fa fa-
up
load fa-2x"
,
"path"
:
"templates/exportData.html"
});
menuItems
.
push
({
"menu"
:
"Import Data"
,
"icon"
:
"fa fa-
down
load fa-2x"
,
"path"
:
"templates/exportData.html"
});
//menuItems.push({"menu" : "Charts","icon" : "fa fa-television fa-2x","path" : "templates/charts.html"});
//menuItems.push({"menu" : "Charts","icon" : "fa fa-television fa-2x","path" : "templates/charts.html"});
//menuItems.push({"menu" : "Utilization Report","icon" : "fa fa-television fa-2x","path" : "templates/charts3.html"});
//menuItems.push({"menu" : "Utilization Report","icon" : "fa fa-television fa-2x","path" : "templates/charts3.html"});
menuItems
.
push
({
"menu"
:
"Utilization Report"
,
"icon"
:
"fa fa-address-book-o fa-2x"
,
"path"
:
"templates/charts.html"
});
menuItems
.
push
({
"menu"
:
"Utilization Report"
,
"icon"
:
"fa fa-address-book-o fa-2x"
,
"path"
:
"templates/charts.html"
});
...
...
src/main/webapp/WEB-INF/controllers/ProjectController.js
View file @
889da4fd
...
@@ -609,7 +609,7 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor
...
@@ -609,7 +609,7 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor
var
getCellTemplate1
=
'<p class="col-lg-12"><i ng-show="!row.entity.editrow" class="fa fa-pencil-square-o fa-2x" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" ng-click="grid.appScope.edit(row)"></i>'
+
var
getCellTemplate1
=
'<p class="col-lg-12"><i ng-show="!row.entity.editrow" class="fa fa-pencil-square-o fa-2x" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" ng-click="grid.appScope.edit(row)"></i>'
+
'<i ng-show="row.entity.editrow" class="fa fa-save fa-2x" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" ng-click="grid.appScope.saveRow(row.entity,
\'
Update
\'
)"></i>'
'<i ng-show="row.entity.editrow" class="fa fa-save fa-2x" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" ng-click="grid.appScope.saveRow(row.entity,
\'
Update
\'
)"></i>'
+
' <i ng-show="row.entity.editrow" id="cancelEdit" class="fa fa-times fa-2x" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" ng-click="grid.appScope.cancelEdit(row.entity)"></i>'
+
' <i ng-show="row.entity.editrow" id="cancelEdit" class="fa fa-times fa-2x" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" ng-click="grid.appScope.cancelEdit(row.entity)"></i>'
+
' <i ng-show="grid.appScope.showMoveToBenchIcon(row.entity)" id="moveEdit" class="fa fa-arrow-circle-right fa-2x" aria-hidden="true" style="font-size:1.8em;margin-top:3px;cursor:pointer;" ng-click="grid.appScope.moveToBench(row.entity)"></i></p>'
;
+
' <i ng-show="grid.appScope.showMoveToBenchIcon(row.entity)
&& !row.entity.editrow
" id="moveEdit" class="fa fa-arrow-circle-right fa-2x" aria-hidden="true" style="font-size:1.8em;margin-top:3px;cursor:pointer;" ng-click="grid.appScope.moveToBench(row.entity)"></i></p>'
;
//' <i class="fa fa-minus-circle fa-2x" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" ng-click="grid.appScope.getRowData(row,\'Delete\')"></i></p>';
//' <i class="fa fa-minus-circle fa-2x" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" ng-click="grid.appScope.getRowData(row,\'Delete\')"></i></p>';
var
getCellActiveTemplate
=
'<div ng-show="COL_FIELD==true"><p class="col-lg-12">Y</P></div><div ng-show="COL_FIELD==false"><p class="col-lg-12">N</p></div>'
;
var
getCellActiveTemplate
=
'<div ng-show="COL_FIELD==true"><p class="col-lg-12">Y</P></div><div ng-show="COL_FIELD==false"><p class="col-lg-12">N</p></div>'
;
...
@@ -1412,7 +1412,7 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor
...
@@ -1412,7 +1412,7 @@ myApp.controller("projectController", function ($scope,uiGridConstants, myFactor
else
{
else
{
$scope
.
id
=
$scope
.
id
?
$scope
.
id
:
$scope
.
objectId
;
$scope
.
id
=
$scope
.
id
?
$scope
.
id
:
$scope
.
objectId
;
$scope
.
alertMsg
=
""
;
$scope
.
alertMsg
=
""
;
var
record
=
{
"id"
:
$scope
.
id
,
"employeeId"
:
employeeModel
.
employeeId
,
"projectId"
:
project
,
"billableStatus"
:
$scope
.
empBillableStatus
,
"billingEndDate"
:
$scope
.
endDate
,
"resourceRole"
:
$scope
.
employeeRole
,
"billingStartDate"
:
newBillingStartDate
};
var
record
=
{
"id"
:
$scope
.
id
,
"employeeId"
:
employeeModel
.
employeeId
,
"projectId"
:
project
,
"billableStatus"
:
$scope
.
empBillableStatus
,
"billingEndDate"
:
$scope
.
endDate
,
"resourceRole"
:
$scope
.
employeeRole
,
"billingStartDate"
:
newBillingStartDate
,
"status"
:
"Engaged"
};
if
(
action
==
"Add"
){
if
(
action
==
"Add"
){
addRecord
(
record
,
action
);
addRecord
(
record
,
action
);
$scope
.
myForm
.
$setPristine
();
$scope
.
myForm
.
$setPristine
();
...
...
src/main/webapp/WEB-INF/templates/exportData.html
View file @
889da4fd
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<label
class=
""
for=
"submitBtn"
><md-button
<label
class=
""
for=
"submitBtn"
><md-button
class=
"md-raised md-primary"
class=
"md-raised md-primary"
ng-click=
"uploadFiles()"
>
<i
ng-click=
"uploadFiles()"
>
<i
class=
"fa fa-
up
load fa-2x"
></i>
class=
"fa fa-
down
load fa-2x"
></i>
Import Data
</md-button></label>
Import Data
</md-button></label>
</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