dropdown menu settings now save

This commit is contained in:
Justin 2022-03-07 17:25:13 +08:00 committed by GitHub
parent 9cc541af6a
commit bbf9cc637e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -715,11 +715,11 @@
>
<option>Medium</option>
<option {%if stocks_settings.speed == 'medium' %} selected {% endif %}>Medium</option>
<option>Slow</option>
<option {%if stocks_settings.speed == 'slow' %} selected {% endif %}>Slow</option>
<option>Fast</option>
<option {%if stocks_settings.speed == 'fast' %} selected {% endif %}>Fast</option>
</select>
@ -787,11 +787,11 @@
>
<option>Down</option>
<option {%if stocks_settings.animation == 'down' %} selected {% endif %}>Down</option>
<option>Up</option>
<option {%if stocks_settings.animation == 'up' %} selected {% endif %}>Up</option>
<option>Continuous</option>
<option {%if stocks_settings.animation == 'continuous' %} selected {% endif %}>Continuous</option>
</select>
@ -1185,11 +1185,11 @@
>
<option>Medium</option>
<option {%if crypto_settings.speed == 'medium' %} selected {% endif %}>Medium</option>
<option>Slow</option>
<option {%if crypto_settings.speed == 'slow' %} selected {% endif %}>Slow</option>
<option>Fast</option>
<option {%if crypto_settings.speed == 'fast' %} selected {% endif %}>Fast</option>
</select>
@ -1257,11 +1257,11 @@
>
<option>Down</option>
<option {%if crypto_settings.animation == 'down' %} selected {% endif %}>Down</option>
<option>Up</option>
<option {%if crypto_settings.animation == 'up' %} selected {% endif %}>Up</option>
<option>Continuous</option>
<option {%if crypto_settings.animation == 'continuous' %} selected {% endif %}>Continuous</option>
</select>
@ -1657,11 +1657,11 @@
>
<option>Medium</option>
<option {%if forex_settings.speed == 'medium' %} selected {% endif %}>Medium</option>
<option>Slow</option>
<option {%if forex_settings.speed == 'slow' %} selected {% endif %}>Slow</option>
<option>Fast</option>
<option {%if forex_settings.speed == 'fast' %} selected {% endif %}>Fast</option>
</select>
@ -1729,11 +1729,11 @@
>
<option>Down</option>
<option {%if forex_settings.animation == 'down' %} selected {% endif %}>Down</option>
<option>Up</option>
<option {%if forex_settings.animation == 'up' %} selected {% endif %}>Up</option>
<option>Continuous</option>
<option {%if forex_settings.animation == 'continuous' %} selected {% endif %}>Continuous</option>
</select>
@ -2131,11 +2131,11 @@
>
<option>Medium</option>
<option {%if current_weather.speed == 'medium' %} selected {% endif %}>Medium</option>
<option>Slow</option>
<option {%if current_weather.speed == 'slow' %} selected {% endif %}>Slow</option>
<option>Fast</option>
<option {%if current_weather.speed == 'fast' %} selected {% endif %}>Fast</option>
</select>
@ -2203,11 +2203,11 @@
>
<option>Down</option>
<option {%if current_weather.animation == 'down' %} selected {% endif %}>Down</option>
<option>Up</option>
<option {%if current_weather.animation == 'up' %} selected {% endif %}>Up</option>
<option>Continuous</option>
<option {%if current_weather.animation == 'continuous' %} selected {% endif %}>Continuous</option>
</select>
@ -2281,9 +2281,9 @@
>
<option>Celsius</option>
<option {%if current_weather.temp == 'celsius' %} selected {% endif %}>Celsius</option>
<option>Fahrenheit</option>
<option {%if current_weather.temp == 'fahrenheit' %} selected {% endif %}>Fahrenheit</option>
@ -2317,9 +2317,9 @@
>
<option>Miles/hour</option>
<option {%if current_weather.wind_speed == 'miles/hour' %} selected {% endif %}>Miles/hour</option>
<option>Kilometers/hour</option>
<option {%if current_weather.wind_speed == 'kilometers/hour' %} selected {% endif %}>Kilometers/hour</option>
<option></option>
@ -2555,11 +2555,11 @@
>
<option>Medium</option>
<option {%if daily_weather.speed == 'medium' %} selected {% endif %}>Medium</option>
<option>Slow</option>
<option {%if daily_weather.speed == 'slow' %} selected {% endif %}>Slow</option>
<option>Fast</option>
<option {%if daily_weather.speed == 'fast' %} selected {% endif %}>Fast</option>
</select>
@ -2627,11 +2627,11 @@
>
<option>Down</option>
<option {%if daily_weather.animation == 'down' %} selected {% endif %}>Down</option>
<option>Up</option>
<option {%if daily_weather.animation == 'up' %} selected {% endif %}>Up</option>
<option>Continuous</option>
<option {%if daily_weather.animation == 'continuous' %} selected {% endif %}>Continuous</option>
</select>
@ -2705,9 +2705,9 @@
>
<option>Celsius</option>
<option {%if daily_weather.temp == 'celsius' %} selected {% endif %}>Celsius</option>
<option>Fahrenheit</option>
<option {%if daily_weather.temp == 'fahrenheit' %} selected {% endif %}>Fahrenheit</option>
@ -2741,9 +2741,9 @@
>
<option>Miles/hour</option>
<option {%if daily_weather.wind_speed == 'miles/hour' %} selected {% endif %}>Miles/hour</option>
<option>Kilometers/hour</option>
<option {%if daily_weather.wind_speed == 'kilometers/hour' %} selected {% endif %}>Kilometers/hour</option>
<option></option>
@ -3009,11 +3009,11 @@
>
<option>Medium</option>
<option {%if news_settings.speed == 'medium' %} selected {% endif %}>Medium</option>
<option>Slow</option>
<option {%if news_settings.speed == 'slow' %} selected {% endif %}>Slow</option>
<option>Fast</option>
<option {%if news_settings.speed == 'fast' %} selected {% endif %}>Fast</option>
</select>
@ -3081,11 +3081,11 @@
>
<option>Down</option>
<option {%if news_settings.animation == 'down' %} selected {% endif %}>Down</option>
<option>Up</option>
<option {%if news_settings.animation == 'up' %} selected {% endif %}>Up</option>
<option>Continuous</option>
<option {%if news_settings.animation == 'continuous' %} selected {% endif %}>Continuous</option>
</select>
@ -3119,23 +3119,23 @@
>
<option>United States</option>
<option {%if news_settings.country == 'United States' %} selected {% endif %}>United States</option>
<option>Australia</option>
<option {%if news_settings.country == 'Australia' %} selected {% endif %}>Australia</option>
<option>Canada</option>
<option {%if news_settings.country == 'Canada' %} selected {% endif %}>Canada</option>
<option>Great Britain</option>
<option {%if news_settings.country == 'Great Britain' %} selected {% endif %}>Great Britain</option>
<option>New Zealand</option>
<option {%if news_settings.country == 'New Zealand' %} selected {% endif %}>New Zealand</option>
<option>Ireland</option>
<option {%if news_settings.country == 'Ireland' %} selected {% endif %}>Ireland</option>
<option>Singapore</option>
<option {%if news_settings.country == 'Singapore' %} selected {% endif %}>Singapore</option>
<option>South Africa</option>
<option {%if news_settings.country == 'South Africa' %} selected {% endif %}>South Africa</option>
<option>Worldwide</option>
<option {%if news_settings.country == 'Worldwide' %} selected {% endif %}>Worldwide</option>
</select>
@ -3196,19 +3196,19 @@
>
<option>General</option>
<option {%if news_settings.category == 'General' %} selected {% endif %}>General</option>
<option>Business</option>
<option {%if news_settings.category == 'Business' %} selected {% endif %}>Business</option>
<option>Entertainment</option>
<option {%if news_settings.category == 'Entertainment' %} selected {% endif %}>Entertainment</option>
<option>Health</option>
<option {%if news_settings.category == 'Health' %} selected {% endif %}>Health</option>
<option>Science</option>
<option {%if news_settings.category == 'Science' %} selected {% endif %}>Science</option>
<option>Sports</option>
<option {%if news_settings.category == 'Sports' %} selected {% endif %}>Sports</option>
<option>Technology</option>
<option {%if news_settings.category == 'Technology' %} selected {% endif %}>Technology</option>
</select>
@ -3266,15 +3266,15 @@
>
<option>10</option>
<option {%if news_settings.num_headlines == '10' %} selected {% endif %}>10</option>
<option>15</option>
<option {%if news_settings.num_headlines == '15' %} selected {% endif %}>15</option>
<option>20</option>
<option {%if news_settings.num_headlines == '20' %} selected {% endif %}>20</option>
<option>25</option>
<option {%if news_settings.num_headlines == '25' %} selected {% endif %}>25</option>
<option>30</option>
<option {%if news_settings.num_headlines == '30' %} selected {% endif %}>30</option>
</select>
@ -3532,11 +3532,11 @@
>
<option>Medium</option>
<option {%if upcoming_games.speed == 'medium' %} selected {% endif %}>Medium</option>
<option>Slow</option>
<option {%if upcoming_games.speed == 'slow' %} selected {% endif %}>Slow</option>
<option>Fast</option>
<option {%if upcoming_games.speed == 'fast' %} selected {% endif %}>Fast</option>
</select>
@ -3604,11 +3604,11 @@
>
<option>Down</option>
<option {%if upcoming_games.animation == 'down' %} selected {% endif %}>Down</option>
<option>Up</option>
<option {%if upcoming_games.animation == 'up' %} selected {% endif %}>Up</option>
<option>Continuous</option>
<option {%if upcoming_games.animation == 'continuous' %} selected {% endif %}>Continuous</option>
</select>
@ -3834,11 +3834,11 @@
>
<option>Medium</option>
<option {%if past_games.speed == 'medium' %} selected {% endif %}>Medium</option>
<option>Slow</option>
<option {%if past_games.speed == 'slow' %} selected {% endif %}>Slow</option>
<option>Fast</option>
<option {%if past_games.speed == 'fast' %} selected {% endif %}>Fast</option>
</select>
@ -3906,11 +3906,11 @@
>
<option>Down</option>
<option {%if past_games.animation == 'down' %} selected {% endif %}>Down</option>
<option>Up</option>
<option {%if past_games.animation == 'up' %} selected {% endif %}>Up</option>
<option>Continuous</option>
<option {%if past_games.animation == 'continuous' %} selected {% endif %}>Continuous</option>
</select>
@ -4136,11 +4136,11 @@
>
<option>Medium</option>
<option {%if live_games.speed == 'medium' %} selected {% endif %}>Medium</option>
<option>Slow</option>
<option {%if live_games.speed == 'slow' %} selected {% endif %}>Slow</option>
<option>Fast</option>
<option {%if live_games.speed == 'fast' %} selected {% endif %}>Fast</option>
</select>
@ -4208,11 +4208,11 @@
>
<option>Down</option>
<option {%if live_games.animation == 'down' %} selected {% endif %}>Down</option>
<option>Up</option>
<option {%if live_games.animation == 'up' %} selected {% endif %}>Up</option>
<option>Continuous</option>
<option {%if live_games.animation == 'continuous' %} selected {% endif %}>Continuous</option>
</select>
@ -4434,11 +4434,11 @@
>
<option>Medium</option>
<option {%if team_stats.speed == 'medium' %} selected {% endif %}>Medium</option>
<option>Slow</option>
<option {%if team_stats.speed == 'slow' %} selected {% endif %}>Slow</option>
<option>Fast</option>
<option {%if team_stats.speed == 'fast' %} selected {% endif %}>Fast</option>
</select>
@ -4506,11 +4506,11 @@
>
<option>Down</option>
<option {%if team_stats.animation == 'down' %} selected {% endif %}>Down</option>
<option>Up</option>
<option {%if team_stats.animation == 'up' %} selected {% endif %}>Up</option>
<option>Continuous</option>
<option {%if team_stats.animation == 'continuous' %} selected {% endif %}>Continuous</option>
</select>
@ -4782,11 +4782,11 @@
>
<option>Medium</option>
<option {%if image_settings.speed == 'medium' %} selected {% endif %}>Medium</option>
<option>Slow</option>
<option {%if image_settings.speed == 'slow' %} selected {% endif %}>Slow</option>
<option>Fast</option>
<option {%if image_settings.speed == 'fast' %} selected {% endif %}>Fast</option>
</select>
@ -4854,11 +4854,11 @@
>
<option>Down</option>
<option {%if image_settings.animation == 'down' %} selected {% endif %}>Down</option>
<option>Up</option>
<option {%if image_settings.animation == 'up' %} selected {% endif %}>Up</option>
<option>Continuous</option>
<option {%if image_settings.animation == 'continuous' %} selected {% endif %}>Continuous</option>
</select>
@ -5148,11 +5148,11 @@
>
<option>Medium</option>
<option {%if GIF_settings.speed == 'medium' %} selected {% endif %}>Medium</option>
<option>Slow</option>
<option {%if GIF_settings.speed == 'slow' %} selected {% endif %}>Slow</option>
<option>Fast</option>
<option {%if GIF_settings.speed == 'fast' %} selected {% endif %}>Fast</option>
</select>
@ -5220,11 +5220,11 @@
>
<option>Down</option>
<option {%if GIF_settings.animation == 'down' %} selected {% endif %}>Down</option>
<option>Up</option>
<option {%if GIF_settings.animation == 'up' %} selected {% endif %}>Up</option>
<option>Continuous</option>
<option {%if GIF_settings.animation == 'continuous' %} selected {% endif %}>Continuous</option>
</select>
@ -5510,11 +5510,11 @@
>
<option>Medium</option>
<option {%if message_settings.speed == 'Medium' %} selected {% endif %}>Medium</option>
<option>Slow</option>
<option {%if message_settings.speed == 'Slow' %} selected {% endif %}>Slow</option>
<option>Fast</option>
<option {%if message_settings.speed == 'Fast' %} selected {% endif %}>Fast</option>
</select>
@ -5582,11 +5582,11 @@
>
<option>Down</option>
<option {%if message_settings.animation == 'Down' %} selected {% endif %}>Down</option>
<option>Up</option>
<option {%if message_settings.animation == 'Up' %} selected {% endif %}>Up</option>
<option>Continuous</option>
<option {%if message_settings.animation == 'Continuous' %} selected {% endif %}>Continuous</option>
</select>