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
| Ext.define('Workout.model.Workout', { | |
| extend : 'Ext.data.Model', | |
| config : { | |
| fields : [ | |
| { | |
| name : 'name', | |
| type : 'string' | |
| } | |
| ] | |
| } |
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
| { | |
| workouts: [ | |
| { name: 'Back / Biceps' }, | |
| { name: 'Chest / Triceps' }, | |
| { name: 'Shoulders' }, | |
| { name: 'Legs' }, | |
| { name: 'Abs' } | |
| ] | |
| } |
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
| Ext.define('Workout.view.Workouts', { | |
| extend : 'Ext.Container', | |
| xtype : 'workouts', | |
| config : { | |
| title : 'Select Workout', | |
| styleHtmlContent : true, | |
| scrollable : { | |
| direction : 'vertical', | |
| directionLock : true | |
| }, |
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
| Ext.define('Workout.controller.Main', { | |
| extend : 'Ext.app.Controller', | |
| config : { | |
| models: [ | |
| 'Workout' | |
| ], | |
| stores: [ | |
| 'Workouts' | |
| ], | |
| views: [ |
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
| { | |
| workouts: [ | |
| { | |
| name: 'Back / Biceps' | |
| exercises: [ | |
| { | |
| { name: 'Exercise #1' }, | |
| { name: 'Exercise #2' }, | |
| { name: 'Exercise #3' }, | |
| } |
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
| .contact-preference-1 { | |
| padding-left: 20px; | |
| background-image: url(../images/icons/accept.png); | |
| background-position: 0px 1px; | |
| background-repeat: no-repeat; | |
| text-transform: uppercase; | |
| } | |
| .contact-preference-2 { | |
| padding-left: 20px; |
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
| @each $option in 1, 2, 3, 4, 5 { | |
| .email-preference-#{$option} { | |
| background-position: 0px 1px; | |
| background-repeat: no-repeat; | |
| padding-left: 20px; | |
| @if ($option == 1) { } | |
| @else if ($option == 2) { background-image: url(../images/icons/exclamation.png); } | |
| @else if ($option == 3) { background-image: url(../images/icons/flag_yellow.png); } | |
| @else if ($option == 4) { background-image: url(../images/icons/exclamation.png); } | |
| @else if ($option == 5) { background-image: url(../images/icons/flag_yellow.png); } |
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
| <?php | |
| /** | |
| * The base configurations of the WordPress. | |
| * | |
| * This file has the following configurations: MySQL settings, Table Prefix, | |
| * Secret Keys, WordPress Language, and ABSPATH. You can find more information | |
| * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing | |
| * wp-config.php} Codex page. You can get the MySQL settings from your web host. | |
| * | |
| * This file is used by the wp-config.php creation script during the |
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
| $keywords = "HTML5 Development, Mobile Web Consulting, Sencha"; | |
| $description = "We help large organizations bring innovative products to market."; | |
| $canonical = "http://moduscreate.com"; | |
| $openGraph = array( | |
| (object)array("name" => "og:type", "value" => "website"), | |
| (object)array("name" => "og:image", "value" => "http://moduscreate.com/images/logo-notext.png"), | |
| ); | |
| get_header(); //the Header |
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
| .icons { | |
| width: 100%; | |
| display: inline-block; | |
| text-align: center; | |
| .edit-icon { | |
| background: url(../images/icons/edit.png) no-repeat; | |
| height: $iconHeight; | |
| width: $iconWidth; | |
| cursor: $iconCursor; |