Skip to content

Instantly share code, notes, and snippets.

View dmackerman's full-sized avatar

Dave Ackerman dmackerman

  • Kentik Technologies - @kentik
  • Tempe, AZ
View GitHub Profile
Ext.define('Workout.model.Workout', {
extend : 'Ext.data.Model',
config : {
fields : [
{
name : 'name',
type : 'string'
}
]
}
{
workouts: [
{ name: 'Back / Biceps' },
{ name: 'Chest / Triceps' },
{ name: 'Shoulders' },
{ name: 'Legs' },
{ name: 'Abs' }
]
}
Ext.define('Workout.view.Workouts', {
extend : 'Ext.Container',
xtype : 'workouts',
config : {
title : 'Select Workout',
styleHtmlContent : true,
scrollable : {
direction : 'vertical',
directionLock : true
},
Ext.define('Workout.controller.Main', {
extend : 'Ext.app.Controller',
config : {
models: [
'Workout'
],
stores: [
'Workouts'
],
views: [
{
workouts: [
{
name: 'Back / Biceps'
exercises: [
{
{ name: 'Exercise #1' },
{ name: 'Exercise #2' },
{ name: 'Exercise #3' },
}
.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;
@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); }
<?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
$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
.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;