diff --git a/grandnational-dashboard/grandnational_dashboard/dashboard.py b/grandnational-dashboard/grandnational_dashboard/dashboard.py index 7eb60e8..dc5a14e 100644 --- a/grandnational-dashboard/grandnational_dashboard/dashboard.py +++ b/grandnational-dashboard/grandnational_dashboard/dashboard.py @@ -13,7 +13,6 @@ async def home(request): {'request': request}, ) - routes = [ Route('/', endpoint=home), Mount('/static', StaticFiles(directory='../static'), name='static'), diff --git a/grandnational-dashboard/grandnational_dashboard/templates/index.html b/grandnational-dashboard/grandnational_dashboard/templates/index.html index 3201dd4..7a2bff5 100644 --- a/grandnational-dashboard/grandnational_dashboard/templates/index.html +++ b/grandnational-dashboard/grandnational_dashboard/templates/index.html @@ -1,7 +1,7 @@ - + Capacity Dashboard @@ -34,7 +34,7 @@
-
@@ -48,12 +48,12 @@
-

Grand National 2020

- +

Grand National 2020

+
-

Cheltenham 2020

- +

Cheltenham 2020

+
@@ -63,7 +63,7 @@
-
+

Cheltenham Festival 2020


Day One 🐴 Tuesday 10th March

@@ -78,7 +78,7 @@

Gold Cup Day 🏆 Friday 13th March

Featuring the Magners Cheltenham Gold Cup
-
+

Grand National 2020


Liverpool's Day 🐴 Thursday 2nd April

@@ -90,7 +90,7 @@

Grand National Day 🏆 Saturday 4th April

Featuring the Randox Health Grand National Steeple Chase

-

1st Favourite: Tiger Roll 🇮🇪

+

1st Favourite: Tiger Roll 🇮🇪

2nd Favourite: Burrows Saint 🇫🇷
diff --git a/grandnational-dashboard/static/css/gn.css b/grandnational-dashboard/static/css/gn.css index 99c802f..ff68612 100644 --- a/grandnational-dashboard/static/css/gn.css +++ b/grandnational-dashboard/static/css/gn.css @@ -79,3 +79,9 @@ div.container-fluid { font-weight: 300 !important; line-height: 1.2; } + +h4#first-favourite { + animation-delay: 2s; + animation-iteration-count: infinite; + animation-duration: 3s; +} diff --git a/grandnational-dashboard/static/js/gn.js b/grandnational-dashboard/static/js/gn.js index be6f861..64d90f2 100644 --- a/grandnational-dashboard/static/js/gn.js +++ b/grandnational-dashboard/static/js/gn.js @@ -17,3 +17,4 @@ $("#event-rotate").Morphist({ // Called after the entrance animation is executed. } }); +