This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
<style> | |
body { | |
position: absolute; | |
right: 100px; | |
height: 600px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SC.page = SC.Page.create({ | |
size: { width: 800, height: 600 }, | |
marginInset: SC.View.create({ | |
outlets: ['projectNameLabel','appProjectDirLabel','projectAppsScroller','appNameLabel','appDirLabel','appFilesScroller'], | |
layout: { x: 0, y: 0, width: 800, height: 600 }, | |
projectNameLabel: SC.LabelView.create({ | |
valueBinding: 'SC.IDE.projectController.name', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SC.AUTORESIZE_BORDERS = 'borders'; | |
SC.AUTORESIZE_WIDTH = 'width'; | |
SC.AUTORESIZE_RIGHT = 'right'; | |
SC.AUTORESIZE_LEFT = 'left'; | |
SC.AUTORESIZE_HEIGHT = 'height'; | |
SC.AUTORESIZE_TOP = 'top'; | |
SC.AUTORESIZE_BOTTOM = 'bottom'; | |
SC.AUTORESIZE_WIDTH_HEIGHT = 'width+height'; | |
SC.AUTORESIZE_WIDTH_TOP = 'width+top'; | |
SC.AUTORESIZE_WIDTH_BOTTOM = 'width+bottom'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ========================================================================== | |
// myApp.MainMenuController | |
// ========================================================================== | |
require('core'); | |
/** @class | |
(Document Your View Here) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ========================================================================== | |
// myApp.MainMenuController | |
// ========================================================================== | |
require('core'); | |
/** @class | |
(Document Your View Here) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SC.page = SC.Page.create({ | |
layoutSize: { width: 800, height: 600 }, // the size we used to position everything statically... | |
marginInset: SC.View.create({ | |
outlets: ['projectNameLabel','appProjectDirLabel','projectAppsScroller','appNameLabel','appDirLabel','appFilesScroller'], | |
autoresize: SC.AUTORESIZE_WIDTH_HEIGHT, | |
layout: { x: 0, y: 0, width: 400, height: 300 }, | |
projectNameLabel: SC.LabelView.create({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SC.AUTORESIZE_BORDERS = 'borders'; | |
SC.AUTORESIZE_WIDTH = 'width'; | |
SC.AUTORESIZE_RIGHT = 'right'; | |
SC.AUTORESIZE_LEFT = 'left'; | |
SC.AUTORESIZE_HEIGHT = 'height'; | |
SC.AUTORESIZE_TOP = 'top'; | |
SC.AUTORESIZE_BOTTOM = 'bottom'; | |
SC.AUTORESIZE_WIDTH_HEIGHT = 'width+height'; | |
SC.AUTORESIZE_WIDTH_TOP = 'width+top'; | |
SC.AUTORESIZE_WIDTH_BOTTOM = 'width+bottom'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% # SPROUTCORE DEFAULT INDEX TEMPLATE | |
# This template provide provides a basic wrapper for a SproutCore client. | |
# Most of the time, it will be sufficient for your own needs. However, if | |
# you need to create your own template, you can do so by copying this file | |
# into your client, naming it 'index.rhtml' and then adding the options | |
# :index => 'index' to your client declaration in routes.rb. | |
# | |
# See the comments in this file for more information on what you can | |
# change. | |
-%> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--============================================================================== | |
Filename: {REDBULL_DIR}/english.lproj/body.rhtml | |
Authors: Erich Ocean ([email protected]) | |
Changed: $Version$ | |
Since: $Version$ | |
Copyright: Copyright (c) 2008 Erich Atlas Ocean All rights reserved. | |
License: The license terms for this client are contained in: | |
{REDBULL_DIR}/license.js | |
==============================================================================--> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isFlashVisible: NO, | |
_isFlashVisible: NO, // for animation | |
isFlashVisibleBinding: 'OI.flashController.firstMessage', | |
isFlashVisibleBindingDefault: SC.Binding.Bool, | |
isFlashVisibleObserver: function () { | |
if (this.isFlashVisible != this._isFlashVisible && !this._wrapperAnimation) { | |
this._wrapperAnimation = Animator.apply( SC.page.get('wrapper').rootElement, "top: 0px;", { duration: 200 }); | |
} |