Sindbad~EG File Manager

Current Path : /home/numerotech/abs.numerotech.com/common_abs_v2-/core/templates/selection/
Upload File :
Current File : //home/numerotech/abs.numerotech.com/common_abs_v2-/core/templates/selection/selection_index.html

{% extends "selection/layout.html" %}
{% block title %}View Selection{% endblock %}
{% block content %}
<div class="container-fluid bg-light pt-3">
    <h3>
        {% if conf_id|int == 10 and selection_type_id|int == 2 %}
            Paper Presentation
        {% elif conf_id|int in (10,48) and selection_type_id|int == 10 %}
            E-Video
        {% else %}
            {{ display_name.title | upper }}
        {% endif %}
    </h3>
    <div class="row mt-3">
      <div class="col-lg-12 col-md-12 col-sm-12">
          <div class=" table-responsive  mobile-responsive ">
              {% if data %}
            <table width="100%" class="table table-bordered table-striped">
                <thead class="text-center">
                    <!--<th scope ="col">View</th>-->
                    <th scope="col">SNO</th>
                    
                    <th scope="col">ABS NO</th>
                    
                    <th scope="col">TITLE</th>
                    
                    {% if conf_id|int == 57 and selection_type_id|int == 2 %}
                        <th scope="col">AWARD</th>
                    {% endif %}
                    {% if abs_type != 'IC' and selection_type_id|int != 22  %}
                    <th scope="col">{% if conf_id|int == 39 and selection_type_id|int == 38 %}  AUTHOR {% else %} CHIEF AUTHOR {% endif %}</th>
                    {% endif %}
                    {% if conf_id|int == 39 and selection_type_id|int != 38 %}
                    <th scope="col">{% if abs_type == 'IC' or selection_type_id|int == 22 %}CHIEF INSTRUCTOR{% else %}PRESENTING AUTHOR{% endif %}</th>
                    {% else %}
                    <th scope="col">{% if abs_type == 'IC' or selection_type_id|int == 22 %}CHIEF INSTRUCTOR{% else %}PRESENTING AUTHOR{% endif %}</th>
                    {% endif %}
                    {% if conf_id|int != 57 and (abs_type == 'IC' or selection_type_id|int == 22) %}
                    <th scope="col">MEMBERSHIP NO</th>
                    {% endif %}
                    {% if conf_id|int != 57  and (abs_type == 'IC' or selection_type_id|int == 22) %}
                    <th scope="col">CO INSTRUCTOR(s)</th>
                    {% endif %}
                    {% if conf_id|int not in (10,48) %}
                    {% if conf_id|int != 39 or abs_type not in ('IC','XFILES','PGT') %}
                    {% if abs_type != 'PT' %}
                    <th scope="col">CATEGORY</th>
                    {% endif %}
                    {% endif %}
                    {% endif %}
                    {% if data[0].show_session_in_static | int == 1 and data[0].session_name %}
                    
                    <th scope="col">SESSION NAME</th>
                    <th scope="col">DATE TIME</th>
                    <th scope="col">HALL</th>
                    {% endif %}
                    <!--{% if  abs_type == 'FP' %}-->
                    <!--<th scope="col">{% if abs_type == 'IC' %}LEVEL{% else %}TYPE OF PRESENTATION{% endif %}</th>-->
                    <!--{% endif %}-->
                </thead>
                <tbody>
                    {% if data[0]["user_id"] %}
                    {% for i in data %}
                    <tr>
                        <!--<td data-label="Edit"><a href="{{url_for('user.Public_view',conf_id=conf_id,conf_key=conf_key,abs_type=i.abs_type,abs_no=i.abs_no)}}" target="_blank">View abstracts</a></td>-->
                        <td data-label="SNO">{{loop.index}}</td>
                        
                        <td data-label = "ABS NO"><span>{{i.abs_type}}{{i.abs_no or ''}}</span></td>
                        
                        <td data-label = "TITLE"><span>{{ i.title.title() or 'Incomplete' }}</span></td>
                        
                        {% if conf_id|int == 57 and selection_type_id|int == 2 %}
                            <td data-label = "AWARD">{{i.award_name or ''}}</td>
                        {% endif %}
                        {% if abs_type != 'IC' and selection_type_id|int != 22  %}
                            <td data-label = "CHIEF AUTHOR">{{ i.prefix or '' }}{{ i.full_name or '' }},{{i.membership_no or '' }}</td>
                        {% endif %}
                        {% if conf_id|int == 39 and selection_type_id|int != 38 %}
                        <td {% if abs_type == 'IC'  %} data-label="CHIEF INSTRUCTOR" {% else %} data-label = "PRESENTING AUTHOR" {% endif %}>{{ i.presenting_authour or '' }},{{i.presenting_membership_no or '' }}</td>
                        {% else %}
                        <td {% if abs_type == 'IC' or selection_type_id|int == 22 %} data-label="CHIEF INSTRUCTOR" {% else %} data-label = "PRESENTING AUTHOR" {% endif %}>{{ i.presenting_authour or '' }},{{i.presenting_membership_no or '' }}</td>
                        {% endif %}
                        {% if conf_id|int != 57 and (abs_type == 'IC' or selection_type_id|int == 22)  %}
                            <td data-label = "MEMBERSHIP NO">{{i.membership_no or 'Non Member' }}</td>
                        {% endif %}
                        {% if conf_id|int != 57 and (abs_type == 'IC' or selection_type_id|int == 22)  %}
                            <td data-label = "CO INSTRUCTOR(s)">{{ i.co_author or '' }}</td>
                        {% endif %}
                        {% if conf_id|int not in (10,48) %}
                        {% if conf_id|int != 39 or abs_type not in ('IC','XFILES','PGT') %}
                        {% if abs_type != 'PT'  %}
                            <td data-label = "CATEGORY">{{i.display_name or ''}}</td>
                        {% endif %}
                        {% endif %}
                        {% endif %}
                        {% if data[0].show_session_in_static | int == 1 and data[0].session_name %}
                            <td data-label = "SESSION NAME">{{ i.session_name or '' }}</td>
                            <td data-label = "DATE TIME">{{ i.session_date or '' }}</td>
                            <td data-label = "HALL">{{ i.hall_name or '' }}</td>
                        {% endif %}
                        <!--{% if abs_type == 'FP' %}-->
                        <!--<td data-label = "level">{% if abs_type == 'IC'%}{{i.level or '' }}{% else %}{{i.type or '' }}{% endif %}</td>-->
                        <!--{% endif %}-->
                    </tr>
                    {% endfor %}
                    {% endif %}
                </tbody>
            </table>
            {% endif %}
        </div>
      </div>
    </div>
</div>
{% endblock %}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists