Sha256: 6da44404d42a59cfb03596e613f20c703c530925f72d1721572dd094485cea65

Contents?: true

Size: 1.41 KB

Versions: 11

Compression:

Stored size: 1.41 KB

Contents

// ==========================================================================
// Project:   Welcome - mainPage
// Copyright: ©2009 My Company, Inc.
// ==========================================================================
/*globals Welcome */

// This page describes the main user interface for your application.  
Welcome.mainPage = SC.Page.design({

  // The main pane is made visible on screen as soon as your app is loaded.
  // Add childViews to this pane for views to display immediately on page 
  // load.
  mainPane: SC.Panel.design({
    contentView: SC.View.design({
      layout: { width: 400, height: 300, centerX: 0, centerY: 0 },
      childViews: 'labelView scrollView iconView'.w(),
      
      labelView: SC.LabelView.design({
        layout: { left: 20, top: 20, right: 20, height: 18 },
        escapeHTML: NO,
        value: "<strong>Welcome to SproutCore!</strong>  Choose an app to load:"
      }),
      
      scrollView: SC.ScrollView.design({
        layout: { left: 20, top: 42, right: 20, bottom: 60 },
        hasHorizontalScroller: NO,
        
        contentView: SC.ListView.design({  
        })
        
      }),
      
      iconView: SC.View.design({
        layout: { width: 32, centerX: 0, bottom: 20, height: 32 },
        tagName: 'img',
        render: function(context, firstTime) {
          context.attr('src', sc_static('images/sproutcore-logo'));
        }
      })
    }) 
  })

});

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sproutit-sproutcore-1.0.0.20090408130025 frameworks/sproutcore/apps/welcome/english.lproj/main_page.js
sproutit-sproutcore-1.0.0.20090416161445 frameworks/sproutcore/apps/welcome/english.lproj/main_page.js
sproutit-sproutcore-1.0.0.20090720093355 frameworks/sproutcore/apps/welcome/english.lproj/main_page.js
sproutit-sproutcore-1.0.0.20090720202429 frameworks/sproutcore/apps/welcome/english.lproj/main_page.js
sproutit-sproutcore-1.0.0.20090721125122 frameworks/sproutcore/apps/welcome/english.lproj/main_page.js
sproutit-sproutcore-1.0.126 frameworks/sproutcore/apps/welcome/english.lproj/main_page.js
sproutit-sproutcore-1.0.20090721145251 frameworks/sproutcore/apps/welcome/english.lproj/main_page.js
sproutit-sproutcore-1.0.20090721145280 frameworks/sproutcore/apps/welcome/english.lproj/main_page.js
sproutit-sproutcore-1.0.20090721145281 frameworks/sproutcore/apps/welcome/english.lproj/main_page.js
sproutit-sproutcore-1.0.20090721145282 frameworks/sproutcore/apps/welcome/english.lproj/main_page.js
sproutit-sproutcore-1.0.203 frameworks/sproutcore/apps/welcome/english.lproj/main_page.js