From 41baaa948d8f5812c4e6f8295ab9c76ee3a27a67 Mon Sep 17 00:00:00 2001 From: Mark Musante Date: Wed, 23 Oct 2024 19:31:49 -0400 Subject: [PATCH] Upgrade Site to Bootstrap 5 --- IFComp/conf/ifcomp.conf | 2 +- IFComp/lib/IFComp.pm | 1 + IFComp/root/lib/site/footer | 34 +++- IFComp/root/lib/site/header | 207 ++++++++++++++------- IFComp/root/lib/site/html | 172 ++++++++--------- IFComp/root/src/_colossal_fund.tt | 21 ++- IFComp/root/src/_current_entry_row.tt | 23 ++- IFComp/root/src/_entry_row.tt | 8 +- IFComp/root/src/_entry_title.tt | 4 +- IFComp/root/src/_rating_controls.tt | 12 +- IFComp/root/src/about/colossal_fund.tt | 8 +- IFComp/root/src/about/comp.tt | 12 +- IFComp/root/src/about/contact.tt | 4 +- IFComp/root/src/about/copyright.tt | 8 +- IFComp/root/src/about/faq.tt | 156 ++++++++-------- IFComp/root/src/about/file_formats.tt | 2 +- IFComp/root/src/about/guidelines.tt | 16 +- IFComp/root/src/about/how_to_enter.tt | 4 +- IFComp/root/src/about/if.tt | 22 +-- IFComp/root/src/about/judging.tt | 6 +- IFComp/root/src/about/prizes.tt | 21 ++- IFComp/root/src/about/transcripts.tt | 24 ++- IFComp/root/src/admin/email/index.tt | 6 +- IFComp/root/src/admin/feedback/index.tt | 24 ++- IFComp/root/src/admin/index.tt | 4 +- IFComp/root/src/admin/voting/index.tt | 18 +- IFComp/root/src/admin/voting/show_entry.tt | 21 ++- IFComp/root/src/admin/voting/show_ip.tt | 18 +- IFComp/root/src/admin/voting/show_user.tt | 22 ++- IFComp/root/src/author_name.tt | 6 +- IFComp/root/src/ballot/feedback.tt | 4 +- IFComp/root/src/ballot/index.tt | 70 ++++--- IFComp/root/src/ballot/updates.tt | 6 +- IFComp/root/src/ballot/vote.tt | 8 +- IFComp/root/src/comp/cover_sheet.tt | 14 +- IFComp/root/src/comp/index.tt | 43 +++-- IFComp/root/src/entry/_form.tt | 61 +++--- IFComp/root/src/entry/feedback.tt | 50 ++--- IFComp/root/src/entry/list.tt | 2 +- IFComp/root/src/entry/preview.tt | 18 +- IFComp/root/src/entry/transcript.tt | 14 +- IFComp/root/src/entry/transcript_list.tt | 9 +- IFComp/root/src/entry/update.tt | 25 +-- IFComp/root/src/history/history.tt | 14 +- IFComp/root/src/rules/rules.tt | 15 +- IFComp/root/src/user/register.tt | 18 +- IFComp/root/src/welcome.tt2 | 19 +- IFComp/root/static/css/ifcomp-bs5.css | 56 ++++++ 48 files changed, 803 insertions(+), 529 deletions(-) create mode 100644 IFComp/root/static/css/ifcomp-bs5.css diff --git a/IFComp/conf/ifcomp.conf b/IFComp/conf/ifcomp.conf index 73e86e0c..0270f2db 100644 --- a/IFComp/conf/ifcomp.conf +++ b/IFComp/conf/ifcomp.conf @@ -1,3 +1,3 @@ # rename this file to ifcomp.yml and put a ':' after 'name' if # you want to use YAML like in old versions of Catalyst -name IFComp \ No newline at end of file +name IFComp diff --git a/IFComp/lib/IFComp.pm b/IFComp/lib/IFComp.pm index 18e0b09d..df822dab 100644 --- a/IFComp/lib/IFComp.pm +++ b/IFComp/lib/IFComp.pm @@ -4,6 +4,7 @@ use namespace::autoclean; use Catalyst::Runtime 5.80; + # Set flags and add plugins for the application. # # Note that ORDERING IS IMPORTANT here as plugins are initialized in order, diff --git a/IFComp/root/lib/site/footer b/IFComp/root/lib/site/footer index 28e315e2..6aa1538c 100644 --- a/IFComp/root/lib/site/footer +++ b/IFComp/root/lib/site/footer @@ -1,12 +1,28 @@ -