Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BHC Meta tagging
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sai.sandeep
BHC Meta tagging
Commits
4c183cbe
Commit
4c183cbe
authored
Nov 24, 2022
by
sai.sandeep
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hover text and button color
parent
d200e814
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
33 additions
and
13 deletions
+33
-13
src/app/app.component.html
src/app/app.component.html
+1
-5
src/app/common-components/annotate-text/annotate-text.component.html
...mon-components/annotate-text/annotate-text.component.html
+8
-3
src/app/common-components/annotate-text/annotate-text.component.scss
...mon-components/annotate-text/annotate-text.component.scss
+9
-0
src/app/common-components/common-components.module.ts
src/app/common-components/common-components.module.ts
+3
-1
src/app/common-components/table-server-side/table-server-side.component.html
...onents/table-server-side/table-server-side.component.html
+1
-1
src/app/pages/landing/landing.component.ts
src/app/pages/landing/landing.component.ts
+1
-0
src/app/pages/pages.component.html
src/app/pages/pages.component.html
+7
-0
src/assets/jsons/requestTable.json
src/assets/jsons/requestTable.json
+3
-3
No files found.
src/app/app.component.html
View file @
4c183cbe
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<app-toastr></app-toastr>
<app-toastr></app-toastr>
<app-loader></app-loader>
<app-loader></app-loader>
<div>
<div
class=
"text-center main-header"
>
<h6
class=
"m-0"
>
BHC Meta Tagging
</h6>
</div>
</div>
<router-outlet></router-outlet>
<router-outlet></router-outlet>
<!-- <app-footer></app-footer> -->
<!-- <app-footer></app-footer> -->
</div>
</div>
\ No newline at end of file
src/app/common-components/annotate-text/annotate-text.component.html
View file @
4c183cbe
...
@@ -15,9 +15,14 @@
...
@@ -15,9 +15,14 @@
<div
class=
"col-12 "
>
<div
class=
"col-12 "
>
<div
class=
"tags-container pb-1"
>
<div
class=
"tags-container pb-1"
>
<label
class=
"grey-label ps-3"
>
Tags:
</label>
<label
class=
"grey-label ps-3"
>
Tags:
</label>
<button
*ngFor=
"let data of inputData.class_details"
type=
"button"
class=
"btn btn-primary m-1 "
(click)=
"addAnnotation(data)"
>
<ng-container
*ngFor=
"let data of inputData.class_details"
>
{{data}}
<button
type=
"button"
class=
"btn default-datatype m-1 "
(click)=
"addAnnotation(data)"
*ngIf=
"inputData['defaultDataType'] === data"
ngbTooltip=
"Default Data Type"
>
</button>
{{data}}
</button>
<button
type=
"button"
class=
"btn btn-primary m-1 "
(click)=
"addAnnotation(data)"
*ngIf=
"inputData['defaultDataType'] !== data"
>
{{data}}
</button>
</ng-container>
</div>
</div>
</div>
</div>
<div
class=
"col-md-12 mt-3"
>
<div
class=
"col-md-12 mt-3"
>
...
...
src/app/common-components/annotate-text/annotate-text.component.scss
View file @
4c183cbe
...
@@ -23,4 +23,13 @@
...
@@ -23,4 +23,13 @@
.datatype-text
{
.datatype-text
{
max-height
:
4rem
;
max-height
:
4rem
;
overflow-y
:
auto
;
overflow-y
:
auto
;
}
.default-datatype
{
background
:
#ed8b00
;
color
:
#FFF
;
&
:hover
{
background
:
#ffc107
;
color
:
#FFF
;
}
}
}
\ No newline at end of file
src/app/common-components/common-components.module.ts
View file @
4c183cbe
...
@@ -10,6 +10,7 @@ import { AnnotateTextComponent } from './annotate-text/annotate-text.component';
...
@@ -10,6 +10,7 @@ import { AnnotateTextComponent } from './annotate-text/annotate-text.component';
import
{
NgxAnnotateTextModule
}
from
'
ngx-annotate-text
'
;
import
{
NgxAnnotateTextModule
}
from
'
ngx-annotate-text
'
;
import
{
NgSelectModule
}
from
'
@ng-select/ng-select
'
;
import
{
NgSelectModule
}
from
'
@ng-select/ng-select
'
;
import
{
FormsModule
}
from
'
@angular/forms
'
;
import
{
FormsModule
}
from
'
@angular/forms
'
;
import
{
NgbModule
}
from
'
@ng-bootstrap/ng-bootstrap
'
;
...
@@ -26,7 +27,8 @@ import { FormsModule } from '@angular/forms';
...
@@ -26,7 +27,8 @@ import { FormsModule } from '@angular/forms';
SimpleTableWithPaginationModule
,
SimpleTableWithPaginationModule
,
ToasterModule
,
ToasterModule
,
TableServerSideModule
,
TableServerSideModule
,
NgxAnnotateTextModule
NgxAnnotateTextModule
,
NgbModule
],
],
exports
:[
exports
:[
SimpleTableWithPaginationModule
,
SimpleTableWithPaginationModule
,
...
...
src/app/common-components/table-server-side/table-server-side.component.html
View file @
4c183cbe
...
@@ -203,7 +203,7 @@
...
@@ -203,7 +203,7 @@
</ng-template>
</ng-template>
<!-- th.clickAble.condition -->
<!-- th.clickAble.condition -->
<ng-template
#clickableCell
>
<ng-template
#clickableCell
>
<span
class=
"active clickable-element"
[ngClass]=
"settings?.clickableColumns?.class"
(click)=
"cellClick(tr,th)"
>
<span
class=
"active clickable-element"
[ngClass]=
"settings?.clickableColumns?.class"
(click)=
"cellClick(tr,th)"
[title]=
"tr[th.key]"
>
<ng-container
<ng-container
*ngIf=
"th.clickAble?.condition?.altText?.value ; then clickableWithAlt else clickableWithoutAlt"
>
*ngIf=
"th.clickAble?.condition?.altText?.value ; then clickableWithAlt else clickableWithoutAlt"
>
</ng-container>
</ng-container>
...
...
src/app/pages/landing/landing.component.ts
View file @
4c183cbe
...
@@ -465,6 +465,7 @@ export class LandingComponent implements OnInit {
...
@@ -465,6 +465,7 @@ export class LandingComponent implements OnInit {
this
.
http
.
API_REQUEST
(
request
).
subscribe
((
response
)
=>
{
this
.
http
.
API_REQUEST
(
request
).
subscribe
((
response
)
=>
{
if
(
response
.
status
===
'
SUCCESS
'
&&
response
.
data
)
{
if
(
response
.
status
===
'
SUCCESS
'
&&
response
.
data
)
{
this
.
annotateData
=
response
.
data
;
this
.
annotateData
=
response
.
data
;
this
.
annotateData
[
'
defaultDataType
'
]
=
data
[
'
data_type
'
];
this
.
modalService
.
open
(
this
.
editPopup
,
this
.
modalOptions
);
this
.
modalService
.
open
(
this
.
editPopup
,
this
.
modalOptions
);
}
else
{
}
else
{
this
.
_toast
.
toast
(
'
warning
'
,
'
Warning
'
,
response
.
message
||
'
Error while Loading data.
'
,
true
);
this
.
_toast
.
toast
(
'
warning
'
,
'
Warning
'
,
response
.
message
||
'
Error while Loading data.
'
,
true
);
...
...
src/app/pages/pages.component.html
View file @
4c183cbe
<div>
<div>
<div
class=
"text-center main-header"
>
<h6
class=
"m-0"
>
BHC Meta Tagging
</h6>
</div>
</div>
</div>
<div>
<div>
<router-outlet></router-outlet>
<router-outlet></router-outlet>
</div>
</div>
\ No newline at end of file
src/assets/jsons/requestTable.json
View file @
4c183cbe
...
@@ -29,13 +29,13 @@
...
@@ -29,13 +29,13 @@
}
}
],
],
"body_content"
:
[{
"body_content"
:
[{
"table_name"
:
"Table1"
,
"table_name"
:
"Table1
asfashlfaslfhsdalfhsldafjhsaldfjhlsdafhalsfjhsdalfjhladsfasdhf
"
,
"data_type"
:
"
Type1
"
,
"data_type"
:
"
DISEASE
"
,
"status"
:
"<span class=
\"
text-success
\"
> <i class=
\"
fa fa-check-circle-o
\"
></i> Completed </span>"
"status"
:
"<span class=
\"
text-success
\"
> <i class=
\"
fa fa-check-circle-o
\"
></i> Completed </span>"
},
},
{
{
"table_name"
:
"Table1"
,
"table_name"
:
"Table1"
,
"data_type"
:
"
Type1
"
,
"data_type"
:
"
PROBLEM
"
,
"status"
:
"<span class=
\"
text-grey
\"
> <i class=
\"
fa fa-check-circle-o
\"
></i> Pending </span>"
"status"
:
"<span class=
\"
text-grey
\"
> <i class=
\"
fa fa-check-circle-o
\"
></i> Pending </span>"
}
}
],
],
...
...
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