This file contains 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
// ========================================================================== | |
// Project: Dragtest - mainPage | |
// Copyright: ©2010 Matthias Loitsch | |
// ========================================================================== | |
/*globals Dragtest */ | |
// This page describes the main user interface for your application. | |
Dragtest.button = SC.ButtonView.extend({ |
This file contains 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
enyo@matbook:client $ ll | |
total 16 | |
-rw-r--r-- 1 enyo staff 295 Mar 3 15:57 Buildfile | |
-rw-r--r-- 1 enyo staff 342 Mar 3 15:58 README | |
drwxr-xr-x 5 enyo staff 204 Mar 7 19:08 apps | |
drwxr-xr-x 2 enyo staff 102 Mar 11 18:36 frameworks | |
drwxr-xr-x 3 enyo staff 102 Mar 11 18:45 tmp | |
enyo@matbook:client $ ll frameworks/ | |
total 8 | |
lrwxr-xr-x 1 enyo staff 46 Mar 11 18:15 sproutcore -> /Volumes/CaseFS/git/enyo-sproutcore/frameworks |
This file contains 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
components: SC.ScrollView.design({ | |
layout: { top: 20, bottom: 10, left: 10, right: 10 }, | |
contentView: SC.ListView.design({ | |
content: [ | |
{ name: 'test' }, | |
{ name: 'test2' }, | |
{ name: 'test3' }, |
This file contains 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
<div class="link even"> | |
<div class="image"> | |
</div> | |
<div class="text"> | |
<a href="">www.google.com</a> | |
<p></p> | |
</div> | |
</div> |
This file contains 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
// The menu: | |
menu: SC.SourceListView.design({ | |
layout: { top: 0, left:0, bottom: 0, width: 250 }, | |
contentValueKey: 'displayName', | |
contentBinding: 'Settings.menuItemsController.arrangedObjects', | |
selectionBinding: 'Settings.menuItemsController.selection', | |
localize: YES, | |
rowHeight: 24, | |
hasContentIcon: YES, | |
contentIconKey: 'icon', |
This file contains 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
content: SC.ContainerView.design({ | |
layout: { left: 250, top: 0, bottom: 0, right: 0 }, | |
nowShowing: 'Settings.BankView' | |
}) | |
This file contains 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
<?php | |
$user = $userDao->get(); | |
$user->username = 'enyo'; | |
$user->find(); // Calls $userDao->find($this) internally | |
$users = $userDao->get(); | |
$users->firstName = 'Matthias'; | |
foreach ($users->findAll() as $user) { /* blabla */ } |
This file contains 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
@view(sc-button-view).main-menu-button { | |
background: none; | |
.sc-button-main-menu-image { | |
width: 40px; | |
height: 40px; | |
display: block; | |
} | |
} |
This file contains 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-theme .sc-view.sc-button-view.main-menu-button { | |
background: none; | |
.sc-button-main-menu-image { | |
width: 40px; | |
height: 40px; | |
display: block; | |
} | |
} |
This file contains 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
# Add initial buildfile information here | |
config :all, :required => [:sproutcore ], :theme => :'inc_theme' | |
config :inventory, :required => [:sproutcore, :"inc" ], :title=>"Inventory" | |
config :settings, :required => [:sproutcore, :"inc" ], :title=>"Settings" | |
# The proxy may needs adaption | |
proxy '/proxy/', :to => "localhost", :url => '/inc-proxy/', :protocol => 'http' |
OlderNewer