removing flask_login, fixed many appwriter issues with custom class
This commit is contained in:
@@ -38,13 +38,14 @@
|
||||
{% include "bases/side_nav.html" %}
|
||||
|
||||
{% if current_user.is_authenticated and not current_user.email_verification %}
|
||||
<div class="alert alert-warning" role="alert">
|
||||
Please verify your email to unlock all features.
|
||||
<form method="post" action="{{ url_for('auth.send') }}" style="display:inline">
|
||||
<button class="btn btn-sm btn-primary">Resend verification email</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="alert alert-warning" role="alert">
|
||||
Please verify your email to unlock all features.
|
||||
<form method="post" action="{{ url_for('auth.send') }}" style="display:inline">
|
||||
<button class="btn btn-sm btn-primary">Resend verification email</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% block body %}
|
||||
<!-- Page content goes here -->
|
||||
|
||||
33
app/templates/public/home.html
Normal file
33
app/templates/public/home.html
Normal file
@@ -0,0 +1,33 @@
|
||||
{% extends "bases/login_base.html" %}
|
||||
{% block content %}
|
||||
<div class="card shadow-lg p-4" style="max-width: 700px; width: 100%;text-align: justify;">
|
||||
<div class="card-body text-center">
|
||||
<h5 class="card-title mb-4">
|
||||
<i class="fa-solid fa-right-to-bracket me-2"></i> Welcome to Code of Conquest
|
||||
</h5>
|
||||
|
||||
<p style="text-align: justify;">
|
||||
In the world of Code of Conquest, the line between hero and villain blurs as you embark on a legendary adventure.
|
||||
This immersive game drops you into a realm of wonder and danger, where every decision, every action, and every
|
||||
roll of the dice determines the fate of your character.<br /><br />
|
||||
|
||||
With our revolutionary AI-driven DM, each playthrough is unique, offering a fresh challenge tailored to your
|
||||
choices. Explore ancient ruins, mysterious forests, and forgotten cities, teeming with hidden secrets, fearsome
|
||||
monsters, and legendary treasures.<br /><br />
|
||||
|
||||
Master the art of combat, magic, and stealth as you navigate a world of intrigue and deception. Forge alliances,
|
||||
rivalries, and friendships that will shape the course of history. Will you rise to become a legendary conqueror or
|
||||
succumb to the darkness within?<br /><br />
|
||||
|
||||
Code of Conquest is not just a game – it's an experience that lets you forge your own legend. With every triumph,
|
||||
you'll earn reputation, wealth, and power. Your name will echo through the annals of history as you make choices
|
||||
that shape the world around you.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<div class="card-footer text-center">
|
||||
<small>No account?</small>
|
||||
<a href="{{ url_for('auth.register') }}" class="btn btn-link p-0 ms-1">Create one</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user