Skip to content

Commit

Permalink
fixing header border style problem,UI: Renewing Study page #1802
Browse files Browse the repository at this point in the history
  • Loading branch information
shral committed Mar 8, 2019
1 parent 0d76aac commit 2a506a7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ <h3 *ngIf="title">{{title}}</h3>
<div class="j4care_dynamic_table" [ngClass]="config?.cssTableClass" *ngIf="patients && patients.length > 0">
<!--Patient header 1:-->
<div class="th {{hover_mode}}" [ngClass]="config?.cssThClass">
<div class="td"*ngFor="let patient_table of tableSchema[hover_mode]" [ngClass]="config?.cssTdClass" [ngStyle]="{width: patient_table.calculatedWidth}">
<div class="td"*ngFor="let patient_table of tableSchema[hover_mode]" [ngClass]="[config?.cssTdClass || '',(patient_table.type != 'value')?'empty_td':'not_empty_td']" [ngStyle]="{width: patient_table.calculatedWidth}">
<ng-container *ngIf="patient_table.type === 'value'">{{patient_table.header}}</ng-container>
<ng-container *ngIf="patient_table.type != 'value'">&nbsp;</ng-container>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,27 @@
-moz-box-shadow: 5px 3px 13px 0px rgba(68, 68, 68, 0.93) ;
box-shadow: 5px 3px 13px 0px rgba(68, 68, 68, 0.93) ;
&.studies{
padding-left: 20px;
padding-left: 22px;
}
&.series{
padding-left: 40px;
padding-left: 44px;
}
&.instance{
padding-left: 60px;
padding-left: 66px;
}
.td{
float: left;
border-right: 1px solid white;
//border-right: 1px solid white;
padding: 5px 7px;
&:last-child{
border:none;
}
&.empty_td{
//border-right: none;
}
&.not_empty_td{
border-left: 1px solid white;
}
}
}
.tr{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export class DicomStudiesTableComponent implements OnInit {
@Input() title:string;
constructor() { }

hover_mode = 'patient';
ngOnInit() {
this._config.offset = this._config.offset || 0;
}
Expand Down
1 change: 0 additions & 1 deletion dcm4chee-arc-ui2/src/app/study/study/study.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ export class StudyComponent implements OnInit {
offset:0
}
};
hover_mode = 'patient';
constructor(
private route:ActivatedRoute,
private service:StudyService,
Expand Down

0 comments on commit 2a506a7

Please sign in to comment.