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
// ======================== | |
// = Admin Area Functions = | |
// ======================== | |
require_once(TEMPLATEPATH . '/help_page.php'); | |
// After Registration Redirect | |
function __my_registration_redirect() | |
{ | |
return home_url( '/thank-you-for-registering' ); |
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
var nextimage = "/images/some-image.jpg"; | |
$(function(){ | |
window.setTimeout(function(){ | |
var img = $("<img>").attr("src", nextimage).load(function(){ | |
//all done | |
}); | |
}, 100); | |
}); |
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
$('a[href^="#"]').bind('click.smoothscroll',function (e) { | |
e.preventDefault(); | |
var anchor = this.hash, | |
$target = $(target); | |
$('html, body').stop().animate({ | |
'scrollTop': $target.offset().top | |
}, 500, 'swing', function () { | |
window.location.hash = anchor; |
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
{ | |
"auto_complete": false, | |
"caret_style": "phase", | |
"close_windows_when_empty": false, | |
"color_scheme": "Packages/Dracula Color Scheme/Dracula.tmTheme", | |
"find_select_text": true, | |
"fold_buttons": true, | |
"folder_exclude_patterns": | |
[ | |
".svn", |
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
# Note that while this file is in our config folder, it is | |
# symlinked to our site folders, so paths are relative from there | |
# Require gems and Compass plugins | |
# General | |
output_style = :compressed | |
relative_assets = true | |
project_path = File.dirname(__FILE__) + '/' | |
# add_import_path project_path + '../all/public/assets/styles/src/' |
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
// Set onclick to 'main' to make it clickable in iOS | |
// Docs: http://goo.gl/dshL9a | |
var main = document.getElementsByTagName('main')[0]; | |
main.addEventListener('click', function() { | |
void(0); | |
}); | |
// iPad dropdowns | |
// use intent to determine whether a user wants to navigate to the page or show menu | |
(function() { |
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
'.source.css.scss': | |
'MX-Component': | |
'prefix': 'component', | |
'body': """ | |
//////////////////////////////////////////////// | |
// | |
// MX Component | |
// Hero Adventurer <hero@mobelux.com> | |
// 10.03.16 @ 10:40am | |
// |
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="file-upload"> | |
<span class="file-upload__file-chosen">No file chosen</span> | |
<input type="file" id="<input_id>" name="<input_id>"> | |
<label class="button bc-green" for="<input_id>">Choose a File</label> | |
</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
<div class="checkbox"> | |
<input type="checkbox" name="builds" id="<input_id>" value="<input_value>"> | |
<label for="<input_id>">TEXT HERE</label> | |
</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
<% content_for :navigation do %> | |
<%= render "shared/primary_nav", locals: {} %> | |
<% end %> | |
<% content_for :market_countdown do %> | |
<%= render "shared/market_countdown", locals: { visibility_class: 'visible'} %> | |
<% end %> | |
<div id="market-order"></div> |