This commit is contained in:
Xavier Fiechter 2023-02-11 23:59:14 +01:00
parent 5278c1ad70
commit 2d17d73798
4 changed files with 287 additions and 3 deletions

View file

@ -35,6 +35,7 @@ urlpatterns = [
path('account/register/', RegistrationView.as_view(), name='registration'),
path('account/register/done/', RegistrationCompleteView.as_view(), name='registration_complete'),
path('privacy-policy', PrivacyView.as_view(), name='privacy_policy'),
path('terms', PrivacyView.as_view(), name='terms'),
path('', HomeView.as_view(), name='home'),
path('', include(tf_urls)),
path('', include('user_sessions.urls', 'user_sessions')),

View file

@ -22,6 +22,9 @@ class HomeView(TemplateView):
class PrivacyView(TemplateView):
template_name = 'privacy.html'
class TermsView(TemplateView):
template_name = 'terms.html'

View file

@ -261,10 +261,16 @@ body {
{% endif %}
<li class="nav-item ">
<a class="nav-link" href="{% url 'privacy_policy' %}">Privacy Policy</a>
<li>
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted text-uppercase">
<span>&nbsp;</span>
</h6>
<li class="nav-item ">
<a class="nav-link" href="{% url 'privacy_policy' %}">Privacy Policy</a>
<li>
<li class="nav-item ">
<a class="nav-link" href="{% url 'terms' %}">Terms</a>
<li>
</ul>
</div>

274
templates/terms.html Normal file
View file

@ -0,0 +1,274 @@
{% extends "_base.html" %}
{% load i18n %}
{% block title %}Terms of Service{% endblock %}
{% block nav_home %}active{% endblock %}
{% block content %}
<style>
.pricing-header {
max-width: 810px;
}
</style>
<div class="p-3 pb-md-4 mx-auto text-center">
<h1 style="padding-top: 1.6em; padding-bottom: 0.9em; text-transform: uppercase;font-weight:800;">L<span style="height:1.1em; width:1em" data-feather="tag" class="align-text-bottom"></span>belbase</h1>
<h2 class="display-6 fw-normal" style="padding-bottom: 0.9em;">All your labels in one place.</h2>
</div>
<div class="pricing-header p-3 pb-md-4 mx-auto text-left">
<h2 class="display-8 fw-normal">Terms of Service</h2>
February <p>10<sup>th</sup> 2023
</p>
<p class="fs-5 text-muted">
"LABELBASE" (labelbase.space) is provided without any guarantees of anything, not
even that it will do its job properly. If you have any doubts, please use an
alternate service.
</p>
<p class="fs-5 text-muted">
You agree that you and the receiver of the transaction will hold "LABELBASE"
harmless and indemnify us from all losses, damages, and costs related to or
arising from the services provided by "LABELBASE".
</p>
<p class="fs-5 text-muted">
All donations are non-refundable.</p>
<p>
DISCLAIMER OF WARRANTY; LIMITATION OF LIABILITY
</p>
<p class="fs-5 text-muted">
USER EXPRESSLY AGREES THAT USE OF "LABELBASE" IS AT USER'S SOLE RISK.
</p>
<p class="fs-5 text-muted">
NEITHER "LABELBASE", ITS AFFILIATES NOR ANY OF THEIR RESPECTIVE EMPLOYEES, AGENTS,
THIRD PARTY CONTENT PROVIDERS OR LICENSORS WARRANT THAT "LABELBASE" WILL BE
UNINTERRUPTED OR ERROR FREE; NOR DO THEY MAKE ANY WARRANTY AS TO THE RESULTS
THAT MAY BE OBTAINED FROM USE OF "LABELBASE", OR AS TO THE ACCURACY, RELIABILITY
OR CONTENT OF ANY INFORMATION, SERVICE, OR MERCHANDISE PROVIDED THROUGH "LABELBASE".
</p>
<p class="fs-5 text-muted">
"LABELBASE" IS PROVIDED ON AN "AS IS" BASIS WITHOUT WARRANTIES OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE OR IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, OTHER THAN THOSE
WARRANTIES WHICH ARE IMPLIED BY AND INCAPABLE OF EXCLUSION, RESTRICTION OR MODIFICATION
UNDER THE LAWS APPLICABLE TO THIS AGREEMENT.
</p>
<p class="fs-5 text-muted">
THIS DISCLAIMER OF LIABILITY APPLIES TO ANY DAMAGES OR INJURY CAUSED BY ANY FAILURE
OF PERFORMANCE, ERROR, OMISSION, INTERRUPTION, DELETION, DEFECT, DELAY IN OPERATION
OR TRANSMISSION, COMPUTER VIRUS, COMMUNICATION LINE FAILURE, THEFT OR DESTRUCTION
OR UNAUTHORIZED ACCESS TO, ALTERATION OF, OR USE OF RECORD, WHETHER FOR BREACH OF
CONTRACT, TORTIOUS BEHAVIOR, NEGLIGENCE, OR UNDER ANY OTHER CAUSE OF ACTION.
USER SPECIFICALLY ACKNOWLEDGES THAT "LABELBASE" IS NOT LIABLE FOR THE DEFAMATORY,
OFFENSIVE OR ILLEGAL CONDUCT OF OTHER USERS OR THIRD-PARTIES AND THAT THE RISK OF
INJURY FROM THE FOREGOING RESTS ENTIRELY WITH USER.
</p>
<p class="fs-5 text-muted">
IN NO EVENT WILL "LABELBASE", OR ANY PERSON OR ENTITY INVOLVED IN CREATING, PRODUCING
OR DISTRIBUTING "LABELBASE" OR THE "LABELBASE" SERVICE, BE LIABLE FOR ANY DAMAGES,
INCLUDING, WITHOUT LIMITATION, DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL
OR PUNITIVE DAMAGES ARISING OUT OF THE USE OF OR INABILITY TO USE "LABELBASE".
USER HEREBY ACKNOWLEDGES THAT THE PROVISIONS OF THIS SECTION SHALL APPLY TO ALL
CONTENT ON THE SITE.
</p>
<p class="fs-5 text-muted">
IN ADDITION TO THE TERMS SET FORTH ABOVE NEITHER, "LABELBASE", NOR ITS AFFILIATES,
INFORMATION PROVIDERS OR CONTENT PARTNERS SHALL BE LIABLE REGARDLESS OF THE CAUSE
OR DURATION, FOR ANY ERRORS, INACCURACIES, OMISSIONS, OR OTHER DEFECTS IN, OR
UNTIMELINESS OR UNAUTHENTICITY OF, THE INFORMATION CONTAINED WITHIN "LABELBASE",
OR FOR ANY DELAY OR INTERRUPTION IN THE TRANSMISSION THEREOF TO THE USER, OR FOR ANY
CLAIMS OR LOSSES ARISING THEREFROM OR OCCASIONED THEREBY. NONE OF THE FOREGOING PARTIES
SHALL BE LIABLE FOR ANY THIRD-PARTY CLAIMS OR LOSSES OF ANY NATURE, INCLUDING,
BUT NOT LIMITED TO, LOST PROFITS, PUNITIVE OR CONSEQUENTIAL DAMAGES.
</p>
<p class="fs-5 text-muted">
NEITHER, "LABELBASE", NOR ITS AFFILIATES, INFORMATION PROVIDERS OR CONTENT PARTNERS
WARRANT OR GUARANTEE THE TIMELINESS, SEQUENCE, ACCURACY OR COMPLETENESS OF THIS
INFORMATION. ADDITIONALLY, THERE ARE NO WARRANTIES AS TO THE RESULTS OBTAINED FROM
THE USE OF THE INFORMATION.
</p>
<p class="fs-5 text-muted">
FORCE MAJEURE NEITHER PARTY WILL BE RESPONSIBLE FOR ANY FAILURE OR DELAY IN
PERFORMANCE DUE TO CIRCUMSTANCES BEYOND ITS REASONABLE CONTROL, INCLUDING, WITHOUT
LIMITATION, ACTS OF GOD, WAR, RIOT, EMBARGOES, ACTS OF CIVIL OR MILITARY AUTHORITIES,
FIRE, FLOODS, ACCIDENTS, SERVICE OUTAGES RESULTING FROM EQUIPMENT AND/OR SOFTWARE
FAILURE AND/OR TELECOMMUNICATIONS FAILURES, POWER FAILURES, NETWORK FAILURES,
FAILURES OF THIRD PARTY SERVICE PROVIDERS (INCLUDING PROVIDERS OF INTERNET SERVICES
AND TELECOMMUNICATIONS). THE PARTY AFFECTED BY ANY SUCH EVENT SHALL NOTIFY THE OTHER
PARTY WITHIN A MAXIMUM OF FIFTEEN (15) DAYS FROM ITS OCCURRENCE. THE PERFORMANCE OF
THIS AGREEMENT SHALL THEN BE SUSPENDED FOR AS LONG AS ANY SUCH EVENT SHALL PREVENT
THE AFFECTED PARTY FROM PERFORMING ITS OBLIGATIONS UNDER THIS AGREEMENT.</p>
</div>
{% comment %}
<div class="pricing-header p-3 pb-md-4 mx-auto text-center">
<h2 class="display-4 fw-normal">Pricing</h2>
<p class="fs-5 text-muted">Labelbase is proud to offer its powerful label management service at an affordable price. Our pricing model is designed to accommodate the needs of both individual users and businesses.</p>
</div>
<main class="pricing-header mx-auto text-center">
<div class="row row-cols-1 row-cols-md-3 mb-3 text-center">
<div class="col">
<div class="card mb-4 rounded-3 shadow-sm">
<div class="card-header py-3">
<h4 class="my-0 fw-normal"><!--Free-->Early Adopter</h4>
</div>
<div class="card-body">
<h1 class="card-title pricing-card-title">$0<small class="text-muted fw-light">/mo</small></h1>
<ul class="list-unstyled mt-3 mb-4">
<li>5 labelbases</li>
<li>Unlimited labels</li>
<li>API usage</li>
<li>Best effort support</li>
</ul>
<button type="button" class="w-100 btn btn-lg btn-outline-primary">Sign up for free</button>
</div>
</div>
</div>
<div class="col">
<div class="card mb-4 rounded-3 shadow-sm">
<div class="card-header py-3">
<h4 class="my-0 fw-normal">Pro</h4>
</div>
<div class="card-body">
<h1 class="card-title pricing-card-title">$15<small class="text-muted fw-light">/mo</small></h1>
<ul class="list-unstyled mt-3 mb-4">
<li>Unlimited labelbases</li>
<li>Unlimited labels</li>
<li>Priority email support</li>
</ul>
<button type="button" class="w-100 btn btn-lg btn-primary">Get started</button>
</div>
</div>
</div>
<div class="col">
<div class="card mb-4 rounded-3 shadow-sm border-primary">
<div class="card-header py-3 text-bg-primary border-primary">
<h4 class="my-0 fw-normal">Self-Hosted</h4>
</div>
<div class="card-body">
<h1 class="card-title pricing-card-title">
<small class="text-muted fw-light">Donation</small></h1>
<ul class="list-unstyled mt-3 mb-4">
<li>30 users included</li>
<li>15 GB of storage</li>
<li>Phone and email support</li>
<li>Run your own</li>
</ul>
<button type="button" class="w-100 btn btn-lg btn-primary">Donate now</button><!-- -->
</div>
</div>
</div>
</div>
<h2 class="display-6 text-center mb-4">Compare plans</h2>
<div class="table-responsive">
<table class="table text-center">
<thead>
<tr>
<th style="width: 34%;"></th>
<th style="width: 22%;">Free</th>
<th style="width: 22%;">Pro</th>
<th style="width: 22%;">Enterprise</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row" class="text-start">Public</th>
<td><svg class="bi" width="24" height="24"><use xlink:href="#check"/></svg></td>
<td><svg class="bi" width="24" height="24"><use xlink:href="#check"/></svg></td>
<td><svg class="bi" width="24" height="24"><use xlink:href="#check"/></svg></td>
</tr>
<tr>
<th scope="row" class="text-start">Private</th>
<td></td>
<td><svg class="bi" width="24" height="24"><use xlink:href="#check"/></svg></td>
<td><svg class="bi" width="24" height="24"><use xlink:href="#check"/></svg></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row" class="text-start">Permissions</th>
<td><svg class="bi" width="24" height="24"><use xlink:href="#check"/></svg></td>
<td><svg class="bi" width="24" height="24"><use xlink:href="#check"/></svg></td>
<td><svg class="bi" width="24" height="24"><use xlink:href="#check"/></svg></td>
</tr>
<tr>
<th scope="row" class="text-start">Sharing</th>
<td></td>
<td><svg class="bi" width="24" height="24"><use xlink:href="#check"/></svg></td>
<td><svg class="bi" width="24" height="24"><use xlink:href="#check"/></svg></td>
</tr>
<tr>
<th scope="row" class="text-start">Unlimited members</th>
<td></td>
<td><svg class="bi" width="24" height="24"><use xlink:href="#check"/></svg></td>
<td><svg class="bi" width="24" height="24"><use xlink:href="#check"/></svg></td>
</tr>
<tr>
<th scope="row" class="text-start">Extra security</th>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
</main>
{% endcomment %}
{#% include "footer.html" %#}
{% comment %}
{% url 'registration' as reg_url %}
{% url 'two_factor:login' as login_url %}
{% url 'two_factor:setup' as setup_url %}
{% url 'logout' as logout_url %}
{% url 'secret' as secret_url %}
<h4>{% trans "Next steps:" %}</h4>
<ol>
<li>{% blocktrans trimmed %}Start by <a href="{{ reg_url }}">registering</a> an
account.{% endblocktrans %}</li>
<li>{% blocktrans trimmed %}<a href="{{ login_url }}">Login</a> to your account.
{% endblocktrans %}</li>
<li>{% blocktrans trimmed %}<a href="{{ setup_url }}">Enable</a> two-factor
authentication.{% endblocktrans %}</li>
<li>{% blocktrans trimmed %}Then, <a href="{{ logout_url }}">logout</a> and
<a href="{{ login_url }}">login</a> once more to your account to see
two-factor authentication at work.{% endblocktrans %}</li>
<li>{% blocktrans trimmed %}At last, you've gained access to the
<a href="{{ secret_url }}">secret page</a>! :-){% endblocktrans %}</li>
</ol>
{% endcomment %}
{% endblock %}