Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Commit

Permalink
My initial RC1 commit for this App
Browse files Browse the repository at this point in the history
  • Loading branch information
John Ouellet committed Apr 29, 2014
1 parent 2b5b9ce commit 86894ff
Show file tree
Hide file tree
Showing 22 changed files with 1,663 additions and 3 deletions.
Empty file added CHANGELOG.md
Empty file.
Empty file added CONTRIBUTING.md
Empty file.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'sass'
339 changes: 339 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
hot_primary_tout
================
Hot PRIMARY TOUT!
==============

Add 1/3 width responsive image FPP, 3 columns with caption
This app is a Fieldable Panel Pane with responsive imaging. This FPP will go 1/3 of the container.

Only thing you need after enabling this app is go to Appearance and scan your default theme for breakpoints.

You can also check to make sure your breakpoints worked here:
admin/config/media/breakpoints

Then all you need to do is just create the FPP. This uses entity so it will just appear in the pane selection above add text or whatever.

NOTE
===================
Make sure you upload the image in the panel pane, otherwise it ownt work

You can also put <none> in the title as well.
14 changes: 14 additions & 0 deletions appmanifest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name = HotBoilerplate!
description = Test App is used to show how apps work
machine_name = hot_boilerplate
version = 0.0.1
downloadable = test_app 1.0
author = Kalamuna LLC
author_url = http://kalamuna.com
screenshots[] = screenshot.png
logo = logo.png
dependencies[views] = views 3.0-beta3
dependencies[ctools] = ctools 1.0-alpha4
downloadables[views 3.0-beta3] = http://ftp.drupal.org/files/projects/views-7.x-3.0-beta3.tar.gz
downloadables[ctools 1.0-alpha4] = http://ftp.drupal.org/files/projects/ctools-7.x-1.0-alpha4.tar.gz
downloadables[test_app 1.0] = http://ftp.drupal.org/files/projects/test_app-7.x-1.0.tar.gz
28 changes: 28 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "hot_boilerplate",
"version": "0.0.0",
"authors": [
"Kalamuna LLC <[email protected]> (http://www.kalamuna.com/)",
"Your name goes here <[email protected]> (http://yoursite.come)"
],
"description": "Kalatheme is designed for people who want to get to work quickly so they can make things happen.",
"main": "",
"moduleType": [
"node"
],
"keywords": [
"Drupal",
"Panopoly"
],
"license": "GPL-2.0",
"homepage": "https://github.com/kalamuna/hot_boilerplate",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
},
}
131 changes: 131 additions & 0 deletions coffeelint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
{
"coffeescript_error": {
"level": "error"
},
"arrow_spacing": {
"name": "arrow_spacing",
"level": "ignore"
},
"no_tabs": {
"name": "no_tabs",
"level": "error"
},
"no_trailing_whitespace": {
"name": "no_trailing_whitespace",
"level": "error",
"allowed_in_comments": false,
"allowed_in_empty_lines": true
},
"max_line_length": {
"name": "max_line_length",
"value": 80,
"level": "ignore",
"limitComments": false
},
"line_endings": {
"name": "line_endings",
"level": "ignore",
"value": "unix"
},
"no_trailing_semicolons": {
"name": "no_trailing_semicolons",
"level": "error"
},
"indentation": {
"name": "indentation",
"value": 2,
"level": "error"
},
"camel_case_classes": {
"name": "camel_case_classes",
"level": "error"
},
"colon_assignment_spacing": {
"name": "colon_assignment_spacing",
"level": "ignore",
"spacing": {
"left": 0,
"right": 0
}
},
"no_implicit_braces": {
"name": "no_implicit_braces",
"level": "ignore",
"strict": true
},
"no_plusplus": {
"name": "no_plusplus",
"level": "ignore"
},
"no_throwing_strings": {
"name": "no_throwing_strings",
"level": "error"
},
"no_backticks": {
"name": "no_backticks",
"level": "error"
},
"no_implicit_parens": {
"name": "no_implicit_parens",
"strict": true,
"level": "ignore"
},
"no_empty_param_list": {
"name": "no_empty_param_list",
"level": "ignore"
},
"no_stand_alone_at": {
"name": "no_stand_alone_at",
"level": "ignore"
},
"space_operators": {
"name": "space_operators",
"level": "ignore"
},
"duplicate_key": {
"name": "duplicate_key",
"level": "error"
},
"empty_constructor_needs_parens": {
"name": "empty_constructor_needs_parens",
"level": "ignore"
},
"cyclomatic_complexity": {
"name": "cyclomatic_complexity",
"value": 10,
"level": "ignore"
},
"newlines_after_classes": {
"name": "newlines_after_classes",
"value": 3,
"level": "ignore"
},
"no_unnecessary_fat_arrows": {
"name": "no_unnecessary_fat_arrows",
"level": "warn"
},
"missing_fat_arrows": {
"name": "missing_fat_arrows",
"level": "ignore"
},
"non_empty_constructor_needs_parens": {
"name": "non_empty_constructor_needs_parens",
"level": "ignore"
},
"no_unnecessary_double_quotes": {
"name": "no_unnecessary_double_quotes",
"level": "ignore"
},
"no_debugger": {
"name": "no_debugger",
"level": "warn"
},
"no_interpolation_in_single_quotes": {
"name": "no_interpolation_in_single_quotes",
"level": "ignore"
},
"no_empty_functions": {
"name": "no_empty_functions",
"level": "ignore"
}
}
33 changes: 33 additions & 0 deletions hot_primary_tout.default_breakpoint_group.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php
/**
* @file
* hot_primary_tout.default_breakpoint_group.inc
*/

/**
* Implements hook_default_breakpoint_group().
*/
function hot_primary_tout_default_breakpoint_group() {
$export = array();

// Breakpoints.
$breakpoints = array();
$breakpoints[] = 'breakpoints.hot_primary_tout_4.screen-xxs';
$breakpoints[] = 'breakpoints.hot_primary_tout_4.screen-xs';
$breakpoints[] = 'breakpoints.hot_primary_tout_4.screen-sm';
$breakpoints[] = 'breakpoints.hot_primary_tout_4.screen-md';
$breakpoints[] = 'breakpoints.hot_primary_tout_4.screen-lg';

// Breakpoint group.
$breakpoint_group = new stdClass();
$breakpoint_group->disabled = FALSE; /* Edit this to true to make a default breakpoint_group disabled initially */
$breakpoint_group->api_version = 1;
$breakpoint_group->machine_name = 'hot_primary_tout_4';
$breakpoint_group->name = 'Picture Third (4/12)';
$breakpoint_group->breakpoints = $breakpoints;
$breakpoint_group->type = 'custom';
$breakpoint_group->overridden = 0;
$export['hot_primary_tout_4'] = $breakpoint_group;

return $export;
}
94 changes: 94 additions & 0 deletions hot_primary_tout.default_breakpoints.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<?php
/**
* @file
* hot_primary_tout.default_breakpoints.inc
*/

/**
* Implements hook_default_breakpoints().
*/
function hot_primary_tout_default_breakpoints() {
$export = array();

$breakpoint = new stdClass();
$breakpoint->disabled = FALSE; /* Edit this to true to make a default breakpoint disabled initially */
$breakpoint->api_version = 1;
$breakpoint->machine_name = 'breakpoints.hot_primary_tout_4.screen-lg';
$breakpoint->name = 'screen-lg';
$breakpoint->breakpoint = '(min-width: 1200px)';
$breakpoint->source = 'hot_primary_tout';
$breakpoint->source_type = 'module';
$breakpoint->status = 1;
$breakpoint->weight = 3;
$breakpoint->multipliers = array(
'1x' => '1x',
'2x' => '2x',
);
$export['breakpoints.hot_primary_tout_4.screen-lg'] = $breakpoint;

$breakpoint = new stdClass();
$breakpoint->disabled = FALSE; /* Edit this to true to make a default breakpoint disabled initially */
$breakpoint->api_version = 1;
$breakpoint->machine_name = 'breakpoints.hot_primary_tout_4.screen-md';
$breakpoint->name = 'screen-md';
$breakpoint->breakpoint = '(min-width: 992px)and (max-width: 1199px)';
$breakpoint->source = 'hot_primary_tout';
$breakpoint->source_type = 'module';
$breakpoint->status = 1;
$breakpoint->weight = 2;
$breakpoint->multipliers = array(
'1x' => '1x',
'2x' => '2x',
);
$export['breakpoints.hot_primary_tout_4.screen-md'] = $breakpoint;

$breakpoint = new stdClass();
$breakpoint->disabled = FALSE; /* Edit this to true to make a default breakpoint disabled initially */
$breakpoint->api_version = 1;
$breakpoint->machine_name = 'breakpoints.hot_primary_tout_4.screen-sm';
$breakpoint->name = 'screen-sm';
$breakpoint->breakpoint = '(min-wdith: 768px) and (max-width: 991px)';
$breakpoint->source = 'hot_primary_tout';
$breakpoint->source_type = 'module';
$breakpoint->status = 1;
$breakpoint->weight = 1;
$breakpoint->multipliers = array(
'1x' => '1x',
'2x' => '2x',
);
$export['breakpoints.hot_primary_tout_4.screen-sm'] = $breakpoint;

$breakpoint = new stdClass();
$breakpoint->disabled = FALSE; /* Edit this to true to make a default breakpoint disabled initially */
$breakpoint->api_version = 1;
$breakpoint->machine_name = 'breakpoints.hot_primary_tout_4.screen-xs';
$breakpoint->name = 'screen-xs';
$breakpoint->breakpoint = '(min-width: 480px)and (max-width: 767px)';
$breakpoint->source = 'hot_primary_tout';
$breakpoint->source_type = 'module';
$breakpoint->status = 1;
$breakpoint->weight = 0;
$breakpoint->multipliers = array(
'1x' => '1x',
'2x' => '2x',
);
$export['breakpoints.hot_primary_tout_4.screen-xs'] = $breakpoint;

$breakpoint = new stdClass();
$breakpoint->disabled = FALSE; /* Edit this to true to make a default breakpoint disabled initially */
$breakpoint->api_version = 1;
$breakpoint->machine_name = 'breakpoints.hot_primary_tout_4.screen-xxs';
$breakpoint->name = 'screen-xxs';
$breakpoint->breakpoint = '(max-width: 479px)';
$breakpoint->source = 'hot_primary_tout';
$breakpoint->source_type = 'module';
$breakpoint->status = 1;
$breakpoint->weight = 0;
$breakpoint->multipliers = array(
'1x' => '1x',
'2x' => '2x',
);
$export['breakpoints.hot_primary_tout_4.screen-xxs'] = $breakpoint;

return $export;
}
43 changes: 43 additions & 0 deletions hot_primary_tout.default_picture_mapping.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php
/**
* @file
* kalapicture.default_picture_mapping.inc
*/

/**
* Implements hook_default_picture_mapping().
*/
function hot_primary_tout_default_picture_mapping() {
$export = array();

$picture_mapping = new stdClass();
$picture_mapping->disabled = FALSE; /* Edit this to true to make a default picture_mapping disabled initially */
$picture_mapping->api_version = 1;
$picture_mapping->machine_name = 'hot_primary_tout_4';
$picture_mapping->breakpoint_group = 'hot_primary_tout_4';
$picture_mapping->mapping = array(
'breakpoints.kalapicture.screen-xxs' => array(
'1x' => 'hot_primary_tout_4_breakpoints_screen-xxs_1x',
'2x' => 'hot_primary_tout_4_breakpoints_screen-xxs_2x',
),
'breakpoints.kalapicture.screen-xs' => array(
'1x' => 'hot_primary_tout_4_breakpoints_screen-xs_1x',
'2x' => 'hot_primary_tout_4_breakpoints_screen-xs_2x',
),
'breakpoints.kalapicture.screen-sm' => array(
'1x' => 'hot_primary_tout_4_breakpoints_screen-sm_1x',
'2x' => 'hot_primary_tout_4_breakpoints_screen-sm_2x',
),
'breakpoints.kalapicture.screen-md' => array(
'1x' => 'hot_primary_tout_4_breakpoints_screen-md_1x',
'2x' => 'hot_primary_tout_4_breakpoints_screen-md_2x',
),
'breakpoints.kalapicture.screen-lg' => array(
'1x' => 'hot_primary_tout_4_breakpoints_screen-lg_1x',
'2x' => 'hot_primary_tout_4_breakpoints_screen-lg_2x',
),
);
$export['hot_primary_tout_4'] = $picture_mapping;

return $export;
}
Loading

0 comments on commit 86894ff

Please sign in to comment.