summaryrefslogtreecommitdiff
path: root/src/resources/error.html
blob: 58e6c06aa482a01dc07978af302158e23498ad9e (plain)
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
<!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
  Copyright © 2016 Gabriel Ivascu

  This file is part of Epiphany.

  Epiphany 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 3 of the License, or
  (at your option) any later version.

  Epiphany 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 Epiphany.  If not, see <http://www.gnu.org/licenses/>.
-->
<!--
     Keep in mind that this file is a format template.
     Each raw percent sign has to be written as %%.
     Don't mess it up!
  -->
<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>%s</style>
  <script type="text/javascript">
    function buttonAction() {
      %s
    }
    function hiddenButtonAction() {
      %s
    }
  </script>
</head>
<body class="error-body">
  <span style="margin-left: auto;
               margin-right: auto;
               display: block;
               width: 128px;
               height: 128px;
               background: url(ephy-resource:///org/gnome/epiphany/%s) center no-repeat;
               background-size: cover;"></span>
  <br>
  <h1 id="msg-title" class="%s">%s</h1>
  %s
  <div id="msg-details" class="%s">
    <details>
      <summary class="clickable">%s</summary>
      %s
      <button class="btn destructive-action %s" accesskey="%s" onclick="javascript:hiddenButtonAction()">
        <strong>%s</strong>
      </button>
    </details>
  </div>
  <div>
    <button class="btn suggested-action visible" accesskey="%s" onclick="javascript:buttonAction()">
      <strong>%s</strong>
    </button>
  </div>
</body>
</html>