Download tasks/ace-hardware/environment/reference/clone/templates/account/_nav.html from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 1.74 kB
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/ace-hardware/environment/reference/clone/templates/account/_nav.html
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/ace-hardware/environment/reference/clone/templates/account/_nav.html
-
curl -L -o _nav.html https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/ace-hardware/environment/reference/clone/templates/account/_nav.html
1.74 kB
| {% macro account_nav(active) %} | |
| <aside class="account-nav" aria-label="Account sections"> | |
| <div class="account-nav-group"><ul><li><a class="{{ 'is-active' if active == 'dashboard' }}" href="/myaccount">Account Dashboard</a></li></ul></div> | |
| <div class="account-nav-group"><p class="account-nav-title">Ace Rewards</p><ul><li><a class="{{ 'is-active' if active == 'rewards' }}" href="/myaccount/rewards">Rewards Dashboard</a></li></ul></div> | |
| <div class="account-nav-group"><p class="account-nav-title">Purchases</p><ul><li><a class="{{ 'is-active' if active in ['orders', 'purchases'] }}" href="/myaccount/purchase-history">Purchase History</a></li><li><a href="/myaccount/orders">Subscriptions</a></li><li><a href="/myaccount/orders">Ace YardRx</a></li></ul></div> | |
| <div class="account-nav-group"><p class="account-nav-title">Lists</p><ul><li><a class="{{ 'is-active' if active == 'saved' }}" href="/myaccount/saved">My Lists</a></li></ul></div> | |
| <div class="account-nav-group"><p class="account-nav-title">Account</p><ul><li><a class="{{ 'is-active' if active == 'profile' }}" href="/myaccount/profile">Profile</a></li><li><a class="{{ 'is-active' if active == 'security' }}" href="/myaccount/security">Password</a></li><li><a class="{{ 'is-active' if active == 'addresses' }}" href="/myaccount/addresses">Address Book</a></li><li><a class="{{ 'is-active' if active == 'payments' }}" href="/myaccount/payment-methods">Payment Methods</a></li><li><a class="{{ 'is-active' if active == 'notifications' }}" href="/myaccount/notifications">Communication Prefs</a></li></ul></div> | |
| <form action="/user/logout" method="post"> | |
| <button class="btn btn-ghost" type="submit" id="logout-btn">Sign Out</button> | |
| </form> | |
| </aside> | |
| {% endmacro %} | |