prepare public api

This commit is contained in:
j 2019-01-17 16:00:22 +05:30
commit dd0e22a979
18 changed files with 237 additions and 94 deletions

View file

@ -25,12 +25,13 @@ oml.ui.appDialog = function() {
title: Ox._('Software Development'),
selected: ui.page == 'development'
},
].concat(oml.readOnly ? [] : [
{
id: 'contact',
title: Ox._('Send Feedback'),
selected: ui.page == 'contact'
}
],
]),
$panel = Ox.TabPanel({
content: function(id) {
@ -95,7 +96,7 @@ oml.ui.appDialog = function() {
}),
that = Ox.Dialog({
buttons: [
buttons: (oml.readOnly ? [] : [
Ox.Button({
id: 'update',
style: 'squared',
@ -106,6 +107,7 @@ oml.ui.appDialog = function() {
oml.UI.set({page: 'update'});
}
}),
]).concat([
{},
Ox.Button({
id: 'close',
@ -116,7 +118,7 @@ oml.ui.appDialog = function() {
that.close();
}
})
],
]),
closeButton: true,
content: $panel,
fixedSize: true,