browser/components/sessionstore/content/aboutSessionRestore.xhtml

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 <?xml version="1.0" encoding="UTF-8"?>
michael@0 2 <!--
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6 -->
michael@0 7 <!DOCTYPE html [
michael@0 8 <!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
michael@0 9 %htmlDTD;
michael@0 10 <!ENTITY % netErrorDTD SYSTEM "chrome://global/locale/netError.dtd">
michael@0 11 %netErrorDTD;
michael@0 12 <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
michael@0 13 %globalDTD;
michael@0 14 <!ENTITY % restorepageDTD SYSTEM "chrome://browser/locale/aboutSessionRestore.dtd">
michael@0 15 %restorepageDTD;
michael@0 16 ]>
michael@0 17
michael@0 18 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 19 <head>
michael@0 20 <title>&restorepage.tabtitle;</title>
michael@0 21 <link rel="stylesheet" href="chrome://global/skin/netError.css" type="text/css" media="all"/>
michael@0 22 <link rel="stylesheet" href="chrome://browser/skin/aboutSessionRestore.css" type="text/css" media="all"/>
michael@0 23 <link rel="icon" type="image/png" href="chrome://global/skin/icons/warning-16.png"/>
michael@0 24
michael@0 25 <script type="application/javascript;version=1.8" src="chrome://browser/content/aboutSessionRestore.js"/>
michael@0 26 </head>
michael@0 27
michael@0 28 <body dir="&locale.dir;">
michael@0 29
michael@0 30 <!-- PAGE CONTAINER (for styling purposes only) -->
michael@0 31 <div id="errorPageContainer">
michael@0 32
michael@0 33 <!-- Error Title -->
michael@0 34 <div id="errorTitle">
michael@0 35 <h1 id="errorTitleText">&restorepage.errorTitle;</h1>
michael@0 36 </div>
michael@0 37
michael@0 38 <!-- LONG CONTENT (the section most likely to require scrolling) -->
michael@0 39 <div id="errorLongContent">
michael@0 40
michael@0 41 <!-- Short Description -->
michael@0 42 <div id="errorShortDesc">
michael@0 43 <p id="errorShortDescText">&restorepage.problemDesc;</p>
michael@0 44 </div>
michael@0 45
michael@0 46 <!-- Long Description (Note: See netError.dtd for used XHTML tags) -->
michael@0 47 <div id="errorLongDesc">
michael@0 48 <p>&restorepage.tryThis;</p>
michael@0 49 <ul>
michael@0 50 <li>&restorepage.restoreSome;</li>
michael@0 51 <li>&restorepage.startNew;</li>
michael@0 52 </ul>
michael@0 53 </div>
michael@0 54
michael@0 55 <!-- Short Description -->
michael@0 56 <div id="errorTrailerDesc">
michael@0 57 <tree xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
michael@0 58 id="tabList" flex="1" seltype="single" hidecolumnpicker="true"
michael@0 59 onclick="onListClick(event);" onkeydown="onListKeyDown(event);"
michael@0 60 _window_label="&restorepage.windowLabel;">
michael@0 61 <treecols>
michael@0 62 <treecol cycler="true" id="restore" type="checkbox" label="&restorepage.restoreHeader;"/>
michael@0 63 <splitter class="tree-splitter"/>
michael@0 64 <treecol primary="true" id="title" label="&restorepage.listHeader;" flex="1"/>
michael@0 65 </treecols>
michael@0 66 <treechildren flex="1"/>
michael@0 67 </tree>
michael@0 68 </div>
michael@0 69 </div>
michael@0 70
michael@0 71 <!-- Buttons -->
michael@0 72 <hbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" id="buttons">
michael@0 73 #ifdef XP_UNIX
michael@0 74 <button id="errorCancel" label="&restorepage.closeButton;"
michael@0 75 accesskey="&restorepage.close.access;"
michael@0 76 oncommand="startNewSession();"/>
michael@0 77 <button id="errorTryAgain" label="&restorepage.tryagainButton;"
michael@0 78 accesskey="&restorepage.restore.access;"
michael@0 79 oncommand="restoreSession();"/>
michael@0 80 #else
michael@0 81 <button id="errorTryAgain" label="&restorepage.tryagainButton;"
michael@0 82 accesskey="&restorepage.restore.access;"
michael@0 83 oncommand="restoreSession();"/>
michael@0 84 <button id="errorCancel" label="&restorepage.closeButton;"
michael@0 85 accesskey="&restorepage.close.access;"
michael@0 86 oncommand="startNewSession();"/>
michael@0 87 #endif
michael@0 88 </hbox>
michael@0 89 <!-- holds the session data for when the tab is closed -->
michael@0 90 <input type="text" id="sessionData" style="display: none;"/>
michael@0 91 </div>
michael@0 92
michael@0 93 </body>
michael@0 94 </html>

mercurial