<div class="row">
    <div class="col-sm-6">
        <button type="button" class="btn btn-success downloadenrolluserexcel" value = "{{courseid}}">
            <i class="fa fa-download">&nbsp;&nbsp;Download Excel</i>
        </button>
    </div>
</div>
<div class="row">
    <div class="col-sm-12">
        <a href="{{url}}"><button type="button" class="btn btn-info back-button">
            <span class="btn-label"><i class="fas fa-angle-double-left"></i></span>&nbsp;&nbsp;Back
        </button></a>
    </div>
</div>

<div class="row main">
    <div class="col-12">
        <div class="row form-group">
            <div class="col-12">
                <table id = "userenrolled" class="table enrolled-user-table">
                    <thead>
                        <tr>
                            <th style=" background-color: #f7f3ff !important;padding: 15px 2px !important; ">Sl No.</th>
                            <th style=" background-color: #f7f3ff !important;padding: 15px 2px !important; ">Name</th>
                            <th style=" background-color: #f7f3ff !important;padding: 15px 2px !important; ">Email</th>
                            <th style=" background-color: #f7f3ff !important;padding: 15px 2px !important; ">Phone no</th>
                            <th style=" background-color: #f7f3ff !important;padding: 15px 2px !important; ">Purchased on</th>
                            <th style=" background-color: #f7f3ff !important;padding: 15px 2px !important; ">Enroll Date</th>
                            <th style=" background-color: #f7f3ff !important;padding: 15px 2px !important; ">Last Accessed On</th>
                            <th style=" background-color: #f7f3ff !important;padding: 15px 2px !important; ">Completion %</th>
                        </tr>
                    </thead>
                    <tbody>
                    {{#enroluser}}
                        <tr>
                            <td>{{slno}}</td>
                            <td>{{userfullname}}</td>
                            <td>{{email}}</td>
                            <td>{{registerednumber}}</td>
                            <td>{{purchasedate}}</td>
                            <td>{{enrolledon}}</td>
                            <td>{{lastaccessedon}}</td>
                            <td>{{completionpercentage}}</td>
                        </tr>
                    {{/enroluser}}
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
