Re-enable the remote follow

This commit is contained in:
Thomas Sileo
2018-06-04 17:59:38 +02:00
parent 8e645c6190
commit 362e9c660f
3 changed files with 44 additions and 9 deletions

View File

@@ -11,6 +11,7 @@
<div class="menu">
<ul>
<li><a href="/" {% if request.path == "/" %}class="selected"{% endif %}>/</a></li>
<li><a href="/with_replies" {% if request.path == "/with_replies" %}class="selected"{% endif %}>/with_replies</a></li>
<li><a href="/followers"{% if request.path == "/followers" %} class="selected" {% endif %}>/followers</a></li>
<li><a href="/following"{% if request.path == "/following" %} class="selected" {% endif %}>/following</a></li>
<!-- <li><a href="/about"{% if request.path == "/about" %} class="selected" {% endif %}>/about</a></li>
@@ -22,8 +23,7 @@
<li><a href="/admin"{% if request.path == "/admin" %} class="selected" {% endif %}>/admin</a></li>
<li><a href="/logout">/logout</a></li>
{% else %}
<!-- <li><a href="/remote_follow"{% if request.path == "/remote_follow" %} class="selected" {% endif %}>/remote_follow</a></li>
!-->
<li><a href="/remote_follow"{% if request.path == "/remote_follow" %} class="selected" {% endif %}>/remote_follow</a></li>
{% endif %}
</ul>
</div>

View File

@@ -5,9 +5,10 @@
{% block content %}
<div id="container">
{% include "header.html" %}
<h2>You're about to follow me</h2>
<h2 style="font-weight:normal">You're about to follow me <small style="font-weight:normal;font-family:sans-serif">\o/</small></h2>
<form method="POST" action="">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
<input type="text" name="profile" placeholder="you@your-instance">
<input type="submit" value="Proceed to remote follow">
</form>