Commit Graph

14 Commits

Author SHA1 Message Date
Radomir Dopieralski 4a89303231 Clean up the syntax of html attributes to always use double quotes
Our templates are very inconsistent and sometimes even use single and
double quotes in the same tag. This is an attempt to clean it up a
little and use double quotes everywhere.

In addition, I have run into a problem with single quotes being
incorrectly escaped by the Django compressor, and I want to see if
this will help with the issue.

Change-Id: I2d5137a87ed65c6abef38a49264346f917a1c85a
2023-04-05 11:00:26 +02:00
manchandavishal 25816bd824 Fix tooltips and popovers for flavor details on the instance list.
Due to some changes in bootstrap, the popup table for
flavor details content is empty, on the instance list pages.
This patch adds 'sanitize:false' which fix the issue.
For more info. please refer[1].

[1] https://github.com/twbs/bootstrap/issues/28290

Closes-Bug: #1886025

Change-Id: I60788061d17a5529440ec1e3d6d5c11f5259d2e8
2020-07-07 09:19:17 +00:00
Zuul 3d2ad70c2c Merge "Add <span class='word-wrap'>" 2019-03-12 08:53:17 +00:00
Ivan Kolodyazhny 29738534f4 Show flavor tooltip on mouse hover
We show flavor details on instances page on click. Since we don't have
flavor details page we can show tooltip on mouse hover event.

Change-Id: Ia2f3268ebfb2ccd675ab7176bf942cf96f12fedf
2019-03-07 13:56:46 +00:00
pengyuesheng b45de686a2 Add <span class='word-wrap'>
On the instance page,
if the instance flavor name is too long,
it will exceed the scope of the instance flavor details modal box.

Change-Id: I672e2ca9c3fa099acaa9b5a1a70628a28fd3f135
Closes-Bug: #1816333
2019-02-18 10:31:06 +08:00
Akihiro Motoki 5fc26b0a11 Replace "Terminate Instance" with "Delete Instance"
"Delete" is being used almost everywhere in OpenStack Dashboard
except the instance panel. Using "Delete" looks more consistent.
In addition, "Delete" tells non-native English speakers that
deleted instances will be no longer usable again compared to
"Terminate".

DocImpact
Closes-Bug: #1502773
Change-Id: Idccaf3c45566f20f11d02ada64c1d3934a6f3002
2015-11-30 03:55:19 +09:00
Masco Kaliyamoorthy fb3709dc40 added flavor id in instance detail page
in instance table, we can filter out the
instances by using the flavor id.

but there is no way to get the flavor id
in horizon for non admin users.

so adding the flavor id in instance detail
and popover flavor detail table.

Change-Id: I4995d9181a47bb7e15ce8b2c7b4252e389d91c71
Closes-Bug: #1415825
2015-01-29 16:20:44 +05:30
Timur Sufiev a1416b6d1d Fix Terminate Instance on network topology page
It failed because not all the info expected by the
`project.instances.IndexView` was provided by network topology view
while rendering part of Instances table in an iframe.

Change-Id: If36f877517d454430320b90362fd0d5207dbf9df
Closes-Bug: #1398468
2014-12-05 13:51:28 +03:00
Akihiro Motoki 637b3d59b9 Revert file permissions changed unexpectedly
commit a1e770dc10 changed the file
permissions from 644 to 755, but it is completely unnecessary
as they are template files.

Change-Id: Iab872ec9c56d204b3cccc63ec8852b210b8efcdf
2014-10-09 03:43:18 +09:00
Aaron Sahlin a1e770dc10 Add ':' inside translatable (Part 2 of 2)
Punctuation needs to be included in translation since punctuation differs
depending on the language.  Along with moving ':' also replaced &nbsp; with
blank space insde trans or transblock tag.The initial review grew too large,
so this patch has been broken into 2 reviews.  Part 2 will cover the files in
openstack_dashboard/dashboard/project while Part 1 coverered the rest.

Change-Id: Ibf2036d5bbc4c478fcb912f6335104356e8f1317
Partially-Closes-Bug: #1369445
2014-10-07 15:34:22 +00:00
mariamj@us.ibm.com 44e02fe5fb Dismiss flavor detail pop-over on users next click
In the Instances table under Projects, when we click the flavor
link under Size column, a flavor details pop-over shows up.
Currently we cannot dismiss this pop-over unless user clicks the
flavor link again.

This patch is intended to fix this issue by dismissing the pop-over
on the user's next click.

Change-Id: I46e4d368ef174f04f245be8eef8b3b244c5d1201
Closes-Bug: #1370133
2014-09-16 12:34:54 -04:00
liyingjun 1461d2e930 Fix instance flavor popover table
The instance flavor popover table is not rendered.

Change-Id: I6710fa550a95659cbf5dbf8c6cf29691cfa161fe
Closes-bug: 1354230
2014-08-06 19:33:25 +08:00
Cindy Lu 0fc4d7f88f fix Instance table's Flavor Detail popover not showing up
Using the Flavor ID as the unique ID for the popover causes
problems - if you have multiple instance with the same flavor,
the popover would not show up except for the first in the list.

Solution is to have a unique ID using the instance ID.

Change-Id: If3a43b90f524aa780aac4ecece5dbbbbba75137b
Closes-Bug: #1342907
2014-07-16 13:27:27 -07:00
Christian Berendt 233b4345c4 Display flavor details in instance listing in a popover
This patch moves the flavor details in the instance listing into
a popover to reduce the amount of displayed details in the listing.

Change-Id: Ibd8cd228bae41e0f2870a8a14b6ce21338d61a8f
Closes-Bug: #1314177
2014-07-16 11:33:48 +02:00