Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds new explicit interstitial page to download keypair.
Fixes bug 928217 Fixes bug 904470 Change-Id: Ic41d72e6bb9e51a3f0746a003a4ff2afdbb94735
- Loading branch information
Showing
8 changed files
with
87 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
horizon/horizon/dashboards/nova/templates/nova/access_and_security/keypairs/download.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{% extends 'nova/base.html' %} | ||
{% load i18n %} | ||
{% block title %}{% blocktrans %}Download Keypair{% endblocktrans %}{% endblock %} | ||
|
||
{% block page_header %} | ||
{% include "horizon/common/_page_header.html" with title=_("Download Keypair") %} | ||
{% endblock page_header %} | ||
|
||
{% block dash_main %} | ||
<div class="modal-header"> | ||
<h3>{% blocktrans %}The keypair "{{ keypair_name }}" should download automatically. If not use the link below.{% endblocktrans %}</h3> | ||
</div> | ||
<div class="modal-body clearfix"> | ||
<a href="{% url horizon:nova:access_and_security:keypairs:generate keypair_name %}"> | ||
{% blocktrans %}Download keypair "{{ keypair_name}}"{% endblocktrans %} | ||
</a> | ||
</div> | ||
<script type="text/javascript" charset="utf-8"> | ||
document.location = '{% url horizon:nova:access_and_security:keypairs:generate keypair_name %}'; | ||
</script> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -848,4 +848,3 @@ form .error { | |
color: #b94a48; | ||
border: 1px solid #E9B1B0; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters