{% block title %}{{ _("Thank You for Activating Your Account") }}{% end block %}
{% block content %}
- <div class="row justify-content-center my-5">
- <div class="col col-md-4 text-center">
- <h5>{{ _("Thank You for Activating Your Account") }}</h5>
+ <section class="hero is-large">
+ <div class="hero-body">
+ <h5 class="title">{{ _("Thank You for Activating Your Account") }}</h5>
- <p class="my-4">
- {{ _("To kick things off, would you like to setup a donation to the IPFire Project?") }}
- </p>
+ <div class="block">
+ <p>
+ {{ _("To kick things off, would you like to setup a donation to the IPFire Project?") }}
+ </p>
+ </div>
- <div class="d-grid">
- <a class="btn btn-lg btn-primary mb-1" href="https://www.ipfire.org/donate?first_name={{ url_escape(account.first_name) }}&last_name={{ url_escape(account.last_name) }}">
+ <div class="block">
+ <a class="button is-primary is-large is-fullwidth" href="/donate">
{{ _("Donate Now") }}
</a>
</div>
- <a class="link-secondary small" href="/">
- {{ _("No thanks, I have already donated") }}
- </a>
+ <div class="block">
+ <p class="has-text-centered">
+ <small>
+ <a href="/">
+ {{ _("No thanks, I already donated") }}
+ </a>
+ </small>
+ </p>
+ </div>
</div>
- </div>
+ </section>
{% end block %}
(r"/login", auth.LoginHandler),
(r"/logout", auth.LogoutHandler),
(r"/activate/([a-z_][a-z0-9_-]{0,31})/(\w+)", auth.ActivateHandler),
+ (r"/debug/activated", auth.DebugActivatedHandler),
# Blog
(r"/blog", blog.IndexHandler),
self.render("auth/activated.html", account=account)
+class DebugActivatedHandler(base.BaseHandler):
+ @tornado.web.authenticated
+ def get(self):
+ self.render("auth/activated.html", account=self.current_user)
+
+
class PasswordResetInitiationHandler(base.BaseHandler):
def get(self):
username = self.get_argument("username", None)