Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Time-Tracking-Application-Client-End
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
Kaustubh Negi
Time-Tracking-Application-Client-End
Commits
2b43bb90
Commit
2b43bb90
authored
Feb 22, 2023
by
Kaustubh Negi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'2nd'
parent
6bd080f8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
121 additions
and
115 deletions
+121
-115
logout.component.html
src/app/logout/logout.component.html
+115
-113
logout.component.ts
src/app/logout/logout.component.ts
+3
-2
test-dashboard.component.html
src/app/test-dashboard/test-dashboard.component.html
+3
-0
No files found.
src/app/logout/logout.component.html
View file @
2b43bb90
...
...
@@ -16,7 +16,7 @@
</div>
<div
class=
"col-md-12"
>
<div
class=
"table-responsive tablenw"
>
<table>
<table>
<tbody>
<tr>
<th>
Description
</th>
...
...
@@ -78,23 +78,23 @@
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div
class =
"col-md-12"
>
<div
class=
"logout-inner"
>
<div
class =
"row"
>
<div
class=
"col-md-3"
>
<div
class=
"form-group"
>
<label>
Total Time Usage:
</label>
<!-- <div class="form-control" *ngIf="inputs.length>0 && isValidInput() && totalTime <= 1440"></div> --
>
<div
class =
"col-md-12"
>
<div
class=
"logout-inner"
>
<div
class =
"row"
>
<div
class=
"col-md-3"
>
<div
class=
"form-group"
>
<label>
Total Time Usage:
</label>
<div
class=
"form-control"
*
ngIf=
"inputs.length>0 && isValidInput() && totalTime <= 1440"
></div
>
<h3
class=
"form-control"
*
ngIf=
"inputs.length>0 && isValidInput() && totalTime <= 1440"
></h3>
</div>
<div
class =
"col-md-3"
>
<div
class =
"col-md-3"
>
<div
class=
"form-group"
>
<label>
Total Time Calculated:
</label>
...
...
@@ -102,8 +102,8 @@
{{totalTime}}
</div>
</div>
</div>
</div>
</div>
<div
class =
"col-md-3"
>
...
...
@@ -122,14 +122,16 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
</div>
</div>
</div>
\ No newline at end of file
src/app/logout/logout.component.ts
View file @
2b43bb90
...
...
@@ -8,7 +8,7 @@ import { HttpClient } from '@angular/common/http';
selector
:
'app-logout'
,
templateUrl
:
'./logout.component.html'
,
// styleUrls: ['./logout.component.css',]
styleUrls
:
[
'./
logout.component
.css'
,
'./assets/css/bootstrap.min.css'
,
'./assets/css/custom.css'
,
'./assets/css/font-awesome.min.css'
]
styleUrls
:
[
'./
assets/css/custom
.css'
,
'./assets/css/bootstrap.min.css'
,
'./assets/css/custom.css'
,
'./assets/css/font-awesome.min.css'
]
})
export
class
LogoutComponent
implements
OnInit
{
...
...
@@ -48,6 +48,7 @@ fetchActivities() {
this
.
inputs
.
push
({
description
:
''
,
time
:
0
,
activity
:
''
});
}
removeInput
(
index
:
number
)
{
if
(
this
.
inputs
.
length
>
1
)
this
.
inputs
.
splice
(
index
,
1
);
}
// onInputChange(index: number, field: string, value: string) {
...
...
src/app/test-dashboard/test-dashboard.component.html
View file @
2b43bb90
...
...
@@ -173,6 +173,9 @@
<div
class=
"dashboard-main"
></div>
<app-logout>
</app-logout>
<app-test-logout></app-test-logout>
<!-- <div>here to place all your content</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