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
Authoring = SC.Application.create( | |
store: SC.Store.create().from(SC.Record.fixtures) | |
}) ; |
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_require('views/topbar_view'); | |
Authoring.NewExistingView = SC.PalettePane.create({ | |
firstResponder: 'Authoring.statechart', | |
layout: { width: 455, height: 275, centerX: 0, centerY: 0 }, | |
isModal:YES, | |
theme: "popover", | |
modalPane:SC.ModalPane.extend({classNames:"dark-bg"}), | |
classNames:'new-existing'.w(), | |
childViews:'toolbar'.w(), |
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
body{ | |
background: #2F2F2F; | |
} | |
.horizontal-break { | |
-moz-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0 inset; | |
-webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0 inset; | |
-o-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0 inset; | |
box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0 inset; | |
border-top: 1px solid #121212; |
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
Authoring.Campaign.FIXTURES = [ | |
{ | |
user_id: 2, | |
campaign_id: 1, | |
name: "Pepsi Faceoff Campaign", | |
thumb: 'path/to/image', | |
purchased_hits: 0, | |
current_hits: 0, | |
started: '2010-07-24', |
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
Authoring.ExistingCampaignSelectionView = SC.PalettePane.create({ | |
layout: { | |
width: 465, | |
height: 535, | |
centerX: 0, | |
centerY: 0 | |
}, | |
isModal: YES, | |
theme: "popover", | |
modalPane: SC.ModalPane.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
<?php | |
if(!empty($GLOBALS['social_dialog'])): //Step 4: Ok, was anything generated during that pages/element loop? | |
echo $GLOBALS['social_dialog']; //print out the html string generated if so... | |
endif; | |
?> |
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 | |
$data="12.30 Conservative Policy Forum | |
Manchester Central : Exchange Auditorium | |
CPF Lecture | |
Open to Party members only | |
12.30 Demos in partnership with Pears Foundation | |
Midland Hotel : The French | |
Best Of British: Reflections on patriotism's place in policy |
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
//init new element | |
new joHeaderImg("http://scdev.gizmo.com/images/pepsi_faceoff_bold.png","50","50") |
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
pre { | |
background: #efefef; | |
-webkit-box-shadow: 1px 1px 0 #cfcfcf, | |
2px 2px 0 #cfcfcf, | |
3px 3px 0 #cfcfcf, | |
4px 4px 0 #cfcfcf, | |
5px 5px 0 #cfcfcf; | |
-webkit-transition: all 0.1s linear; | |
padding: 20px; | |
} |
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
new joContainer([ | |
tabContent = new joContainer([ | |
new joTitle("Hello from tab1").setStyle({ | |
display: 'none' | |
}), new joTitle("Hello from tab2").setStyle({ | |
display: 'none' | |
})]), | |
new joFlexrow( |
OlderNewer