Private
Public Access
1
0

stopped at empower fix (line 122 in urls.py)

This commit is contained in:
Sander Roosendaal
2018-09-28 10:56:51 +02:00
parent 40c9a789b7
commit 6ab3c08859
13 changed files with 650 additions and 169 deletions

View File

@@ -1,16 +1,19 @@
{% extends "basenofilters.html" %}
{% extends "newbase.html" %}
{% load staticfiles %}
{% load rowerfilters %}
{% block title %}Change Workout {% endblock %}
{% block title %}Error {% endblock %}
{% block content %}
{% block main %}
<div class="grid_12">
<h1>Bad Request</h1>
<p>
HTTP Error 400 Bad Request.
</p>
</div>
{% endblock %}
{% block sidebar %}
{% include 'menu_workouts.html' %}
{% endblock %}

View File

@@ -1,17 +1,20 @@
{% extends "basenofilters.html" %}
{% extends "newbase.html" %}
{% load staticfiles %}
{% load rowerfilters %}
{% block title %}Change Workout {% endblock %}
{% block title %}Error {% endblock %}
{% block content %}
{% block main %}
<div class="grid_12">
<h1>Forbidden</h1>
<p>
Access forbidden. You probably tried to access functionality on a workout
or chart that is not owned by you.
Access forbidden. You probably tried to access an object (workout, session,
chart) that is not owned by you.
</p>
</div>
{% endblock %}
{% block sidebar %}
{% include 'menu_workouts.html' %}
{% endblock %}

View File

@@ -1,15 +1,22 @@
{% extends "basenofilters.html" %}
{% extends "newbase.html" %}
{% load staticfiles %}
{% block title %}Change Workout {% endblock %}
{% block content %}
{% block main %}
<div class="grid_12">
<h1>Error 404 Page not found</h1>
<p>
We could not find the page on our server.
</p>
</div>
<ul class="main-content">
<li class="grid_2">
<p>
We could not find the page on our server.
</p>
</li>
</ul>
{% endblock %}
{% block sidebar %}
{% include 'menu_workouts.html' %}
{% endblock %}

View File

@@ -1,18 +1,27 @@
{% extends "newbase.html" %}
{% load staticfiles %}
{% block title %}Change Workout {% endblock %}
{% block title %}Error {% endblock %}
{% block main %}
<h1>Error 500 Internal Server Error</h1>
<p>
The site reported an internal server error. The site developer has been
notified automatically with a full error report. You can help the developer
by reporting an issue on Bitbucket using the button below.
</p>
<a class="red small" href="https://bitbucket.org/sanderroosendaal/rowsandall/issues/new">Report an issue</a>
<ul class="main-content">
<li class="grid_2">
<p>
The site reported an internal server error. The site developer has been
notified automatically with a full error report. You can help the developer
by reporting an issue on Bitbucket using the button below.
</p>
</li>
<li>
<a class="red button"
href="https://bitbucket.org/sanderroosendaal/rowsandall/issues/new">
Report an issue
</a>
</li>
</ul>
{% endblock %}

30
templates/502.html Normal file
View File

@@ -0,0 +1,30 @@
{% extends "newbase.html" %}
{% load staticfiles %}
{% block title %}Error{% endblock %}
{% block main %}
<h1>Error 502 Internal Server Error</h1>
<ul class="main-content">
<li class="grid_2">
<p>
The site reported an internal server error. The site developer has been
notified automatically with a full error report. You can help the developer
by reporting an issue on Bitbucket using the button below.
</p>
</li>
<li>
<a class="red button"
href="https://bitbucket.org/sanderroosendaal/rowsandall/issues/new">
Report an issue
</a>
</li>
</ul>
{% endblock %}
{% block sidebar %}
{% include 'menu_workouts.html' %}
{% endblock %}