<style>
  .swal2-container {
    z-index: 10000;
  }
</style>
{{#logedusrcmd}}
  <table class="table table-hover" id="upcommingbatch_list">
    <thead>
      <tr>
        <th>Sl No</th>
        <th>Name</th>
        <th>DWMS ID</th>
        <th>Email</th>
        <th>Phone</th>
        <th>English Score</th>
        <!--<th>Soft Skill Score</th>-->
        <th>Slot</th>
      </tr>
    </thead>
    <tbody>
      {{#batchupcoming}}        
      <tr>
        <td style="width:5%;">{{{slno}}}</td>
        <td style="width:10%;">{{{studentname}}}</td>
        <td style="width:10%;">{{{dwmsid}}}</td>      
        <td style="width:10%;">{{{email}}}</td>
        <td style="width:10%;">{{{phone1}}}</td>
        <td style="width:10%;">              
              {{^englscore}}
                {{#dismark}}
                    <button type="button" class = "btn btn-primary" title="Add English Score Marks Not Allowed" disabled>Add English Score Marks</button>
                {{/dismark}}
                {{^dismark}}
                  <button type="button" data-toggle='modal' data-target='#mark_engscore_modal' class = "btn btn-primary engscore_btn" data-id="{{stuid}}" data-batchid="{{batchid}}" title="Add English Score Marks">Add English Score Marks</button>
                {{/dismark}}                
              {{/englscore}}
              {{#englscore}}	
                <button type="button" class = "btn btn-primary" title="Add English Score Marks Not Allowed" disabled>Add English Score Marks</button>
              {{/englscore}}
              <br><br>
              {{#englscore}}
                <button type="button" data-toggle='modal' data-target='#edit_engscore_modal' class = "btn btn-danger engscore_btn" data-id="{{stuid}}" data-rem="{{englscore}}" data-batchid="{{batchid}}" title="Edit English Score Marks">View</button>
              {{/englscore}}
              {{^englscore}}
                <button type="button" class = "btn btn-danger" title="Edit English Score Marks Not Allowed" disabled>View</button>
              {{/englscore}}
        </td>
        <!--
        <td style="width:10%;">
              {{^soscore}}
                {{#dismark}}
                  <button type="button" class = "btn btn-primary" title="Add Soft Skills Marks Not Allowed" disabled>Add Soft Skills Marks</button>
                {{/dismark}}
                {{^dismark}}
                  <button type="button" data-toggle='modal' data-target='#mark_softskill_score_modal' class = "btn btn-primary softskill_score_btn" data-id="{{stuid}}" data-batchid="{{batchid}}" title="Add Soft Skills Marks">Add Soft Skills Marks</button>
                {{/dismark}}
              {{/soscore}}
              {{#soscore}}
                <button type="button" class = "btn btn-primary" title="Add Soft Skills Marks Not Allowed" disabled>Add Soft Skills Marks</button>
              {{/soscore}}
              <br><br>
              {{#soscore}}
                <button type="button" data-toggle='modal' data-target='#edit_softskill_score_modal' class = "btn btn-danger softskill_score_btn" data-id="{{stuid}}" data-rem="{{soscore}}" data-batchid="{{batchid}}" title="Edit Soft Skills Marks">View</button>
              {{/soscore}}
              {{^soscore}}
                <button type="button" class = "btn btn-danger" title="Edit Soft Skills Marks Not Allowed" disabled>View</button>
              {{/soscore}}
        </td>
        -->
        <td style="width:45%;">{{{slot}}}</td>
      </tr>
      {{/batchupcoming}}
    </tbody>
  </table>
{{/logedusrcmd}}
{{^logedusrcmd}}
    <table class="table table-hover" id="upcommingbatch_list">
    <thead>
      <tr>
        <th>Sl No</th>
        <th>Name</th>
        <th>DWMS ID</th>
        <th>Email</th>
        <th>Phone</th>
        <th>Pre Assessment Score</th>
        <th>Pre Assessment Status</th>
        <th>English Score</th>
        <th>Soft Skill Score</th>
        <th>Post Assessment Score ( Given by PDT )</th>
        <!--<th>Post Assessment Status ( Given by PDT )</th>-->
        <th>Slot</th>
      </tr>
    </thead>
    <tbody>
      {{#batchupcoming}}
      <tr>
        <td style="width:5%;">{{{slno}}}</td>
        <td style="width:10%;">{{{studentname}}}</td>
        <td style="width:10%;">{{{dwmsid}}}</td>      
        <td style="width:10%;">{{{email}}}</td>
        <td style="width:5%;">{{{phone1}}}</td>
        <td style="width:10%;">
          {{#preasessid}}{{preasesscore}}{{/preasessid}}{{^preasessid}}-{{/preasessid}}
        </td>
        <td style="width:10%;">
          {{preasesbucket}}
        </td>
        <td style="width:10%;">
          {{#englscoreid}}{{englscore}}{{/englscoreid}}{{^englscoreid}}-{{/englscoreid}}
        </td>        
        <td style="width:10%;">
          {{#soscoreid}}{{soscore}}{{/soscoreid}}{{^soscoreid}}-{{/soscoreid}}
        </td>
        <td style="width:10%;">
          {{#remarkid}}{{remark}}{{/remarkid}}{{^remarkid}}-{{/remarkid}}
        </td>
        <!--<td style="width:10%;">
          {{postasesbucket}}
        </td>-->
        <td style="width:10%;">{{{slot}}}</td>
      </tr>
      {{/batchupcoming}}
    </tbody>
    </table>
{{/logedusrcmd}}
 
