|
|
@ -16,7 +16,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="field {{if .Err_Content}}error{{end}}"> |
|
|
|
<div class="field {{if .Err_Content}}error{{end}}"> |
|
|
|
<label for="ssh-key-content">{{ctx.Locale.Tr "settings.key_content"}}</label> |
|
|
|
<label for="ssh-key-content">{{ctx.Locale.Tr "settings.key_content"}}</label> |
|
|
|
<textarea id="ssh-key-content" name="content" class="js-quick-submit" placeholder="{{ctx.Locale.Tr "settings.key_content_ssh_placeholder"}}" required>{{.content}}</textarea> |
|
|
|
<textarea id="ssh-key-content" name="content" placeholder="{{ctx.Locale.Tr "settings.key_content_ssh_placeholder"}}" required>{{.content}}</textarea> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<input name="type" type="hidden" value="ssh"> |
|
|
|
<input name="type" type="hidden" value="ssh"> |
|
|
|
<button class="ui primary button"> |
|
|
|
<button class="ui primary button"> |
|
|
@ -84,7 +84,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<div class="field"> |
|
|
|
<label for="signature">{{ctx.Locale.Tr "settings.ssh_token_signature"}}</label> |
|
|
|
<label for="signature">{{ctx.Locale.Tr "settings.ssh_token_signature"}}</label> |
|
|
|
<textarea id="ssh-key-signature" name="signature" class="js-quick-submit" placeholder="{{ctx.Locale.Tr "settings.key_signature_ssh_placeholder"}}" required>{{$.signature}}</textarea> |
|
|
|
<textarea id="ssh-key-signature" name="signature" placeholder="{{ctx.Locale.Tr "settings.key_signature_ssh_placeholder"}}" required>{{$.signature}}</textarea> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<input name="type" type="hidden" value="verify_ssh"> |
|
|
|
<input name="type" type="hidden" value="verify_ssh"> |
|
|
|
<button class="ui primary button"> |
|
|
|
<button class="ui primary button"> |
|
|
|