Skip to content

Commit

Permalink
static/html/5xx.html: Clean up to use 4 space indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
adnrs96 committed Jan 27, 2018
1 parent b083c89 commit a5c0f28
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 43 deletions.
84 changes: 42 additions & 42 deletions static/html/5xx.html
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Zulip - 500 internal server error</title>
<link href="/static/third/bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="/static/third/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<!-- NB: Relies on the fact that PipelineCachedStorage also includes
a copy of the file with no hash in the name.
This file will not load in dev unless you run `manage.py collectstatic`. -->
<link href="/static/min/portico.css" rel="stylesheet">
<head>
<meta charset="UTF-8">
<title>Zulip - 500 internal server error</title>
<link href="/static/third/bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="/static/third/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<!-- NB: Relies on the fact that PipelineCachedStorage also includes
a copy of the file with no hash in the name.
This file will not load in dev unless you run `manage.py collectstatic`. -->
<link href="/static/min/portico.css" rel="stylesheet">

<meta http-equiv="refresh" content="60;URL='/'">
<meta http-equiv="refresh" content="60;URL='/'">

</head>
</head>

<body class="error_page">
<body class="error_page">
<!-- TODO: Make nginx 5xx error page customizable -->
<!-- This is tricky because it's not served by Django, -->
<!-- so we can't use variables -->
<div class="header" style="background-color: #c9e9e0;">
<div class="header-main" id="top_navbar">
<div class="column-left">
<div>
<a class="brand logo" href="https://zulipchat.com/">
<svg class="brand-logo" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 40 40" version="1.1">
<g transform="translate(-297.14285,-466.64792)">
<circle cx="317.14285" cy="486.64792" r="19.030317" style="fill:hsl(156, 100%, 24%)!important;stroke-width:1.93936479;stroke:transparent"></circle>
<path d="m309.24286 477.14791 14.2 0 1.6 3.9-11.2 11.9 9.6 0 1.6 3.2-14.2 0-1.6-3.9 11.2-11.9-9.6 0z" style="fill:#52c2af;stroke:#52c2af"></path>
</g>
</svg>
<span style="color: hsl(156, 100%, 24%);">Zulip</span>
</a>
<div class="header" style="background-color: #c9e9e0;">
<div class="header-main" id="top_navbar">
<div class="column-left">
<div>
<a class="brand logo" href="https://zulipchat.com/">
<svg class="brand-logo" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 40 40" version="1.1">
<g transform="translate(-297.14285,-466.64792)">
<circle cx="317.14285" cy="486.64792" r="19.030317" style="fill:hsl(156, 100%, 24%)!important;stroke-width:1.93936479;stroke:transparent"></circle>
<path d="m309.24286 477.14791 14.2 0 1.6 3.9-11.2 11.9 9.6 0 1.6 3.2-14.2 0-1.6-3.9 11.2-11.9-9.6 0z" style="fill:#52c2af;stroke:#52c2af"></path>
</g>
</svg>
<span style="color: hsl(156, 100%, 24%);">Zulip</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container">

<div class="row-fluid">
<img src="/static/images/500art.svg" alt=""/>
<div class="errorbox">
<div class="errorcontent">
<h1 class="lead">Internal server error</h1>
<p>This Zulip server is currently experiencing some technical difficulties. Sorry about that!</p>
<p>The page will reload automatically soon after service is restored.</p>
</div>

</div>
</div>
<div class="container">

<div class="row-fluid">
<img src="/static/images/500art.svg" alt=""/>
<div class="errorbox">
<div class="errorcontent">
<h1 class="lead">Internal server error</h1>
<p>This Zulip server is currently experiencing some technical difficulties. Sorry about that!</p>
<p>The page will reload automatically soon after service is restored.</p>
</div>

</div>
</div>

</div>
</div>

</body>
</body>

</html>
1 change: 0 additions & 1 deletion tools/check-templates
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ def check_html_templates(templates, all_dups):

# Ignore these files since these have not been cleaned yet :/
IGNORE_FILES = [
'static/html/5xx.html',
'templates/analytics/activity.html',
'templates/analytics/stats.html',
'templates/corporate/zephyr-mirror.html',
Expand Down

0 comments on commit a5c0f28

Please sign in to comment.