This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2938 from gratipay/fix-layout
fix layout
- Loading branch information
Showing
104 changed files
with
2,600 additions
and
2,848 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,16 @@ | ||
from aspen.http import status_strings | ||
[---] | ||
title = 'Closed' if 'username' in path else '410' | ||
[---] text/html via jinja2 | ||
{% if 'username' in path %} | ||
|
||
{% extends "templates/base.html" %} | ||
{% block heading %}<h1>Closed</h1>{% endblock %} | ||
{% block box %} | ||
|
||
<div class="as-content"> | ||
|
||
<p style="margin: 3em 0;">The account owner has closed this account.</p> | ||
|
||
{% block content %} | ||
{% if 'username' in path %} | ||
<p>The account owner has closed this account.</p> | ||
{% if user.ANON %} | ||
<h2>Are you the account owner?</h2> | ||
|
||
<p>{% include "templates/sign-in-using.html" %} to reopen your account.</p> | ||
<h2>Are you the account owner?</h2> | ||
<p>{% include "templates/sign-in-using.html" %} to reopen your account.</p> | ||
{% endif %} | ||
|
||
</div> | ||
|
||
<div class="nav level-1"><a href="/"><button>Home</button></a></div> | ||
|
||
{% endblock %} | ||
|
||
{% else %} | ||
<html> | ||
<head> | ||
<title>410 Gone</title> | ||
<style> | ||
{{style}} | ||
BODY { | ||
margin: 0; | ||
padding: 200px 0 0; | ||
text-align: center; | ||
font: normal 18pt/18pt Georgia, serif; | ||
} | ||
PRE { | ||
text-align: left; | ||
font: normal 10pt/12pt monospace; | ||
margin: 50px 200px 0; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
Gone, program! | ||
</body> | ||
</html> | ||
<p>{{ status_strings[410] }}</p> | ||
{% endif %} | ||
{% 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 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
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
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
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.