On 06/05/2014 10:50 AM, Hongliang Wang wrote:
On 06/05/2014 10:08 AM, Wang Wen wrote:
> Have the generating progress indicator added, which will be removed
> after
> generating progress finished.
> ---
> ui/css/theme-default/host.css | 7 +++++++
> ui/css/theme-default/report-add.css | 9 +--------
> ui/images/theme-default/progress.gif | Bin 0 -> 9889 bytes
> ui/js/src/kimchi.report_add_main.js | 26 +++++++++++++++++++++-----
> ui/pages/i18n.html.tmpl | 1 +
> 5 files changed, 30 insertions(+), 13 deletions(-)
> create mode 100644 ui/images/theme-default/progress.gif
>
> diff --git a/ui/css/theme-default/host.css
> b/ui/css/theme-default/host.css
> index a040204..583f360 100644
> --- a/ui/css/theme-default/host.css
> +++ b/ui/css/theme-default/host.css
> @@ -215,6 +215,13 @@
> width: 200px;
> }
>
> +#id-debug-img {
> + background: url(../../images/theme-default/progress.gif) 7px
> + center no-repeat;
> + background-size: 15px 15px;
> + padding-left: 26px;
> +}
> +
> /* End of Debug Report */
>
> /* Software Updates */
> diff --git a/ui/css/theme-default/report-add.css
> b/ui/css/theme-default/report-add.css
> index 236029a..3e52f63 100644
> --- a/ui/css/theme-default/report-add.css
> +++ b/ui/css/theme-default/report-add.css
> @@ -12,11 +12,4 @@
> box-sizing: border-box;
> margin: .5em 0;
> width: 100%;
> -}
> -
> -#button-report-add[disabled] {
> - background: #c0c0c0 url(../../images/theme-default/loading.gif) 7px
> - center no-repeat;
> - color: #DDD;
> - padding-left: 26px;
> -}
> +}
> \ No newline at end of file
> diff --git a/ui/images/theme-default/progress.gif
> b/ui/images/theme-default/progress.gif
Where is this new file from? Be sure we haven't license issue.
I have made a
new icon that based on Kimchi logo. Thx for the kindly tip
> new file mode 100644
> index
> 0000000000000000000000000000000000000000..35aeccba8b624c67acce4242ee139dc48ef97302
> GIT binary patch
> literal 9889
> zcmeI2=UY>0`>xY_!XktaAixSBgrWuo1w>~pYCzObq=_035ET#{R8YrBAsC7p5D^*0
> zP{fEL$bcfY1cIWX6BHb=4Iol%6Kn(O=#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nWeL~?hRNC-HKmjxc&&yD3A5)2W}!(w
> z9b+tPuwuf<D?64?{)O}hh%iRq=5;~A9qnp}sYuueFPtXk0T>y0>NJnwe;tAD0R=^K
> z3%vx`eGhLyFm%KThMn0iE>xMl+Vxi=<1Mz>DSoK}6?(cr3;Vim1Sn58aun^)%5RB?
> zJc~F0ZQ5=gfqF_3WVAn{WoDZ4DwXT^oV`i94o#OX5|DUXbk%3CJ5-~(i8iju#de*?
> zed$m0Awf6E1k+d)5Sbcuxk_?mF3i-%B*$WGHU+`1MXtIFbC<+3jav#61iEj`;hJmA
> ebAtIgj!lyKPBhcquk(D0RRqwBOEBpEqW=Z7YA_N2
>
> literal 0
> HcmV?d00001
>
> diff --git a/ui/js/src/kimchi.report_add_main.js
> b/ui/js/src/kimchi.report_add_main.js
> index 8759c2b..9b73994 100644
> --- a/ui/js/src/kimchi.report_add_main.js
> +++ b/ui/js/src/kimchi.report_add_main.js
> @@ -1,4 +1,5 @@
> kimchi.report_add_main = function() {
> + var reportGridID = 'available-reports-grid';
> var addReportForm = $('#form-report-add');
> var submitButton = $('#button-report-add');
> var nameTextbox = $('input[name="name"]', addReportForm);
> @@ -13,12 +14,27 @@ kimchi.report_add_main = function() {
> return false;
> }
> var formData = addReportForm.serializeObject();
> - submitButton
> - .text(i18n['KCHDR6007M'])
> - .prop('disabled', true);
> - nameTextbox.prop('disabled', true);
> + kimchi.window.close();
> + var reportGrid = null;
> + $('#' + reportGridID +
> '-generate-button').prop('disabled',true);
> + $('#' + reportGridID +
'-remove-button').prop('disabled',true);
> + $('#' + reportGridID +
> '-download-button').prop('disabled',true);
> + $('#' + reportGridID +
'-rename-button').prop('disabled',true);
> + $('#' +
>
reportGridID).find('.grid-body').find('table').find('tr').click(function()
> {
> + $('#' + reportGridID +
> '-remove-button').prop('disabled',true);
> + $('#' + reportGridID +
> '-download-button').prop('disabled',true);
> + $('#' + reportGridID +
> '-rename-button').prop('disabled',true);
> + });
> + var textboxValue = $('#report-name-textbox').val();
> + if (textboxValue != "") {
> +
>
$('#available-reports-grid').find('.grid-body-view').find('table').prepend('<tr
> id="temp-row"><td>' + textboxValue + '</td><td id
="id-debug-img">' +
> i18n['KCHDR6007M'] + '</td></tr>');
> + }
> + else {
> +
>
$('#available-reports-grid').find('.grid-body-view').find('table').prepend('<tr
> id="temp-row"><td>' + i18n['KCHDR6012M'] +
'</td><td id
> ="id-debug-img">' + i18n['KCHDR6007M'] +
'</td></tr>');
> + }
> kimchi.createReport(formData, function(result) {
> - kimchi.window.close();
> + $('#temp-row').remove();
> + $('#' + reportGridID +
> '-generate-button').prop('disabled',false);
> kimchi.topic('kimchi/debugReportAdded').publish({
> result: result
> });
> diff --git a/ui/pages/i18n.html.tmpl b/ui/pages/i18n.html.tmpl
> index 25b81c2..375a37a 100644
> --- a/ui/pages/i18n.html.tmpl
> +++ b/ui/pages/i18n.html.tmpl
> @@ -124,6 +124,7 @@ var i18n = {
> 'KCHDR6009M': "$_("Remove")",
> 'KCHDR6010M': "$_("Download")",
> 'KCHDR6011M': "$_("Report name should contain only letters,
> digits and/or hyphen ('-').")",
> + 'KCHDR6012M': "$_("Pending...")",
>
> 'KCHVM6001M': "$_("This will delete the virtual machine and
its
> virtual disks. This operation cannot be undone. Would you like to
> continue?")",
> 'KCHVM6002M': "$_("Power off Confirmation")",