<!--
This file is part of Linode Manager Classic.

Linode Manager Classic 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.

Linode Manager Classic 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 Linode Manager Classic.  If not, see <https://www.gnu.org/licenses/>.
-->
<!DOCTYPE HTML>
<html lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>LMC - Backups</title>
		<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
		<link rel="stylesheet" type="text/css" href="backup_details.css" />
		<script src="backup_details.js" type="module"></script>
	</head>
	<body>
		<!--#include virtual="/include/header.html"-->
		<!--#include virtual="/include/linode_subnav.html"-->
		<div id="main-content" class="wrapper">
			<div id="top-links"><a href="/linodes">Linodes</a> » <span id="linode-tag"><a id="linode-tag-link" href=""></a> » </span><a id="linode-label" href="/linodes/dashboard?lid=0"></a> » <a href="/linodes/backups?lid=0">Backups</a> » <span class="top-links-title">Details</span></div>
			<div id="backup_details">
				<table class="lmc-table">
					<thead>
						<tr>
							<td colspan="2">Backup Details</td>
						</tr>
					</thead>
					<tbody>
						<tr class="lmc-tr3">
							<td>Label</td>
							<td id="backup-label"></td>
						</tr>
						<tr class="lmc-tr3">
							<td>Backup Date</td>
							<td><span id="backup-date"></span> (<span id="backup-age"></span>)</td>
						</tr>
						<tr class="lmc-tr3">
							<td>Type</td>
							<td id="backup-type"></td>
						</tr>
						<tr class="lmc-tr3">
							<td>Location</td>
							<td id="backup-location"></td>
						</tr>
						<tr class="lmc-tr3">
							<td>Configuration Profiles</td>
							<td>
								<ul id="backup-configs"></ul>
							</td>
						</tr>
						<tr class="lmc-tr3">
							<td>Disks</td>
							<td>
								<ul id="backup-disks"></ul>
							</td>
						</tr>
						<tr class="lmc-tr3">
							<td>Total size required</td>
							<td id="backup-size"></td>
						</tr>
					</tbody>
				</table>
				<p>Select a Linode to restore this backup to:</p>
				<table id="restore-table" class="lmc-table">
					<thead>
						<tr>
							<td>Linode</td>
							<td>Plan</td>
							<td>Location</td>
							<td>Free Space</td>
							<td>Select</td>
						</tr>
					</thead>
					<tbody id="dest-linodes">
						<tr class="lmc-tr3">
							<td><input id="dest-label" type="text" /></td>
							<td><select id="dest-plan"></select></td>
							<td id="dest-location"></td>
							<td><span id="dest-space"></span> MB</td>
							<td><button disabled id="new-linode" type="button">Create Linode from Backup</button></td>
						</tr>
						<tr id="loading-linodes" class="lmc-tr3">
							<td colspan="5">Loading Linodes...</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
	</body>
</html>