Commit dc4cf7f7 authored by Jie Yuan's avatar Jie Yuan
Browse files

change the sidebar default to open

parent d5d8fb71
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -99,4 +99,7 @@ table {
    position: relative;
  }

  
 No newline at end of file
  .form-div {
    width: 80%;
    margin:0 auto;
  }
 No newline at end of file
+11 −5
Original line number Diff line number Diff line
@@ -4,8 +4,13 @@
<div>
<mat-sidenav-container class="example-container" *ngIf="shouldRun">
  <mat-sidenav *ngIf="sidebarOpen" mode="side" opened>

 <p></p>
<div>
 <img src="assets/logoSideBar.png" alt="Banner Image" class="logoSideBarImg"/>
</div>
 <p></p>

 <div class="form-div">
  <mat-form-field>
  <mat-label>------DPMT------</mat-label>
  <mat-select>
@@ -15,7 +20,8 @@
  </mat-select>
</mat-form-field>
</div>
  <div>

  <div class="form-div">
  <mat-form-field>
  <mat-label>------GOCDB------</mat-label>
  <mat-select>
@@ -26,7 +32,7 @@
</mat-form-field>
</div>

  <div>
  <div class="form-div">
  <mat-form-field>
  <mat-label>------EOSC------</mat-label>
  <mat-select>
@@ -106,7 +112,7 @@

  <!-- Symbol Column -->
  <ng-container matColumnDef="hostNameStatus">
    <th mat-header-cell *matHeaderCellDef>Statsu </th>
    <th mat-header-cell *matHeaderCellDef>Status </th>
    <td mat-cell *matCellDef="let element"> {{element.hostNameStatus}} </td>
  </ng-container>

@@ -137,7 +143,7 @@
</table>


 <mat-paginator [pageSizeOptions]="[5, 10, 20,40]" showFirstLastButtons></mat-paginator>
 <mat-paginator [pageSizeOptions]="[10, 20,40]" showFirstLastButtons></mat-paginator>
</div>

  </mat-sidenav-content>
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ export class FulltableComponent implements OnInit , DoCheck, AfterViewInit{

  displayedColumns: string[] = ['siteName','hostName','hostNameOS','hostNameStatus','servCompServiceType','servCompName','servCompTagAtSite','servCompCreatedTime'];
  shouldRun: boolean = true;
  sidebarOpen: boolean = false;
  sidebarOpen: boolean = true;
  scRows: ServiceComponentRow[];
  currentServiceSource: string;

+5 −0
Original line number Diff line number Diff line
@@ -152,3 +152,8 @@ img {
.toolbar-div {
  background: rgb(184, 197, 196);
}

.form-div {
  width: 80%;
  margin:0 auto;
}
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -3,11 +3,11 @@
<div>
<mat-sidenav-container class="example-container" >
  <mat-sidenav *ngIf="sidebarOpen" mode="side" opened>

 <p></p>
<div>
 <img src="assets/logoSideBar.png" alt="Banner Image" class="logoSideBarImg"/>
</div>

 <p></p>
    <div>
  <mat-form-field>
  <mat-label>------DPMT------</mat-label>
Loading