<style>
#page-local-schememanagement-viewmapping .site-footer.bg-pink-600.grey-100{
  display: none;
}

@media only screen and (max-width:1700px) {
  #accept {
    margin-bottom: 5px;
  }
}

@media only screen and (max-width:480px) {
  .table-mob-responsive {
    overflow-x: scroll;
  }
}
.downloadreport {
  float: right; 
  width: 200px;
  margin: 0px 0px 12px 0px;
  cursor: pointer; 
  border-radius: 4px;
  padding: 7px 15px;
  background: #c7c7c7;
}
</style>

<input type = "hidden" name = "schemeid" id = "schemeid" class = "schemeid" value = "{{schemeid}}">
<input type = "hidden" name = "schmexpire" id = "schmexpire" class = "schmexpire" value = "{{schmexpire}}">

<div class="custom-tab" style="padding-left: 15px;">
    <div class="tab-content">
        <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>
              -->
              <div class="table-mob-responsive">

                <table class="table table-hover" id="schmappedcpartner_table">
                <thead>
                  <tr>
                    <th><b>Sl No</b></th>
                    <th><b>Scheme Name</b></th>
                    <th><b>Course Name</b></th>
                    <th><b>Course Code</b></th>
                    <th><b>Batch Size</b></th>
                    <th><b>Scheme Start Date</b></th>
                    <th><b>Scheme End Date</b></th>
                    <th style="text-align:center;"><b>Action</b></th>
                  </tr>
                </thead>
                <tbody>
                <!--
                  {{#record}}
                    <tr>
                      <td style="width:5%; text-align:center;">{{counter}}</td>
                      <td style="width:10%;">{{partner_name}}</td>
                      <td style="width:10%;">{{center}}</td>
                      <td style="width:10%;">{{fullname}}</td>
                      <td style="width:10%;">{{name}}</td>      
                      <td style="width:8%; text-align:center;">
                        {{#buttonaccept}}
                          {{#accept}}
                            <button type="button" data-toggle="modal" class="btn btn-primary centeraccept"  id="centeraccept" style="margin-right: 20px;" value="{{id}}" data-center="accept" disabled>Accepted</button>
                          {{/accept}}
                          {{^accept}}
                            <button type="button"  data-toggle="modal" data-target="#delete_modal" class="btn btn-danger centerreject" value="{{id}}" id="centerreject" style="margin-right: 20px;" disabled>Rejected</button>
                          {{/accept}}
                          {{#reapply}}
                            <a href="center_creation_admin.php?id={{id}}"><button type="button"  data-toggle="modal" class="btn btn-secondary centerview"  value="{{id}}" id="centerview" disabled>Reapplied</button></a>
                          {{/reapply}}
                        {{/buttonaccept}}
                        {{^buttonaccept}}
                          {{#buttonvalue}}
                            <button type="button" data-toggle="modal" class="btn btn-primary centeraccept"  id="centeraccept" style="margin-right: 20px;" value="{{id}}" data-center="accept">Accept</button>
                            <button type="button"  data-toggle="modal" data-target="#delete_modal" class="btn btn-danger centerreject" value="{{id}}" id="centerreject" style="margin-right: 20px;">Reject</button>
                            <a href="center_creation_admin.php?id={{id}}"><button type="button"  data-toggle="modal" class="btn btn-secondary centerview"  value="{{id}}" id="centerview">View</button></a>
                          {{/buttonvalue}}        
                          {{^buttonvalue}}
                            {{#reapply}} 
                              <div class="btn-group">
                                <button type="button" data-toggle="modal" class="btn btn-primary centeraccept"  id="centeraccept" style="margin-right: 10px;" value="{{id}}" data-center="accept">Accept</button>
                                <button type="button"  data-toggle="modal" data-target="#delete_modal" class="btn btn-danger centerreject" value="{{id}}" id="centerreject" style="margin-right: 10px;">Reject</button>
                                <button type="button"  data-toggle="modal" data-target="#delete_modal" class="btn btn-info reappliedstatus" value="{{id}}" id="reappliedstatus" style="margin-right: 10px;" disabled>Reapplied</button>
                                <a href="center_creation_admin.php?id={{id}}"><button type="button"  data-toggle="modal" class="btn btn-secondary centerview"  value="{{id}}" id="centerview">View</button></a>
                              </div>
                            {{/reapply}}
                            {{^reapply}}
                              {{#status}}
                                <button type="button" data-toggle="modal" class="btn btn-primary centeraccept"  id="centeraccept" style="margin-right: 20px;" value="{{id}}" data-center="accept" disabled>Accepted</button>
                                {{#reject_value}}
                                  <button type="button" class="btn btn-danger" style="margin-right: 20px;" disabled>Reject</button>
                                {{/reject_value}}
                                {{^reject_value}}
                                  <button type="button"  data-toggle="modal" data-target="#delete_modal" class="btn btn-danger centerreject"  value="{{id}}" id="centerreject" style="margin-right: 20px;">Reject</button>
                                {{/reject_value}}
                                <a href="center_creation_admin.php?id={{id}}"><button type="button"  data-toggle="modal"  class="btn btn-secondary centerview"  value="{{id}}" id="centerview">View</button></a>
                              {{/status}}
                              {{^status}}
                                <button type="button" data-toggle="modal" class="btn btn-primary centeraccept"  id="centeraccept" style="margin-right: 20px;" value="{{id}}" data-center="accept">Accept</button>
                                <button type="button"  data-toggle="modal" data-target="#delete_modal" class="btn btn-danger centerreject"  value="{{id}}" id="centerreject" disabled style="margin-right: 20px;">Rejected</button>
                                <a href="center_creation_admin.php?id={{id}}"><button type="button"  data-toggle="modal" class="btn btn-secondary centerview"  value="{{id}}" id="centerview">View</button></a>
                              {{/status}}
                            {{/reapply}}
                          {{/buttonvalue}}
                        {{/buttonaccept}}
                      </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>       

