File size: 1,672 Bytes
fad5c43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{% 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 %}