As part of the breaking up of Access and Security, move the Key Pairs tab to a new panel under Compute. Separate patches will address Floating IPs, Security Groups, and API Access. Fixes include: - Should be significantly faster to access Key Pairs, as we are no longer running multiple API calls for the other Access & Security tabs at the same time. Hooray for speed! - Should be easier for new users to find where Key Pairs are located. - Reduce reuse of identical translatable strings - Use common templates instead of duplication - Updated policy rules and added missing rules to table get_data - Small cleanup of the Key Pair download page, which was previously using modal classes despite not being a modal. Change-Id: I66f1f65a2cb49bd10e0364b12efba4346f373ed3 Implements: blueprint reorganise-access-and-security
32 lines
922 B
HTML
32 lines
922 B
HTML
{% extends 'base.html' %}
|
|
{% load i18n sizeformat %}
|
|
|
|
{% block title %}{{ page_title }}{% endblock %}
|
|
|
|
{% block page_header %}
|
|
{% include "horizon/common/_detail_header.html" %}
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
<div class="detail">
|
|
<dl class="dl-horizontal">
|
|
<dt>{% trans "Name" %}</dt>
|
|
<dd>{{ keypair.name|default:_("None") }}</dd>
|
|
<dt>{% trans "Fingerprint" %}</dt>
|
|
<dd>{{ keypair.fingerprint|default:_("None") }}</dd>
|
|
<dt>{% trans "Created" %}</dt>
|
|
<dd>{{ keypair.created_at|parse_isotime}}</dd>
|
|
{% if keypair.updated_at %}
|
|
<dt>{% trans "Updated" %}
|
|
<dd>{{ keypair.updated_at|parse_isotime}}</dd>
|
|
{% endif %}
|
|
<dt>{% trans "User ID" %}</dt>
|
|
<dd>{{ keypair.user_id|default:_("None") }}</dd>
|
|
<dt>{% trans "Public Key" %}</dt>
|
|
<dd>
|
|
<div class="key-text word-wrap">{{ keypair.public_key|default:_("None") }}</div>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
{% endblock %}
|