39 lines
1.1 KiB
HTML
39 lines
1.1 KiB
HTML
{% extends "template.html" %}
|
|
{% block content %}
|
|
|
|
<!-- Main -->
|
|
<article id="main">
|
|
<header>
|
|
<h2>Settings</h2>
|
|
<p>Account settings of Cyberplanificateur</p>
|
|
</header>
|
|
<section class="wrapper style5">
|
|
<div class="inner">
|
|
|
|
<h3>Connexions</h3>
|
|
<p>Twitter :
|
|
{% if twlogin %}
|
|
<font color="green">Connected</font></p>
|
|
<a href="{{ url_for('twlogout') }}" class="button">Disconnect</a>
|
|
{% else %}
|
|
<font color="red">Disconnected</font></p>
|
|
<a href="{{ url_for('twlogin') }}" class="button primary">Connect</a>
|
|
{% endif %}
|
|
<p>Trello :
|
|
{% if trlogin %}
|
|
<font color="green">Connected</font></p>
|
|
<a href="{{ url_for('trlogout') }}" class="button">Disconnect</a>
|
|
{% else %}
|
|
<font color="red">Disconnected</font></p>
|
|
<p><a href="{{ url_for('trlogin') }}">Click here</a> and give the token bellow</p>
|
|
<form action = "https://cyberplanificateur.flifloo.fr/settings" method = "POST">
|
|
<input type="text" name="trtoken" placeholder="Trello token" />
|
|
<input type="submit" value="Connect" class="button primary">
|
|
</form>
|
|
{% endif %}
|
|
|
|
</div>
|
|
</section>
|
|
</article>
|
|
|
|
{% endblock %}
|