Sindbad~EG File Manager
{% extends 'query/backoffice_query/layout.html' %}
{% block title %}{{conf_data.conf_name}} - Current Session Queries {% endblock %}
{% block content %}
<div class="container">
<form>
<div class="row">
<div class="col-md-6 text-center offset-md-3">
{% if getDays: %}
{% for days in getDays %}
{% if days.dt|string == current_date : %}
{% set bg_color = "#0c7080" %}
{% set textcolor = "white" %}
{% else %}
{% set bg_color = "none" %}
{% set textcolor = "none" %}
{% endif %}
<div class="card mt-2" style="background-color: {{bg_color}};color:{{textcolor}};">
<div class="card-body" style="cursor: pointer;" onclick="location.href = '{{url_for('boquery.BOHalls',conf_id=conf_id,conf_key=conf_key,conf_date=days.dt)}}';">
<span class="h5" style="text-transform: uppercase;">{{days.display_dt}}<br> {{days.dt.strftime('%d-%m-%Y')}}, {{days.dt.strftime('%A')}}</span><span class="float-right"><i class="fa fa-arrow-circle-right fa-2x" aria-hidden="true"></i></span>
</div>
</div>
{% endfor %}
{% else %}
<h3 class="font-weight-bold text-center mt-2">No Data</h3>
{% endif %}
</div>
</div>
</form>
</div>
{% endblock %}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists