Files
zulip/templates/zerver/desktop_redirect.html
Anders Kaseorg dd3fa4ac52 templates: Mark all void tags as self-closing.
This reverses the policy that was set, but incompletely enforced, by
commit 951514dd7d.  The self-closing tag
syntax is clearer, more consistent, simpler to parse, compatible with
XML, preferred by Prettier, and (most importantly now) required by
FormatJS.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-04-21 09:49:34 -07:00

20 lines
908 B
HTML

{% extends "zerver/portico.html" %}
{% set entrypoint = "desktop-redirect" %}
{% block content %}
<div class="flex new-style">
<div class="desktop-redirect-box white-box">
<img class="avatar desktop-redirect-image" src="{{ realm_icon_url }}" alt=""/><br />
<p class="copy-token-info">{% trans %}Copy this login token and return to your Zulip app to finish logging in:{% endtrans %}</p>
<p>
<span class="input-box">
<input id="desktop-data" value="{{ desktop_data }}" type="text" readonly />
</span>
<button id="copy" tabindex="0" data-clipboard-target="#desktop-data">{% trans %}Copy{% endtrans %}</button>
</p>
<p>{% trans %}You may then close this window.{% endtrans %}</p>
<p><a href="{{ browser_url }}">{% trans %}Or, continue in your browser.{% endtrans %}</a></p>
</div>
</div>
{% endblock %}