Commit Graph

12 Commits

Author SHA1 Message Date
Daniel Vincze e332cef01c Add key_type selection on Keypairs form
Key type can be selected through both Django and Angular panels.
This change will allow X509 Public Certificates to be imported
or created through Horizon.

Also, the key type is being showed in the keypairs list.

Change-Id: I0a07b4805e6af96f06ec12d2e86708c94946e9c9
Closes-Bug: 1816041
2019-03-13 16:32:06 +02:00
Shu Muto 7aadd7ef9d Use load-edit directive in import key pair
To be convenient to import key, this patch enables to load key from
file using load-edit directive.

NOTE:
Since load-edit directive is Angular module, this patch is effective
only in Angularized Launch Instance workflow. Also, this does not
works for "Import Key Pair" action on Django-based Key Pairs panel.

Change-Id: I25ad0f61fb95826939a452cc4504bafaebc29766
2018-02-22 11:03:20 +09:00
jing.liuqing fcd30d95e8 [TrivialFix] Make translatable string more clear
Change-Id: I8783981e219f47456986210fe4a31da3b51b6be6
2017-06-15 23:38:28 +08:00
Kenji Ishii 0ee3b7d49b Remove unnecessary help-panel in import keypair modal
In this modal page, there is a help-panel, but when we click
it, help message will be displayed in not this modal but the main
modal behind this modal. This help-panel doesn't need, so this
patch will remove it.

Change-Id: I62571c0a0d89d9ed0d2891b670610e32beb39306
Closes-bug: #1580022
2016-05-17 05:53:43 +00:00
Cindy Lu fc7f1fd84e minor ng launch instance cleanup - remove unused css styles
Change-Id: Ic8ae2f56fbd6f92d5b4d27a2e28ff9714f4e50e8
2016-03-23 14:47:35 -07:00
Jenkins a11f074ca9 Merge "Missing translate attr in ng Launch Instance" 2016-03-14 23:34:25 +00:00
David Lyle ee1583e443 Removing whitespace
This was brought up in another review. So getting rid of the
heinous trailing whitespace.

Change-Id: Ic1f867c95b9931e285797d529fc8ed4e61fbc3f3
2016-03-14 08:23:21 -06:00
Cindy Lu 183a7b4e95 Missing translate attr in ng Launch Instance
Change-Id: I3cfbb48b6166b3dd544a3a68d879a08dcde7c780
2016-03-11 18:11:02 -08:00
Rob Cresswell be9023d86e Fix theming in angular launch instance
This patch makes the new angular Launch Instance workflow mostly
themeable. Most of the existing CSS has been deleted, and this now
follows bootstraps markup. This is not intended to solve all edge cases
given the size of the work, but is a big step in the right direction.

Changes:
- Use stacked nav tabs for navigation. Move base nav tabs toward
  bootstrap default. Style primary side nav as before.
- Use bootstraps form markup for modal
- Use bootstraps form markup for form fields and their errors
- Make pie charts and tables inherit any missing theme variables. A more
  thorough pass will be done on this next release cycle.

Closes-Bug: 1538491
Change-Id: Ic20b7f4341a2853ca334824c6a811125b04e88cc
2016-03-02 20:08:49 -07:00
Paulo Ewerton 3de7f9a3e1 Moving translation to HTML for launch-instance key pair step
This patch cleans out the old gettext and move them into the
HTML files. This patch addresses the move to launch-instance
key pair step.

Change-Id: I1c17432f0c7a928388137de18e2b2f969b014bae
Closes-Bug: 1487582
2015-09-14 15:26:31 +00:00
Cindy Lu 8f19f360a9 JSCS Cleanup - style guide cleanup for Keypair step
Following John Papa's style guide
https://github.com/johnpapa/angular-styleguide,
this patch refactors the Angular code for 'keypair' step
in Launch Instance wizard.

Change-Id: Ic343bae589eb467657b8e6a0ecd6e120b30da8b1
Partially-Implements: blueprint jscs-cleanup
2015-08-10 19:53:30 -07:00
Tyr Johanson 87e386aea8 Dashboard ReOrg - Relocate Launch Instance module
This patch relocates the 'launch-instance' directory.

Continuing re-organization of the Launch Instance angular code
to move it into the correct place for plugins, namely
openstack_dashboard/dashboards/project/

This patch attempts to divide https://review.openstack.org/#/c/191592
into smaller, more easily reviewable pieces.

Co-Authored-By: Shaoquan Chen <sean.chen2@hp.com>
Co-Authored-By: Tyr Johanson <tyr@hp.com>

Change-Id: I426c77d704ed9114ce9ae148b5fdec4e381f0f68
Partial-Bug: 1478717
2015-08-05 11:21:19 -06:00