<div class="card">
    <div class="card-header">
        <i class="fa fa-align-justify"></i> Answer Booklet Status
    </div>
    <div class="card-body">
        <div class="container">
            <div class="row">
                <div class="col-md-6">
                    <label><b> Student Name : </b> </label> XYZ
                </div>
                <div class="col-md-6">
                    <label><b>Course Name : </b> </label> B.Com 
                </div>
            </div>
        </div>
        <div>
            <button type="button" value="Submit" class="btn btn-primary pull-right" (click)="myModal.show()"> Add</button>
        </div>
        <br>
        <table class="table table-bordered table-responsive">
            <thead>
                <tr>
                    <th>Form Id</th>
                    <th>Sem/Year</th>
                    <th>Status</th>
                    <th>Comments</th>
                    <th>Activity</th>
                </tr>
            </thead>
            <tbody>
                <tr *ngFor="let app of documentsDetails">
                    <td>{{app.formId}}</td>
                    <td>{{app.sem}}</td>
                    <td>{{app.status}}</td>
                    <td>{{app.comments}}</td>
                    <td>
                        <!--<i class="fa fa-edit" tooltip="Edit" (click)="editDocuments()"></i> |-->
                        <i class="fa fa-eye" tooltip="View More" data-toggle="modal" (click)="myModal1.show(); getModelWindowDetails(app)"></i>
                    </td>
                </tr>
            </tbody>
        </table>
        <ul class="pagination">
            <li class="page-item"><a class="page-link" href="#">Prev</a></li>
            <li class="page-item active">
                <a class="page-link" href="#">1</a>
            </li>
            <li class="page-item"><a class="page-link" href="#">2</a></li>
            <li class="page-item"><a class="page-link" href="#">3</a></li>
            <li class="page-item"><a class="page-link" href="#">4</a></li>
            <li class="page-item"><a class="page-link" href="#">Next</a></li>
        </ul>
    </div>
</div>

<div bsModal #myModal="bs-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title">{{ myModalData.applicationId }}</h4>
                <button type="button" class="close" (click)="myModal.hide()" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
            </div>
            <div class="modal-body">
                <div class="container">
                    <div class="row">
                        <div class="col-md-4">
                            <label for="name"> From Id</label>
                            <select id="disabledSelect" class="form-control">
                                <option value="0">Select Form Id</option>
                                <option value="1">12321</option>
                                <option value="2">423343</option>
                                <option value="3">342332</option>
                            </select>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-4">
                            <label for="name"> Status</label>
                            <select id="disabledSelect" class="form-control">
                                <option value="0">Select Status</option>
                                <option value="1">Sent to SC</option>
                                <option value="2">Received From SC</option>
                                <option value="3">Sent to University</option>
                            </select>
                        </div>
                        <div class="col-md-4">
                            <label for="comment">Comments <span class="danger">*</span></label>
                            <textarea class="form-control" id="comments" placeholder="Enter Comments"></textarea>

                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" (click)="myModal.hide()">Close</button>
                <button type="button" class="btn btn-primary">Save</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<!-- /.modal -->

<div bsModal #myModal1="bs-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg" role="document" *ngIf="myModalData">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title">{{ myModalData.applicationId }}</h4>
                <button type="button" class="close" (click)="myModal1.hide()" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
            </div>
            <div class="modal-body">
                <div class="container">
                    <div class="row">
                        <div class="col-md-4">
                            <label for="name"> Status</label>
                            <select id="disabledSelect" class="form-control">
                                <option value="0">Select Status</option>
                                <option value="1">Sent to SC</option>
                                <option value="2">Received From SC</option>
                                <option value="3">Sent to University</option>
                            </select>
                        </div>
                        <div class="col-md-4">
                            <label for="comment">Comments <span class="danger">*</span></label>
                            <textarea class="form-control" id="comments" placeholder="Enter Comments"></textarea>

                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" (click)="myModal1.hide()">Close</button>
                <button type="button" class="btn btn-primary">Save</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<!-- /.modal -->