update welcome dialog

This commit is contained in:
rlx 2016-01-13 13:54:44 +05:30
parent 0174c9772b
commit eb87f56ede
2 changed files with 12 additions and 0 deletions

View file

@ -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'],

View file

@ -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',