aboutsummaryrefslogtreecommitdiffstats
path: root/src/resources/error.html
blob: 9aa39f6051948a332acef6d5845e380190bb4813 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
  Copyright © 2010, 2011 Vinicius Depizzol

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2, or (at your option)
  any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="%s" lang="%s" dir="%s">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>%s</title>
  <style type="text/css">
    body {
      margin: 0 auto;
      font: message-box;
    }

    #container {
      padding: 10% 12% 5%;
      margin: 0 auto;
      max-width: 650px;
    }

    #main_icon {
      float: left;
      padding-right: 20px;
    }

    html[dir="rtl"] #main_icon {
      padding-left: 20px;
      padding-right: 0;
      float: right;
    }

    #content {
      display: table-cell;
      vertical-align: top;
    }

    #content h1 {
      margin-top: 0;
    }

    #content .buttonbox {
      text-align: right;
    }

    html[dir="rtl"] #content .buttonbox {
      text-align: left;
    }
  </style>
  <script type="text/javascript">
    function load_anyway()
    {
      window.location = '%s';
    }
  </script>
</head>
<body>
  <div id="container">
      <div id="main_icon">
        <img src="%s" />
      </div>
      <div id="content">
          <h1>%s</h1>
          <div class="explanation">
            %s
          </div>

          <div class="buttonbox">
            <button onclick="javascript:load_anyway()">%s</button>
          </div>
      </div>
  </div>
</body>
</html>