lmc/linodes/disk/index.shtml

93 lines
3.5 KiB
Plaintext
Raw Permalink Normal View History

<!--
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 - Edit Disk</title>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="disk.css" />
<script src="disk.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> » <span class="top-links-title">Edit Disk</span></div>
<div id="disk">
<p id="space-warning" class="warning">Not enough free disk space to create any more disk images</p>
<table class="lmc-table">
<thead>
<tr>
<td colspan="3">Edit Disk</td>
</tr>
</thead>
<tbody>
<tr class="lmc-tr3">
<td>Label</td>
<td colspan="2"><input id="label" type="text" value="New Disk Label" maxlength="48" size="50" /></td>
</tr>
<tr class="lmc-tr3">
<td>Type</td>
<td colspan="2">
<select id="type">
<option selected value="ext4">ext4</option>
<option value="ext3">ext3</option>
<option value="swap">swap</option>
<option value="raw">unformatted / raw</option>
<option value="initrd">initrd (uncompressed initrd, ext2, max: 32 MB)</option>
</select>
<span id="current-type"></span>
</td>
</tr>
<tr id="current-size-row" class="lmc-tr3 resize">
<td>Current Size</td>
<td colspan="2"><span id="current-size"></span> MB</td>
</tr>
<tr class="lmc-tr3">
<td>Size</td>
<td><input id="size" type="number" min="1" value="1" /> MB</td>
<td><span class="info">Enter a size between 1 and <span id="max-size"></span><span id="resize-addl" class="resize"> to resize this disk</span></span></td>
</tr>
<tr class="lmc-tr3">
<td></td>
<td colspan="2">
<button disabled id="save-button" type="button">Save Changes</button>
<button disabled id="duplicate-button" class="resize" type="button">Duplicate Disk</button>
<button disabled id="image-button" class="resize" type="button">Create Image</button>
</td>
</tr>
</tbody>
</table>
<h3>Storage Stats</h3>
<div class="stats-box">
<span><span id="space-allocated"></span> MB</span><br />
Allocated
</div>
<div class="stats-box">
<span><span id="space-free"></span> MB</span><br />
Free
</div>
<div class="stats-box">
<span><span id="space-total"></span> MB</span><br />
Total
</div>
</div>
</div>
</body>
</html>