<style>
  .downloadreport {
    float: right; 
    width: 200px;
    margin: 0px 0px 12px 0px;
    cursor: pointer; 
    border-radius: 4px;
    padding: 7px 15px;
    background: #c7c7c7;
  }
</style>

<div class="custom-tab" style="padding-left: 15px;">
    <div class="tab-content">
      <div id="home" class="tab-pane fade in active" style="overflow-x: scroll;">
        <div style="overflow-x: scroll;">
          <!--
            <div class="row col-sm-6">
                <div id="error_display" style="color:red !important;">
                </div>
            </div>
          -->
          <div class="wrpdatalist">
              <!--
              <div class = "downloadreport">
                <a href = "{{site_url}}/local/course/centerscsv.php?courid={{selcourid}}"><span><i class="fas fa-download" style = "margin-right:10px;"></i>Download Report</span></a>
              </div>
              -->
            <table class="table table-hover" id="schemecoursepartner_table">
                <tr>
                  <th><b>Sl No</b></th>
                  <th style=""><b>Course Name</b></th>
                  <th style=""><b>Course Code</b></th>
                  <th style=""><b>Training Center</b></th>
                  <th style=""><b>District Name</b></th>
                  <th style=""><b>Constituency Name</b></th>
                  <th style="text-align:center;"><b>Action</b></th>
                </tr>
              <tbody>
                <!--
                  {{#record}}
                    <tr>
                      <td style="width:5%; text-align:center;">{{counter}}</td>
                      <td style="width:10%;">{{fullname}}</td>
                      <td style="width:10%;">{{center}}</td>
                      <td style="width:10%;">{{name}}</td>
                      <td style="width:10%;">{{constname}}</td>
                      <td style="width:8%; text-align:center;">
                      {{#status}}
                        <button type="button"  class="btn btn-primary centeraccept"  id="centeraccept" style="margin-right: 20px;" value="{{id}}" data-center="accept" disabled>Accepted</button>
                      {{/status}}
                        {{#reapply}}
                        <button type="button" data-toggle="modal" class="btn btn-primary reapplied"  id="reapplied" style="margin-right: 20px;" value="{{id}}" disabled>Reapplied</button>
                        {{/reapply}}
                          {{^status}}
                          {{^reapply}}
                      <button type="button"  class="btn btn-danger reject"  id="reject" style="margin-right: 20px;" value="{{id}}" data-center="reject" disabled>Rejected</button>
                      <button type="button" data-toggle="modal" class="btn btn-primary reapply"  id="reapply" style="margin-right: 20px;" value="{{id}}">Reapply</button>
                      {{/reapply}}
                      {{/status}}
                      </td>
                    </tr>
                  {{/record}}
                  {{^record}}          
                    <tr>
                      <td colspan="6" style="text-align:center">NO RESULTS FOUND</td>
                    </tr>
                  {{/record}}
                -->
                </tbody>
              </table>
            </div>
        </div>
      </div>
    </div>
</div>

