From 5c61a5425b067fb33b60f6fddedb64391dedeb4d Mon Sep 17 00:00:00 2001 From: Harshvardhan Singh <73544247+Lawful2002@users.noreply.github.com> Date: Thu, 23 Feb 2023 14:32:15 +0530 Subject: [PATCH 01/78] GAD-5: Fix responsiveness (#1125) Co-authored-by: A Anunaya <76819712+Anunaya07@users.noreply.github.com> Co-authored-by: Aksh Bansal <63552235+Aksh-Bansal-dev@users.noreply.github.com> --- .../academic_procedures/academic.html | 44 +- FusionIIIT/templates/dashboard/dashboard.html | 327 ++++++------- FusionIIIT/templates/dashboard/modules.html | 447 ++++++++---------- FusionIIIT/templates/dashboard/navbar.html | 95 ++-- FusionIIIT/templates/globals/usercard.html | 101 ++-- 5 files changed, 517 insertions(+), 497 deletions(-) mode change 100755 => 100644 FusionIIIT/templates/academic_procedures/academic.html mode change 100755 => 100644 FusionIIIT/templates/dashboard/dashboard.html mode change 100755 => 100644 FusionIIIT/templates/dashboard/modules.html mode change 100755 => 100644 FusionIIIT/templates/dashboard/navbar.html mode change 100755 => 100644 FusionIIIT/templates/globals/usercard.html diff --git a/FusionIIIT/templates/academic_procedures/academic.html b/FusionIIIT/templates/academic_procedures/academic.html old mode 100755 new mode 100644 index 6b04a54fb..35eebf446 --- a/FusionIIIT/templates/academic_procedures/academic.html +++ b/FusionIIIT/templates/academic_procedures/academic.html @@ -22,6 +22,39 @@ } + + {% endblock css %} @@ -30,13 +63,12 @@ {% include 'dashboard/navbar.html' %} {% endblock %} -
Monday | {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'MB' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'ML' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'MD' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} @@ -71,27 +65,21 @@Tuesday | {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'TB' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'TL' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'TD' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} @@ -102,27 +90,21 @@Wednesday | {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'WB' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'WL' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'WD' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} @@ -131,27 +113,21 @@Thursday | {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'THB' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'THL' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'THD' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} @@ -161,27 +137,21 @@Friday | {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'FB' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'FL' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'FD' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} @@ -190,27 +160,21 @@Saturday | {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'SB' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'SL' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'SD' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} @@ -220,27 +184,21 @@Sunday | {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'SUB' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'SUL' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} {% for item in reg_menu %} - {% if item.mess_option == messinfo.mess_option %} {% if item.meal_time == 'SUD' %}{{item.dish}} | {% endif %} - {% endif %} {% endfor %} @@ -277,9 +235,9 @@Monthly bill | Rebate Count | Rebate Amt | -NonVeg Amt | Total | Paid | +Due Amount | {% for stu in monthly_bill %} @@ -288,7 +246,6 @@{{stu.amount}} | {{stu.rebate_count}} | {{stu.rebate_amount}} | -{{stu.nonveg_total_bill}} | {{stu.total_bill}} | {% if stu.paid %} @@ -297,12 +254,19 @@ {% endif %} | ++ {% if stu.paid %} + 0 + {% else %} + {{stu.due_amount}} + {% endif %} + | {% endfor %}
---|