add software blurb

This commit is contained in:
rolux 2011-11-08 13:09:21 +00:00
parent 4a4a8c7ed9
commit 956854d5bc
1 changed files with 13 additions and 2 deletions

View File

@ -13,8 +13,19 @@ pandora.ui.siteDialog = function(section) {
var $tabPanel = Ox.TabPanel({
content: function(id) {
var $content = Ox.Element().css({padding: '16px', overflowY: 'auto'});
if (id == 'contact') {
$content.append(pandora.$ui.contactForm = pandora.ui.contactForm());
if (id == 'software') {
Ox.Element()
.html(
'<h1><b>Pan.do/ra</b></h1>'
+ '<sub>open media archive</sub>'
+ '<p><b>' + pandora.site.site.name + '</b> is based on <b>Pan.do/ra</b>, '
+ 'a free open source framework for media archives.</p>'
+ '<b>Pan.do/ra</b> includes <b>OxJS</b>, a new JavaScript library for web applications.</p>'
+ '<p><b>Pan.do/ra</b> and <b>OxJS</b> will be released in 2012. More soon...</p>'
)
.appendTo($content);
} else if (id == 'contact') {
pandora.$ui.contactForm = pandora.ui.contactForm().appendTo($content);
} else {
pandora.api.getPage({name: id}, function(result) {
Ox.Editable({