aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/error.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-08-04 10:11:24 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-08-04 10:11:24 +0300
commit63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch)
tree555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/templates/error.html
downloadServo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip
Initial commit
First public commit
Diffstat (limited to 'servo/templates/error.html')
-rw-r--r--servo/templates/error.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/servo/templates/error.html b/servo/templates/error.html
new file mode 100644
index 0000000..db3ce21
--- /dev/null
+++ b/servo/templates/error.html
@@ -0,0 +1,49 @@
+{% load i18n %}
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link rel="icon" type="image/png" href="{{ STATIC_URL }}images/favicon.png">
+ <link rel="apple-touch-icon" type="image/png" href="{{ STATIC_URL }}images/apple-touch-icon.png">
+ <link href="{{ STATIC_URL }}js/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+ <link href="{{ STATIC_URL }}js/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
+ <link href="{{ STATIC_URL }}css/glyphicons.css" rel="stylesheet">
+ <title>{% trans "An Error Occurred" %}</title>
+ <style type="text/css">
+ label {
+ display: none;
+ }
+ </style>
+</head>
+<body>
+ <div class="main container">
+ {% block main %}
+ <div class="container-narrow">
+ <div class="row">
+ <div class="span12">
+ <div class="jumbotron">
+ {% if crashed %}
+ <h1>{% trans "Oops!" %}</h1>
+ <p class="lead">{% trans "It appears that an error has occurred." %} {% trans "I've notified the developers, but I'm sure they would really appreciate if you could briefly describe what you were doing before this happened." %}</p>
+ <form action="" method="post">
+ {% csrf_token %}
+ {% include "form_snippet.html" %}
+ <div class="pull-right">
+ <a class="btn btn-large" href="{% url 'home' %}">{% trans "Cancel" %}</a>
+ <button type="submit" class="btn btn-primary btn-large">{% trans "Submit" %}</button>
+ </div>
+ </form>
+ {% else %}
+ <h1>{% trans "Thanks!" %}</h1>
+ <p class="lead">{% trans "Your error report has been submitted. Thanks for helping make Servo better!" %}</p>
+ <a class="btn btn-large" href="{% url 'home' %}"><i class="icon-home"></i> {% trans "Return Home" %}</a>
+ {% endif %}
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endblock main %}
+ </div>
+</body>
+</html>