enhance Application Updater

This commit is contained in:
Eric
2021-02-09 18:17:58 +01:00
parent ed4cf4ff05
commit 47fdc47d33
2 changed files with 11 additions and 11 deletions

View File

@@ -30,11 +30,11 @@
{% UIFieldSet Standard {'sLegend':'iTopUpdate:UI:Action'|dict_s} %}
{% UIAlert ForWarning {'sContent':'iTopUpdate:UI:WarningReadOnlyDuringUpdate'|dict_s, 'IsCollapsible':false, 'IsClosable':false} %}{% EndUIAlert %}
{% UIContentBlock Standard {aContainerClasses:["ibo-setup--button-bar"]} %}
{% UIToolbar ForButton {} %}
{% UIForm Standard {'CSSClasses':['form-inline']} %}
{% UIButton ForSecondaryAction {'sId':'cancel-update', 'sLabel':'iTopUpdate:UI:Cancel'|dict_s, 'bIsSubmit':true} %}
{% UIButton ForCancel {'sId':'cancel-update', 'sLabel':'iTopUpdate:UI:Cancel'|dict_s, 'bIsSubmit':true} %}
{% EndUIForm %}
{% UIContentBlock Standard {aContainerClasses:["ibo-setup--button-spacer"]} %}{% EndUIContentBlock %}
{% UIToolbarSpacer Standard {} %}
{% UIForm Standard {'CSSClasses':['form-inline']} %}
{% UIButton ForPrimaryAction {'sId':'do-update', 'sLabel':'iTopUpdate:UI:DoUpdate'|dict_s, 'bIsSubmit':true} %}
{% UIInput ForHidden {'sName':'operation', 'sValue':'UpdateCoreFiles'} %}
@@ -43,7 +43,7 @@
{% UIInput ForHidden {'sName':'doBackup', 'sValue':bDoBackup} %}
{% UIInput ForHidden {'sName':'doFilesArchive', 'sValue':bDoFilesArchive} %}
{% EndUIForm %}
{% EndUIContentBlock %}
{% EndUIToolbar %}
{% EndUIFieldSet %}

View File

@@ -56,21 +56,21 @@
{% EndUIContentBlock %}
{% EndUIAlert %}
{% UIContentBlock Standard {'aContainerClasses':['upload_container']} %}
{% UIInput Standard {'sType':'file', 'sId':'file', 'sName':'file', 'sValue':''} %}
{% EndUIContentBlock %}
{% UIFileSelect Standard {sName: 'file', sId: 'file'} %}
{% UIAlert ForWarning {'sId':'dobackup-warning', 'IsHidden':true} %}
{{ 'iTopUpdate:UI:DoBackup:Warning'|dict_s }}
{% EndUIAlert %}
{% UIField Standard {'sLabel':'iTopUpdate:UI:DoBackup:Label'|dict_s, 'sLayout':'large'} %}
{% UIContentBlock Standard {'aContainerClasses':['ibo-font-ral-nor-150']} %}
{% UIInput Standard {'sType':'checkbox', 'sId':'doBackup', 'sName':'doBackup', 'sValue':'1', 'IsChecked':true} %}
{% EndUIField %}
{{ 'iTopUpdate:UI:DoBackup:Label'|dict_s }}
{% EndUIContentBlock %}
{% UIField Standard {'sLabel':'iTopUpdate:UI:DoFilesArchive'|dict_s, 'sLayout':'large'} %}
{% UIContentBlock Standard {'aContainerClasses':['ibo-font-ral-nor-150']} %}
{% UIInput Standard {'sType':'checkbox', 'sId':'doFilesArchive', 'sName':'doFilesArchive', 'sValue':'1', 'IsChecked':true} %}
{% EndUIField %}
{{ 'iTopUpdate:UI:DoFilesArchive'|dict_s }}
{% EndUIContentBlock %}
{% UIContentBlock Standard {'aContainerClasses':['ibo_check_update_submit']} %}
{% UIButton ForPrimaryAction {'sLabel':'iTopUpdate:UI:CheckUpdate'|dict_s, 'sId':'check-update', 'bIsSubmit':true, 'IsDisabled':true} %}