~ubuntu-branches/ubuntu/wily/epiphany-browser/wily

« back to all changes in this revision

Viewing changes to src/resources/error.html

Tags: upstream-3.10.1
Import upstream version 3.10.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
2
<!--
 
3
  Copyright © 2010, 2011 Vinicius Depizzol
 
4
 
 
5
  This program is free software; you can redistribute it and/or modify
 
6
  it under the terms of the GNU General Public License as published by
 
7
  the Free Software Foundation; either version 2, or (at your option)
 
8
  any later version.
 
9
 
 
10
  This program is distributed in the hope that it will be useful,
 
11
  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
13
  GNU General Public License for more details.
 
14
 
 
15
  You should have received a copy of the GNU General Public License
 
16
  along with this program; if not, write to the Free Software
 
17
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
18
-->
 
19
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="%s" lang="%s" dir="%s">
 
20
<head>
 
21
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
 
22
  <title>%s</title>
 
23
  <style type="text/css">
 
24
    body {
 
25
      margin: 0 auto;
 
26
      font: message-box;
 
27
    }
 
28
 
 
29
    #container {
 
30
      padding: 10% 12% 5%;
 
31
      margin: 0 auto;
 
32
      max-width: 650px;
 
33
    }
 
34
 
 
35
    #main_icon {
 
36
      float: left;
 
37
      padding-right: 20px;
 
38
    }
 
39
 
 
40
    html[dir="rtl"] #main_icon {
 
41
      padding-left: 20px;
 
42
      padding-right: 0;
 
43
      float: right;
 
44
    }
 
45
 
 
46
    #content {
 
47
      display: table-cell;
 
48
      vertical-align: top;
 
49
    }
 
50
 
 
51
    #content h1 {
 
52
      margin-top: 0;
 
53
    }
 
54
 
 
55
    #content .buttonbox {
 
56
      text-align: right;
 
57
    }
 
58
 
 
59
    html[dir="rtl"] #content .buttonbox {
 
60
      text-align: left;
 
61
    }
 
62
  </style>
 
63
  <script type="text/javascript">
 
64
    function load_anyway()
 
65
    {
 
66
      window.location = '%s';
 
67
    }
 
68
  </script>
 
69
</head>
 
70
<body>
 
71
  <div id="container">
 
72
      <div id="main_icon">
 
73
        <img src="%s" />
 
74
      </div>
 
75
      <div id="content">
 
76
          <h1>%s</h1>
 
77
          <div class="explanation">
 
78
            %s
 
79
          </div>
 
80
 
 
81
          <div class="buttonbox">
 
82
            <button onclick="javascript:load_anyway()">%s</button>
 
83
          </div>
 
84
      </div>
 
85
  </div>
 
86
</body>
 
87
</html>