add software blurb
This commit is contained in:
parent
4a4a8c7ed9
commit
956854d5bc
1 changed files with 13 additions and 2 deletions
|
@ -13,8 +13,19 @@ pandora.ui.siteDialog = function(section) {
|
||||||
var $tabPanel = Ox.TabPanel({
|
var $tabPanel = Ox.TabPanel({
|
||||||
content: function(id) {
|
content: function(id) {
|
||||||
var $content = Ox.Element().css({padding: '16px', overflowY: 'auto'});
|
var $content = Ox.Element().css({padding: '16px', overflowY: 'auto'});
|
||||||
if (id == 'contact') {
|
if (id == 'software') {
|
||||||
$content.append(pandora.$ui.contactForm = pandora.ui.contactForm());
|
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 {
|
} else {
|
||||||
pandora.api.getPage({name: id}, function(result) {
|
pandora.api.getPage({name: id}, function(result) {
|
||||||
Ox.Editable({
|
Ox.Editable({
|
||||||
|
|
Loading…
Reference in a new issue