update welcome dialog
This commit is contained in:
parent
0174c9772b
commit
eb87f56ede
2 changed files with 12 additions and 0 deletions
|
@ -26,6 +26,7 @@ oml.ui.appPanel = function() {
|
|||
|
||||
function setPage(page, previousPage) {
|
||||
var dialogs = {
|
||||
welcomeDialog: ['welcome'],
|
||||
appDialog: ['about', 'faq', 'terms', 'development', 'contact'],
|
||||
updateDialog: ['update'],
|
||||
userDialog: ['preferences', 'peers', 'transfers'],
|
||||
|
|
|
@ -4,6 +4,17 @@ oml.ui.welcomeDialog = function() {
|
|||
|
||||
var that = oml.ui.iconDialog({
|
||||
buttons: [
|
||||
Ox.Button({
|
||||
id: 'preferences',
|
||||
style: 'squared',
|
||||
title: Ox._('Preferences...')
|
||||
})
|
||||
.bindEvent({
|
||||
click: function() {
|
||||
oml.UI.set({page: 'preferences'});
|
||||
}
|
||||
}),
|
||||
{},
|
||||
Ox.Button({
|
||||
id: 'close',
|
||||
style: 'squared',
|
||||
|
|
Loading…
Reference in a new issue