-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redesign all unauthenticated pages (#137)
* Redesign unregistered user index page * No longer send a message upon logout * Update emoji on 'free to use' block * Complete redesign of unauthenticated site * Slight margin adjustments
- Loading branch information
Showing
20 changed files
with
305 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{% extends "_minimal.html" %} | ||
{% load static %} | ||
|
||
{% block theme_color %}#eaf5ff{% endblock %} | ||
|
||
{% block body %} | ||
<main> | ||
<div id="homepage-banner"> | ||
<div class="container"> | ||
<div class="row mw-1400"> | ||
<div class="col-12 col-md-8 mx-auto"> | ||
<h1 class="display-3 text-primary fw-bold"> | ||
{% block banner_title %}<a href="/" class="text-decoration-none text-primary">caves.app</a>{% endblock %} | ||
</h1> | ||
<h2 class="display-4"> | ||
{% block banner_subtitle %}{% endblock %} | ||
</h2> | ||
</div> | ||
{% block banner_buttons %}{% endblock %} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="container"> | ||
<div class="row mw-1400 {% if not form.errors and not messages %}my-5{% endif %}"> | ||
<div class="col-12 col-md-8 mx-auto"> | ||
{% if form.errors or messages %} | ||
<div class="mt-5 mb-4"> | ||
{% include "_messages.html" %} | ||
</div> | ||
{% endif %} | ||
{% block content %}{% endblock %} | ||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
|
||
|
||
<div class="container mt-auto"> | ||
<div class="row mw-1400"> | ||
<div class="col-12 col-md-8 mx-auto"> | ||
<footer class="mb-5 text-muted"> | ||
{% block footer %} | ||
Created by <a class="text-muted" href="https://buymeacoffee.com/anorthall">Andrew Northall</a> | ||
<span class="mx-1">·</span> | ||
<a class="text-muted" href="{% url 'core:help' %}">Need help?</a> | ||
{% endblock %} | ||
</footer> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,104 @@ | ||
{% extends "base_center.html" %} | ||
{% extends "_unregistered.html" %} | ||
{% load static %} | ||
|
||
{% block header_scripts %} | ||
{% include "logger/_lightbox.html" %} | ||
{% endblock %} | ||
|
||
{% block title %}caves.app{% endblock %} | ||
{% block display_title %}A modern approach to cave logging{% endblock %} | ||
{% block description %}An online tool to log caving trips and activity.{% endblock %} | ||
|
||
{% block main %} | ||
<div class="text-center mw-35"> | ||
<p> | ||
A streamlined, mobile-friendly interface allows you to record and view your caving trips | ||
from anywhere. Keep detailed records of everything you've done — who was there, the | ||
distance you surveyed, how long you spent underground, and more. | ||
</p> | ||
|
||
<p> | ||
Easily share your activities with anyone via your public profile, and keep up to date with what | ||
your friends are up to via the activity feed. | ||
</p> | ||
|
||
<p> | ||
The service is free to use and you have complete control over your data. | ||
Questions? Have a look at the <a href="{% url 'core:help' %}">help page</a>. | ||
</p> | ||
|
||
<div class="d-flex flex-column flex-fill text-center"> | ||
<a class="btn btn-lg btn-primary mt-3" href="{% url 'users:register' %}">Sign up!</a> | ||
<a class="btn btn-lg btn-success mt-3" href="{% url 'users:login' %}">Log in</a> | ||
{% block description %}caves.app: An online tool to log caving trips and activity.{% endblock %} | ||
{% block banner_subtitle %}A simple online caving<br>trip tracker{% endblock %} | ||
{% block banner_buttons %} | ||
<div class="col-12 col-md-8 mx-auto mt-3"> | ||
<a class="btn btn-lg btn-primary me-2 me-md-4" href="{% url 'users:register' %}">Sign up</a> | ||
<a class="btn btn-lg btn-outline-success" href="{% url 'users:login' %}">Log in</a> | ||
</div> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<h3 class="display-5 mb-4 mb-md-5 text-primary">Features</h3> | ||
<div class="row row-cols-1 row-cols-md-2 row-cols-xl-3 g-4 g-md-5 mb-5"> | ||
<div class="col feature-block"> | ||
<h4>Trip logbook 🗒</h4> | ||
<p> | ||
See <a class="link-body-emphasis" href="https://caves.app/u/andrew">how many trips you've been on</a>, where you've been, and how many hours you've spent underground. | ||
</p> | ||
</div> | ||
|
||
<div class="col feature-block"> | ||
<h4>Add your friends ⭐</h4> | ||
<p>Follow what your friends have been up to in the social feed, and like/comment on their trips.</p> | ||
</div> | ||
|
||
<div class="col feature-block"> | ||
<h4>Upload photos 📸</h4> | ||
<p>No more endless scrolling to find that photo on your phone - locate it easily on caves.app.</p> | ||
</div> | ||
|
||
<div class="col feature-block"> | ||
<h4>Flexible logging 📝</h4> | ||
<p>Add as much or as little data as you want, and caves.app will adapt to your usage.</p> | ||
</div> | ||
|
||
<div class="col feature-block"> | ||
<h4>Custom fields 💡</h4> | ||
<p>Want to track distance crawled on your side in flowing water on a Tuesday? You can do it!</p> | ||
</div> | ||
|
||
<div class="col feature-block"> | ||
<h4>Track statistics 📈</h4> | ||
<p>See your rope climbed, distance surveyed, unique caves visited, and much more.</p> | ||
</div> | ||
|
||
<div class="col feature-block"> | ||
<h4>Full trip reports 🖋</h4> | ||
<p> | ||
Have more to say about a trip? Add a | ||
<a class="text-body-emphasis" href="https://caves.app/report/27c34e03-31c4-404f-90a4-386d2d364f27/">rich text trip report</a> | ||
in the style of a blog post. | ||
</p> | ||
</div> | ||
|
||
<div class="col feature-block"> | ||
<h4>Privacy focused 🔒</h4> | ||
<p>Locked down by default. Nobody can see any of your activities unless you explicitly allow it.</p> | ||
</div> | ||
|
||
<div class="col feature-block"> | ||
<h4>No data lock-in 💾</h4> | ||
<p>We respect the importance of your data. Download it as a CSV file at any time.</p> | ||
</div> | ||
|
||
<div class="col feature-block"> | ||
<h4>Free to use 💸</h4> | ||
<p>No tracking. No selling your data. We will never paywall you out of your logbook.</p> | ||
</div> | ||
|
||
<div class="col feature-block"> | ||
<h4>Mobile friendly 📱</h4> | ||
<p>Record your trips from anywhere with a phone signal. No need to wait to open Excel once you get home.</p> | ||
</div> | ||
|
||
<div class="col feature-block"> | ||
<h4>Open source 📖</h4> | ||
<p> | ||
Proudly built with Python and Django. The full source code for caves.app is available on | ||
<a class="text-body-emphasis" href="https://github.com/anorthall/caves.app">GitHub</a>. | ||
</p> | ||
</div> | ||
</div> | ||
|
||
<h3 class="display-5 mb-4 mb-md-5 text-primary">Screenshots</h3> | ||
|
||
<div class="mx-3 mx-md-0"> | ||
<a href="{% static 'images/homepage/social-feed.png' %}" data-lightbox="screenshots" data-title="The social feed on caves.app"> | ||
<img class="img-fluid rounded shadow-lg border mb-5" alt="The social feed on caves.app" src="{% static 'images/homepage/social-feed.png' %}"> | ||
</a> | ||
<a href="{% static 'images/homepage/trip-list.png' %}" data-lightbox="screenshots" data-title="The trip list for a user on caves.app"> | ||
<img class="img-fluid rounded shadow-lg border mb-5" alt="The trip list for a user on caves.app" src="{% static 'images/homepage/trip-list.png' %}"> | ||
</a> | ||
<a href="{% static 'images/homepage/statistics-full.png' %}" data-lightbox="screenshots" data-title="The statistics page on caves.app"> | ||
<img class="img-fluid rounded shadow-lg border mb-3" alt="The statistics page on caves.app" src="{% static 'images/homepage/statistics-full.png' %}"> | ||
</a> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
{% extends "base_center.html" %} | ||
{% extends "_unregistered.html" %} | ||
{% load crispy_forms_tags %} | ||
|
||
{% block title %}Sign in to caves.app{% endblock %} | ||
{% block display_title %}Sign in{% endblock %} | ||
{% block title %}Sign in caves.app{% endblock %} | ||
{% block banner_subtitle %}Welcome back!{% endblock %} | ||
|
||
{% block main %} | ||
{% crispy form %} | ||
|
||
<p class="fs-5"> | ||
Need an account? <a href="{% url 'users:register' %}">Sign up!</a> | ||
{% block content %} | ||
<div class="mw-35"> | ||
<p class="lead"> | ||
Enter your account details below to sign in. | ||
</p> | ||
|
||
<p> | ||
<a class="link-dark" href="{% url 'users:password_reset' %}"> | ||
<small>Forgotten your password?</small> | ||
</a> | ||
<p class="text-muted mb-5"> | ||
You may wish to <a class="text-decoration-none" href="{% url 'users:register' %}">create an account</a> | ||
or <a class="text-decoration-none" href="{% url 'users:password_reset' %}">reset your password</a> instead. | ||
</p> | ||
|
||
{% crispy form %} | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% extends "_unregistered.html" %} | ||
{% load crispy_forms_tags %} | ||
|
||
{% block title %}Reset your password{% endblock %} | ||
{% block banner_subtitle %}Reset your password{% endblock %} | ||
|
||
{% block content %} | ||
<div class="mw-35"> | ||
<p class="lead mb-5"> | ||
If you've forgotten your password, enter your email address below and we will send | ||
you a message with instructions to reset it. | ||
</p> | ||
|
||
{% crispy form %} | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.