AgPerry's picture
Add files using upload-large-folder tool
7f8e190 verified
Raw History Blame Contribute Delete
1.67 kB
{% extends "base.html" %}
{% import "_partials.html" as ui %}
{# Local delivery surface. Mail is LOCAL_ONLY: the runtime records the message
and never hands it to a transport, so this page is the honest stand-in for
the inbox. It shows only the message belonging to the requesting session. #}
{% block title %}Message from LeetCode{% endblock %}
{% block header %}{{ ui.app_header(member, '', false) }}{% endblock %}
{% block main %}
<div class="auth auth--top">
<div class="auth__panel auth__panel--wide">
<h1 class="auth__panel-title">Local message</h1>
{% if message %}
<p class="auth__panel-lead">
This clone sends no email. The runtime recorded the message below as
<code>LOCAL_ONLY</code> for this browser session only.
</p>
<article class="mail">
<p class="mail__meta">From {{ message.sender }} &middot; To {{ message.recipient }}</p>
<h2 class="mail__subject">{{ message.subject }}</h2>
<p>{{ message.lead }}</p>
<p class="mail__code">{{ message.code }}</p>
<p>{{ message.body }}</p>
<p class="mail__expiry">{{ message.expiry }}</p>
<p class="mail__footer">{{ message.footer }}</p>
</article>
<div class="auth__row">
<a href="{{ back_url }}">Back to the form</a>
</div>
{% else %}
<p class="auth__panel-lead">There is no pending message for this device. Start the flow again to receive a new code.</p>
<div class="auth__row">
<a href="/accounts/signup/">Sign Up</a>
<a href="/accounts/password/reset/">Password Reset</a>
</div>
{% endif %}
</div>
</div>
{% endblock %}
{% block footer %}{{ ui.app_footer('white') }}{% endblock %}