style changes and introducing /add-ssh-key-to-existing-capsul
This commit is contained in:
@ -112,6 +112,7 @@
|
||||
<div class="row justify-start">
|
||||
<label class="align" for="ssh_authorized_keys">SSH Authorized Keys</label>
|
||||
<a id="ssh_authorized_keys" href="/console/ssh">{{ vm['ssh_authorized_keys'] }}</a>
|
||||
<a href="/add-ssh-key-to-existing-capsul">[ Add Another... ]</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -120,20 +121,20 @@
|
||||
<form id="delete_action" method="post">
|
||||
<input type="hidden" name="action" value="delete"/>
|
||||
<input type="hidden" name="csrf-token" value="{{ csrf_token }}"/>
|
||||
<input type="submit" class="form-submit-link" value="Delete...">
|
||||
<input type="submit" class="form-submit-link" value="[ Delete... ]">
|
||||
</form>
|
||||
{% if vm['state'] == 'crashed' or vm['state'] == 'stopped' %}
|
||||
<form id="start_action" method="post">
|
||||
<input type="hidden" name="action" value="start"/>
|
||||
<input type="hidden" name="csrf-token" value="{{ csrf_token }}"/>
|
||||
<input type="submit" class="form-submit-link" value="Start">
|
||||
<input type="submit" class="form-submit-link" value="[ Start ]">
|
||||
</form>
|
||||
{% endif %}
|
||||
{% if vm['state'] != 'stopped' %}
|
||||
<form id="force_stop_action" method="post">
|
||||
<input type="hidden" name="action" value="force-stop"/>
|
||||
<input type="hidden" name="csrf-token" value="{{ csrf_token }}"/>
|
||||
<input type="submit" class="form-submit-link" value="Force Stop...">
|
||||
<input type="submit" class="form-submit-link" value="[ Force Stop... ]">
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user