From 244055db394e93a3b33980973ed248cbda3c0656 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 11 Oct 2011 16:30:06 +0000 Subject: [PATCH] some more data dialog updates --- static/js/pandora/ui/eventsDialog.js | 9 +++++++++ static/js/pandora/ui/namesDialog.js | 13 +++++++++++-- static/js/pandora/ui/placesDialog.js | 9 +++++++++ static/js/pandora/ui/titlesDialog.js | 13 +++++++++++-- 4 files changed, 40 insertions(+), 4 deletions(-) diff --git a/static/js/pandora/ui/eventsDialog.js b/static/js/pandora/ui/eventsDialog.js index 3c268db0..449696e2 100644 --- a/static/js/pandora/ui/eventsDialog.js +++ b/static/js/pandora/ui/eventsDialog.js @@ -5,6 +5,15 @@ pandora.ui.eventsDialog = function() { width = Math.round(window.innerWidth * 0.9), that = Ox.Dialog({ buttons: [ + Ox.Button({ + id: 'managePlaces', + title: 'Manage Places...' + }).bindEvent({ + click: function() { + // ... + } + }), + {}, Ox.Button({ id: 'done', title: 'Done' diff --git a/static/js/pandora/ui/namesDialog.js b/static/js/pandora/ui/namesDialog.js index ee7cbc1b..f1bf05ca 100644 --- a/static/js/pandora/ui/namesDialog.js +++ b/static/js/pandora/ui/namesDialog.js @@ -90,6 +90,15 @@ pandora.ui.namesDialog = function() { that = Ox.Dialog({ buttons: [ + Ox.Button({ + id: 'manageTitles', + title: 'Manage Titles...' + }).bindEvent({ + click: function() { + // ... + } + }), + {}, Ox.Button({ id: 'done', title: 'Done' @@ -129,8 +138,8 @@ pandora.ui.namesDialog = function() { .css({ position: 'absolute', top: '4px', - left: '64px', - right: '64px', + left: '128px', + right: '128px', bottom: '4px', paddingTop: '2px', fontSize: '9px', diff --git a/static/js/pandora/ui/placesDialog.js b/static/js/pandora/ui/placesDialog.js index 9f717d28..64e67737 100644 --- a/static/js/pandora/ui/placesDialog.js +++ b/static/js/pandora/ui/placesDialog.js @@ -33,6 +33,15 @@ pandora.ui.placesDialog = function() { }), that = Ox.Dialog({ buttons: [ + Ox.Button({ + id: 'manageEvents', + title: 'Manage Events...' + }).bindEvent({ + click: function() { + // ... + } + }), + {}, Ox.Button({ id: 'done', title: 'Done' diff --git a/static/js/pandora/ui/titlesDialog.js b/static/js/pandora/ui/titlesDialog.js index e5008173..24a8b343 100644 --- a/static/js/pandora/ui/titlesDialog.js +++ b/static/js/pandora/ui/titlesDialog.js @@ -81,6 +81,15 @@ pandora.ui.titlesDialog = function() { that = Ox.Dialog({ buttons: [ + Ox.Button({ + id: 'manageNames', + title: 'Manage Names...' + }).bindEvent({ + click: function() { + // ... + } + }), + {}, Ox.Button({ id: 'done', title: 'Done' @@ -120,8 +129,8 @@ pandora.ui.titlesDialog = function() { .css({ position: 'absolute', top: '4px', - left: '64px', - right: '64px', + left: '128px', + right: '128px', bottom: '4px', paddingTop: '2px', fontSize: '9px',