<div class="reprot">
  <div class="container">
    <div class="containerContent-w">
        <div class="row" id="print-section">
            <div class="col-12">
              <table class="table table-bordered">
                  <thead class="headBackground-w">
                    <tr>
                      <th>إسم المجموغه</th>
                      <th *ngIf="rolesList['pages'].length > 0">إسم الصفحه</th>
                      <th>إسم النظام</th>
                      <th>تاريخ الإضافه</th>
                      <th>المستخدم</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr>
                      <td>{{rolesList.role_name}}</td>
                      <td *ngIf="rolesList['pages'].length > 0"><p *ngFor="let page of rolesList['pages']">{{page.name}}</p></td>
                      <td>{{rolesList.role_name}}</td>
                      <td>{{rolesList.created_at}}</td>
                      <td>{{rolesList.name}}</td>
                    </tr>
                  </tbody>
                </table>
            </div>
        </div>
        <button class="btn btn-success" style="float: right; margin: 10px 0;" (click)="onPrint()">طباعه</button> 

    </div>
  </div>
</div> 