1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 17:42:10 +01:00
falkonOfficial/src/lib/data/html/restore.html

52 lines
1.8 KiB
HTML
Raw Normal View History

<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="icon" href="%FAVICON%" type="image/x-icon" />
<title>%TITLE%</title>
<style>
html {background: #dddddd;font-family: sans-serif;color: #525c66;}
html * {font-size: 100%;line-height: 1.6;}
#box {max-width:650px;min-width:400px;overflow:auto;margin: 25px auto 10px auto;padding: 10px 40px;border-width: 20px;text-align: %LEFT_STR%;-webkit-border-image: url(%BOX-BORDER%) 25;direction: %DIRECTION%;}
hr {color: lightgray;width: 100%;}
img {float: %LEFT_STR%;margin-%LEFT_STR%: -20px;margin-top: 15px;}
h1 {font-size: 150%;font-weight: bold;border-bottom: 1px solid #f4f4f4;margin-%LEFT_STR%: 48px;margin-%RIGHT_STR%: 50px;}
h2 {font-size: 100%;font-weight: normal;border-bottom: 1px solid #f4f4f4;margin-%LEFT_STR%: 48px;padding: 5px 0px 10px 2px;margin-%RIGHT_STR%: 50px;}
ul {font-size: 90%;padding-%LEFT_STR%: 48px;margin: 20px 0;max-width:600px;}
li {padding: 5px;}
#buttons {margin: 20px 50px;}
#restore-session-button {font-weight: bold;}
</style>
<script type="text/javascript">
function startNewSession()
{
document.getElementById("start-new-session-button").disabled = true;
external.recovery.startNewSession();
}
function restoreSession()
{
document.getElementById("restore-session-button").disabled = true;
external.recovery.restoreSession();
}
</script>
</head>
<body>
<div id="box">
<img src="data:image/png;base64,%IMAGE%" >
<h1>%OOPS%</h1>
<h2>%APOLOGIZE%</h2>
<ul>
<li>%TRY-REMOVING%</li>
<li>%START-NEW%</li>
</ul>
<div id="buttons">
<input type="button" id="start-new-session-button" value="Start New Session" onclick="startNewSession();">
<input type="button" id="restore-session-button" value=" Restore " onclick="restoreSession();">
</div>
</div>
</body></html>