lmc/profile/api/add/index.shtml

95 lines
3.3 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 - My Profile // Add API Key</title>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="add.css" />
<script src="add.js" type="module"></script>
</head>
<body>
<!--#include virtual="/include/header.html"-->
<!--#include virtual="/include/profile_subnav.html"-->
<div id="main-content" class="wrapper">
<div id="top-links"><a href="/profile">My Profile</a> » <a href="/profile/api">API Keys</a> » <span class="top-links-title">Add</span></div>
<div id="add">
<table class="lmc-table">
<thead>
<tr>
<td colspan="2">Add an SSH Key</td>
</tr>
</thead>
<tbody>
<tr class="lmc-tr3">
<td>Label</td>
<td><input id="label" type="text" size="30" /></td>
</tr>
<tr class="lmc-tr3">
<td>Expires</td>
<td>
<select id="expiry">
<!-- The values are milliseconds, in case you were wondering -->
<option value="0">Never</option>
<option value="3600000">1 hour</option>
<option value="21600000">6 hours</option>
<option value="43200000">12 hours</option>
<option value="86400000">1 day</option>
<option value="172800000">2 days</option>
<option value="604800000">1 week</option>
<option value="1209600000">2 weeks</option>
<option value="2419200000">4 weeks</option>
<option value="15768000000">6 months</option>
<option value="31536000000">12 months</option>
</select>
</td>
</tr>
<tr class="lmc-tr3">
<td>Scopes</td>
<td>
<table id="scopes-table">
<thead>
<tr>
<td>Access</td>
<td>None</td>
<td>Read Only</td>
<td>Read/Write</td>
</tr>
</thead>
<tbody id="scopes">
<tr>
<td><strong>Select All</strong></td>
<td><label for="select-none"><input id="select-none" type="radio" name="select-all" /></label></td>
<td><label for="select-read_only"><input id="select-read_only" type="radio" name="select-all" /></label></td>
<td><label for="select-read_write"><input id="select-read_write" type="radio" name="select-all" /></label></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="lmc-tr3">
<td></td>
<td><button id="add-button" type="button">Create API Key</button></td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>