summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static/css
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2016-07-15 15:20:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-11 00:09:27 +0100
commit01c8496d47eb37a44442e79a7b071321599d7c6e (patch)
treed99258b6e3bba016815a1b0a0e1e70d5872babe3 /bitbake/lib/toaster/toastergui/static/css
parent6172fb1923a34b9ba286debcb89653a347c0f5e0 (diff)
downloadpoky-01c8496d47eb37a44442e79a7b071321599d7c6e.tar.gz
bitbake: toaster: show loading spinner after creating custom image
Creating a custom image through the "New custom image" dialog can sometimes result in a long pause between pressing the button to create the image, and being transferred to the page showing details of its content. This can make it appear as though pressing the button had no effect. To prevent this from happening, disable the button and text box in the new custom image dialog after the "Create image" button is pressed. Also show a loading spinner and "loading..." text on the button to make it clear that the application is still responding. [YOCTO #9475] (Bitbake rev: dd8bede91e08c0b64b949ca98c74e6144da88fd1) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/css')
-rw-r--r--bitbake/lib/toaster/toastergui/static/css/default.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css
index 3a0fbb82c8..0961c97747 100644
--- a/bitbake/lib/toaster/toastergui/static/css/default.css
+++ b/bitbake/lib/toaster/toastergui/static/css/default.css
@@ -250,6 +250,18 @@ code { color: #333; background-color: transparent; }
250/* Style the special no results message in the custom image details page */ 250/* Style the special no results message in the custom image details page */
251[id^="no-results-special-"] > .alert-warning > ol { margin-top: 10px; } 251[id^="no-results-special-"] > .alert-warning > ol { margin-top: 10px; }
252 252
253/* style the loading spinner in the new custom image dialog */
254#create-new-custom-image-btn [data-role="loading-state"] {
255 padding-left: 16px;
256}
257
258/* icon has to be absolutely positioned, otherwise the spin animation doesn't work */
259#create-new-custom-image-btn [data-role="loading-state"] .icon-spinner {
260 position: absolute;
261 left: 26px;
262 bottom: 26px;
263}
264
253/* Style the content of modal dialogs */ 265/* Style the content of modal dialogs */
254.modal-footer { text-align: left; } 266.modal-footer { text-align: left; }
255.date-filter-controls { margin-top: 10px; } 267.date-filter-controls { margin-top: 10px; }