WebsiteBench / tasks /ace-hardware /solution /site /implementation /clone /templates /account /security.html
Download tasks/ace-hardware/solution/site/implementation/clone/templates/account/security.html from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 1.3 kB
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/ace-hardware/solution/site/implementation/clone/templates/account/security.html
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/ace-hardware/solution/site/implementation/clone/templates/account/security.html
-
curl -L -o security.html https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/ace-hardware/solution/site/implementation/clone/templates/account/security.html
1.3 kB
| {% extends "base.html" %} | |
| {% from "account/_nav.html" import account_nav %} | |
| {% block title %}Security & Sessions{% endblock %} | |
| {% block page_id %}account-security{% endblock %} | |
| {% block content %} | |
| <div class="shell account-layout"> | |
| {{ account_nav('security') }} | |
| <section class="account-main"> | |
| <h1 class="page-title">Security & Sessions</h1> | |
| <section class="checkout-card"> | |
| <h2>Password</h2> | |
| <p>Passwords are stored only as salted hashes in the site-local database.</p> | |
| <a class="btn btn-outline" href="/user/password-reset">Change password</a> | |
| </section> | |
| <section class="checkout-card"> | |
| <h2>Active sessions ({{ active_sessions|length }})</h2> | |
| <table class="orders-table"> | |
| <thead><tr><th>Created (unix)</th><th>Expires (unix)</th></tr></thead> | |
| <tbody> | |
| {% for s in active_sessions %} | |
| <tr><td>{{ s.created_at }}</td><td>{{ s.expires_at }}</td></tr> | |
| {% endfor %} | |
| </tbody> | |
| </table> | |
| <form action="/myaccount/security/signout-others" method="post"> | |
| <button class="btn btn-red" type="submit">Sign out all other devices</button> | |
| </form> | |
| <p class="form-hint">Signing out other devices revokes every session except this one, immediately and persistently.</p> | |
| </section> | |
| </section> | |
| </div> | |
| {% endblock %} | |