issues
search
skounis
/
mt-countdown
Display a custom block with a Countdown function for Announcements, such as time-limited offers or upcoming releases in a Drupal 8 website. Drupal 8 module
0
stars
1
forks
source link
Improve and Polish - M3 #6
#9
Closed
a4dyakonov
closed
6 years ago
a4dyakonov
commented
6 years ago
Do not inject the HTML fragment for the Admin pages
http://i.prntscr.com/pczuSwmYR3K4J0qbzm0pIQ.png
Remove any Cookie Consent reference
http://i.prntscr.com/Uc0aAWK9QPiZc_A3vJyIgg.png
add two more Text fields "Title" and "Days To". Both fields will be 1 line text input. Place these two new fields 1st and 3rd in the configuration form
http://i.prntscr.com/uym1oLjvRUqJKljo5S4SSg.png
Their values will be used in the template
http://i.prntscr.com/Ouwms9bWRWCeV27kj1sJfA.png
Added Theme options. Add functionality: When the "Theme" option is selected we should add the class mt-count-down-theme in the div element.
http://i.prntscr.com/4k8BGZG9QdWqeeBAUMDzxw.png
Added the color buttons
http://i.prntscr.com/qmHJgClPQOigvGS8VHVukA.png
Use the selected color values and inject them in the template:
http://i.prntscr.com/v9Q_JNDoT3ul4VEPA20BIQ.png