diff --git a/templates/base.html b/templates/base.html index e69de29..60c35c9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -0,0 +1,249 @@ +{% load static %} + + + + + + {% block title %}My Application{% endblock %} + + + + + + + + + + + + + + + + + + {% if messages %} +
+ {% for message in messages %} + + {% endfor %} +
+ {% endif %} + + +
+ {% block content %}{% endblock %} +
+ + + + + + + + + {% block extra_js %}{% endblock %} + + diff --git a/templates/home.html b/templates/home.html index 1a1cf30..934f8f0 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,11 +1,386 @@ +{% extends 'base.html' %} +{% load static %} +{% block title %}Home - MyApp{% endblock %} + +{% block extra_css %} + +{% endblock %} {% block content %} -

Welcome to the BlogNest

-{% if user.is_authenticated %} - Hi {{ user.username }}! -{% else %} - Login | Sign Up -{% endif %} -

This is the home page.

+ +
+
+
+

Welcome to MyApp

+

The ultimate platform for modern web applications. Build, deploy, and scale with ease.

+
+ {% if user.is_authenticated %} + + Go to Dashboard + + + Learn More + + {% else %} + + Get Started Free + + + Login + + {% endif %} +
+
+
+
+ + +
+
+
+

Amazing Features

+

Everything you need to build powerful applications

+
+
+
+
+
+ +
+

Lightning Fast

+

Optimized for speed and performance. Experience blazing fast load times and smooth interactions.

+
+
+
+
+
+ +
+

Secure & Safe

+

Built with security in mind. Your data is protected with enterprise-grade encryption.

+
+
+
+
+
+ +
+

Fully Responsive

+

Works perfectly on all devices. Desktop, tablet, or mobile - we've got you covered.

+
+
+
+
+
+ +
+

Analytics

+

Track your progress with detailed analytics and insights to help you grow.

+
+
+
+
+
+ +
+

Team Collaboration

+

Work together seamlessly with powerful collaboration tools and real-time updates.

+
+
+
+
+
+ +
+

24/7 Support

+

Our dedicated support team is always here to help you succeed.

+
+
+
+
+
+ + +
+
+
+
+
+
10K+
+
Active Users
+
+
+
+
+
50K+
+
Projects Created
+
+
+
+
+
99.9%
+
Uptime
+
+
+
+
+
4.9/5
+
User Rating
+
+
+
+
+
+ + +
+
+
+

Ready to Get Started?

+

Join thousands of users who are already building amazing things with MyApp.

+
+ {% if not user.is_authenticated %} + + Create Free Account + + {% else %} + + Go to Dashboard + + {% endif %} +
+
+
+
{% endblock %} diff --git a/templates/registration/login.html b/templates/registration/login.html new file mode 100644 index 0000000..46bc832 --- /dev/null +++ b/templates/registration/login.html @@ -0,0 +1,422 @@ +{% extends 'base.html' %} +{% load static %} + +{% block title %}Login - MyApp{% endblock %} + +{% block extra_css %} + +{% endblock %} + +{% block content %} +
+
+
+
+ +
+

Welcome Back!

+

Please login to your account

+
+ + {% if form.non_field_errors %} +
+ {{ form.non_field_errors }} +
+ {% endif %} + +
+ {% csrf_token %} + +
+ +
+ + +
+ {{ form.username.errors }} +
+ +
+ +
+ + + +
+ {{ form.password.errors }} +
+ +
+
+ + +
+ +
+ + + + +
+ +
+ OR +
+ + + + +
+
+{% endblock %} + +{% block extra_js %} + +{% endblock %} diff --git a/templates/registration/signup.html b/templates/registration/signup.html new file mode 100644 index 0000000..2f52f85 --- /dev/null +++ b/templates/registration/signup.html @@ -0,0 +1,598 @@ + +{% extends 'base.html' %} +{% load static %} + +{% block title %}Sign Up - MyApp{% endblock %} + +{% block extra_css %} + +{% endblock %} + +{% block content %} +
+
+
+
+ +
+

Create Account

+

Sign up to get started

+
+ + {% if form.non_field_errors %} +
+ {{ form.non_field_errors }} +
+ {% endif %} + +
+ {% csrf_token %} + +
+ +
+ + +
+ {% if form.username.help_text %} + {{ form.username.help_text }} + {% endif %} + {{ form.username.errors }} +
+ +
+ +
+ + +
+ {% if form.email.help_text %} + {{ form.email.help_text }} + {% endif %} + {{ form.email.errors }} +
+ +
+
+
+ + + {{ form.first_name.errors }} +
+
+
+
+ + + {{ form.last_name.errors }} +
+
+
+ +
+ +
+ + + +
+
+
+
+
+ +
+ {% if form.password1.help_text %} + {{ form.password1.help_text }} + {% endif %} + {{ form.password1.errors }} +
+ +
+ +
+ + + +
+ {{ form.password2.errors }} +
+ +
+ + +
+ + +
+ +
+ OR +
+ + + + +
+
+{% endblock %} + +{% block extra_js %} + +{% endblock %}