fix : early return, logging errors into frontend
This commit is contained in:
parent
9b9ea81206
commit
202c89ca74
2 changed files with 55 additions and 54 deletions
|
@ -7,21 +7,21 @@
|
|||
<link href="../stylesheets/index.css" rel="stylesheet" type="text/css"/>
|
||||
<script src="ssh.js"></script>
|
||||
</head>
|
||||
|
||||
<style>
|
||||
.center {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
table, th{
|
||||
|
||||
table, th {
|
||||
border: 1px solid;
|
||||
|
||||
}
|
||||
td { border: 1px solid;
|
||||
width: fit-content;
|
||||
|
||||
td {
|
||||
border: 1px solid;
|
||||
width: fit-content;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
#key_table {
|
||||
|
@ -29,7 +29,6 @@
|
|||
}
|
||||
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<header class="page-header">
|
||||
|
@ -63,7 +62,8 @@
|
|||
<div> SSH Keys</div>
|
||||
<form id="add_key_form">
|
||||
<label for="key_input"></label>
|
||||
<textarea name="key_input" rows = "4" cols="30" id = "key_input" placeholder="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINS2UR/o+nK8lNHHTj5I84ZAAp6P+ZhXqhedMfx0KHE4 My skynet key!"></textarea>
|
||||
<textarea name="key_input" rows="4" cols="30" id="key_input"
|
||||
placeholder="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINS2UR/o+nK8lNHHTj5I84ZAAp6P+ZhXqhedMfx0KHE4 My skynet key!"></textarea>
|
||||
<button type="button" id="add_key_button"> Add key</button>
|
||||
</form>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue