WebsiteBench / tasks /everyplate /environment /reference /clone /frontend /templates /settings_notifications.html
Download tasks/everyplate/environment/reference/clone/frontend/templates/settings_notifications.html from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 1.41 kB
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/everyplate/environment/reference/clone/frontend/templates/settings_notifications.html
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/everyplate/environment/reference/clone/frontend/templates/settings_notifications.html
-
curl -L -o settings_notifications.html https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/everyplate/environment/reference/clone/frontend/templates/settings_notifications.html
1.41 kB
| {% extends "settings_base.html" %} | |
| {% block title %}Notifications | EveryPlate{% endblock %} | |
| {% block panel %} | |
| <h1 class="ep-h1">Notifications</h1> | |
| <form method="post" action="/settings/notifications"> | |
| <section class="ep-settings__card"> | |
| <h2 class="ep-h2">Email Preferences</h2> | |
| <ul class="ep-toggles"> | |
| {% for key, label in email_prefs %} | |
| <li class="ep-toggle"> | |
| <label class="ep-toggle__label" for="{{ key }}">{{ label }}</label> | |
| <input class="ep-toggle__input" type="checkbox" id="{{ key }}" name="{{ key }}" | |
| data-pref="{{ key }}" {% if state[key] %}checked{% endif %}> | |
| </li> | |
| {% endfor %} | |
| </ul> | |
| </section> | |
| <section class="ep-settings__card"> | |
| <h2 class="ep-h2">Promotions, offers & marketing</h2> | |
| <ul class="ep-toggles"> | |
| <li class="ep-toggle"> | |
| <label class="ep-toggle__label" for="{{ sms_pref[0] }}">{{ sms_pref[1] }}</label> | |
| <input class="ep-toggle__input" type="checkbox" id="{{ sms_pref[0] }}" name="{{ sms_pref[0] }}" | |
| data-pref="{{ sms_pref[0] }}" {% if state[sms_pref[0]] %}checked{% endif %}> | |
| </li> | |
| </ul> | |
| <p class="ep-toggle__legal">Receive offers and promotions via text messages. This offline clone never sends a real message; everything lands in the local outbox.</p> | |
| </section> | |
| <button class="ep-btn" type="submit">Save preferences</button> | |
| </form> | |
| {% endblock %} | |