Titan/webapp/titanembeds/templates/discordbotsorg_vote.html.j2

35 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2018-02-27 08:22:58 +01:00
{% extends 'site_layout.html.j2' %}
{% set title="Vote for Titan on Discord Bots List!" %}
{% block content %}
<h1>Vote for Titan on Discord Bots List!</h1>
<div class="row">
<div class="col s12">
<div class="card-panel indigo lighten-5 z-depth-3 hoverable black-text">
<p class="flow-text">By voting for Titan, we'll be better known on DBL. Let's spread the word about the project!</p>
<p>You'll receive a <em class="orange-text">GOLDEN NAME</em> in chat and have <em>a chance to win</em> one of the <strong>heroic</strong> prizes!</p>
2018-07-02 02:32:22 +02:00
<p>Prizes may include (but not limited to) Titan Tokens and Discord Nitro! Vote often, and <strong>daily</strong>, to increase your chances of winning!</p>
2018-02-27 08:22:58 +01:00
<br>
2018-02-27 22:22:25 +01:00
<a class="waves-effect waves-light btn" href="https://discordbots.org/bot/Titan/vote{% if referrer %}?referrer={{ referrer }}{% endif %}" target="_blank">Visit Discord Bots!</a>
2018-02-27 08:22:58 +01:00
</div>
</div>
</div>
<hr>
<div class="row">
<div class="col s12">
<div class="card-panel indigo lighten-5 z-depth-3 hoverable black-text">
<p class="flow-text">It just doesn't end here! Invite your buddies to vote for Titan too!</p>
<p>Give your pals a personalized referral link and get rewarded for being a <em>great referrer</em>!</p>
<br>
{% if "user_id" in session and not session["unauthenticated"] %}
2018-02-27 22:22:25 +01:00
<input readonly value="{{ url_for("vote", referrer=session["user_id"], _external=True) }}" id="disabled" type="text" onClick="this.setSelectionRange(0, this.value.length)">
2018-02-27 08:22:58 +01:00
{% else %}
<p class="red-text">Please <a href="{{ url_for("user.login_authenticated", redirect=url_for("vote")) }}">Login</a> to view your personalized referral link.</p>
{% endif %}
</div>
</div>
</div>
{% endblock %}