WebsiteBench / tasks /eventbrite /solution /site /implementation /clone /frontend /templates /auth.html
Download tasks/eventbrite/solution/site/implementation/clone/frontend/templates/auth.html from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 4.89 kB
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/eventbrite/solution/site/implementation/clone/frontend/templates/auth.html
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/eventbrite/solution/site/implementation/clone/frontend/templates/auth.html
-
curl -L -o auth.html https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/eventbrite/solution/site/implementation/clone/frontend/templates/auth.html
4.89 kB
| {% extends "auth_base.html" %} | |
| {% block auth_content %} | |
| {% if unauthorized %} | |
| <div class="auth-alert" role="alert"> | |
| <p><strong>Sign-in required.</strong> Please sign in to continue.</p> | |
| </div> | |
| {% endif %} | |
| {% if auth_error %} | |
| <div class="auth-alert" role="alert"><p>{{ auth_error }}</p></div> | |
| {% endif %} | |
| <h1 class="auth-heading">Welcome!<br><span data-auth-step-title>What's your email?</span></h1> | |
| {# One POST to /auth/login, presented as the live email-first two-step: | |
| step 1 collects the email, step 2 reveals the password. Without JS both | |
| fields are visible and the form submits normally. #} | |
| <form method="post" action="/auth/login" class="auth-form" data-auth-two-step> | |
| <input type="hidden" name="csrf" value="{{ csrf }}"> | |
| <input type="hidden" name="next" value="{{ next_path }}"> | |
| <div class="eds-field" data-auth-step="email"> | |
| <div class="eds-field__box"> | |
| <span class="eds-field__label">Email</span> | |
| <input id="login-email" name="email" type="email" autocomplete="email" required aria-label="Email" autofocus> | |
| </div> | |
| </div> | |
| <div class="eds-field" data-auth-step="password"> | |
| <div class="eds-field__box"> | |
| <span class="eds-field__label">Password</span> | |
| <input id="login-password" name="password" type="password" autocomplete="current-password" required aria-label="Password"> | |
| </div> | |
| </div> | |
| <button type="button" class="eds-btn eds-btn--fill eds-btn--block eds-btn--lg" data-auth-continue>Continue</button> | |
| <button type="submit" class="eds-btn eds-btn--fill eds-btn--block eds-btn--lg" data-auth-submit>Log in</button> | |
| </form> | |
| <div class="auth-divider" role="separator"><span>Or sign in with</span></div> | |
| <p class="auth-legal">By clicking Continue or the Apple, Google, or Facebook icons, | |
| you agree to Eventbrite's <a href="/terms">Terms of Service</a> and | |
| <a href="/privacy">Privacy Policy</a>.</p> | |
| <div class="auth-social" aria-label="Social sign-in"> | |
| <button type="button" class="auth-social__btn" data-auth-social data-auth-provider="Apple" | |
| aria-label="Sign in with Apple" aria-describedby="auth-social-note"> | |
| <svg class="auth-social__icon" viewBox="0 0 48 48" aria-hidden="true"> | |
| <path fill="#1A1A1A" fill-rule="evenodd" clip-rule="evenodd" d="M28.012 13c-.997.046-2.222.679-2.947 1.516-.657.747-1.223 1.946-.065 3.1 1.112.091 2.268-.565 2.972-1.402.703-.86 1.179-2.036 1.043-3.214zM27.99 17.842c-1.564-.159-3.06.927-3.854.927s-2.019-.905-3.311-.882c-1.701.045-3.265.995-4.15 2.511-1.746 3.077-.431 7.602 1.292 10.09.839 1.199 1.859 2.579 3.174 2.511 1.27-.045 1.746-.814 3.288-.814 1.52 0 1.973.814 3.311.792 1.36-.023 2.222-1.245 3.061-2.466.975-1.403 1.36-1.923 1.382-1.991-.022-.023-2.653-1.878-2.698-4.887-.023-2.534 2.064-3.755 2.177-3.823-1.18-1.719-3.016-1.946-3.674-1.968z"/> | |
| </svg></button> | |
| <button type="button" class="auth-social__btn" data-auth-social data-auth-provider="Google" | |
| aria-label="Sign in with Google" aria-describedby="auth-social-note"> | |
| <svg class="auth-social__icon" viewBox="0 0 48 48" aria-hidden="true"><g transform="scale(.5) translate(24 24)"> | |
| <path fill="#FFC107" d="M43.611 20.083H42V20H24v8h11.303c-1.649 4.657-6.08 8-11.303 8-6.627 0-12-5.373-12-12s5.373-12 12-12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4 12.955 4 4 12.955 4 24s8.955 20 20 20 20-8.955 20-20c0-1.341-.138-2.65-.389-3.917z"/> | |
| <path fill="#FF3D00" d="M6.306 14.691l6.571 4.819C14.655 15.108 18.961 12 24 12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4 16.318 4 9.656 8.337 6.306 14.691z"/> | |
| <path fill="#4CAF50" d="M24 44c5.166 0 9.86-1.977 13.409-5.192l-6.19-5.238C29.211 35.091 26.715 36 24 36c-5.202 0-9.619-3.317-11.283-7.946l-6.522 5.025C9.505 39.556 16.227 44 24 44z"/> | |
| <path fill="#1976D2" d="M43.611 20.083H42V20H24v8h11.303c-.792 2.237-2.231 4.166-4.087 5.571l6.19 5.238C36.971 39.205 44 34 44 24c0-1.341-.138-2.65-.389-3.917z"/> | |
| </g></svg></button> | |
| <button type="button" class="auth-social__btn" data-auth-social data-auth-provider="Facebook" | |
| aria-label="Sign in with Facebook" aria-describedby="auth-social-note"> | |
| <svg class="auth-social__icon" viewBox="0 0 48 48" aria-hidden="true"><g transform="scale(.6) translate(15 15)"> | |
| <path fill="#2177ff" d="M24 5c-10.493 0-19 8.507-19 19s8.507 19 19 19 19-8.507 19-19-8.507-19-19-19z"/> | |
| <path fill="#fff" d="M26.572 29.036h4.917l.772-4.995h-5.69v-2.73c0-2.075.678-3.915 2.619-3.915h3.119v-4.359c-.548-.074-1.707-.236-3.897-.236-4.573 0-7.254 2.415-7.254 7.917v3.323h-4.701v4.995h4.701v13.729c.931.14 1.874.235 2.842.235.875 0 1.729-.08 2.572-.194z"/> | |
| </g></svg></button> | |
| </div> | |
| <p class="auth-social-note" id="auth-social-note" data-auth-social-note role="status" aria-live="polite" hidden></p> | |
| <nav class="auth-links"> | |
| <a href="/orders">Need help finding your tickets?</a> | |
| </nav> | |
| {% endblock %} | |