Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created December 7, 2012 21:35
Show Gist options
  • Select an option

  • Save objectivehtml/4236727 to your computer and use it in GitHub Desktop.

Select an option

Save objectivehtml/4236727 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width" />
<title>Dashboard</title>
<script src='http://lapeninsula.dev/assets/addons/requirejs/javascript/require.js' type='text/javascript'></script>
<meta name="description" content="">
<!-- <meta name="google-site-verification" content="" /> -->
<!-- Included CSS Files (Uncompressed) -->
<!--
<link rel="stylesheet" href="stylesheets/foundation.css">
-->
<!-- Included CSS Files (Compressed) -->
<link rel="stylesheet" href="/assets/css/foundation.css">
<link rel="stylesheet" href="/assets/css/font-awesome.css">
<link rel="stylesheet" href="/assets/css/jquery.responsiveSlider.css">
<link rel="stylesheet" href="/assets/css/app.css">
<script type="text/javascript">
require.config({
baseUrl: 'http://lapeninsula.dev/assets/addons/',
paths: {
'URL_THIRD_THEMES' : 'http://lapeninsula.dev/assets/addons/',
'css' : 'http://lapeninsula.dev/assets/addons/requirejs/javascript/plugins/css/css.min',
'text' : 'http://lapeninsula.dev/assets/addons/requirejs/javascript/plugins/text/text',
'jquery' : 'http://lapeninsula.dev/themes/javascript/compressed/jquery/jquery'
},
shim: {
}
});
</script>
</head>
<body class="dashboard">
<!-- unrelated site code has be removed from here -->
<!-- IE Fix for HTML5 Tags -->
<!--[if lt IE 8]>
<link rel="stylesheet" href="/assets/css/font-awesome-ie7.css">
<![endif]-->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- New Event Form -->
<script type="text/javascript" charset="utf-8">// <![CDATA[
if (typeof EE == "undefined" || ! EE) {
var EE = {"BASE":"http:\/\/lapeninsula.dev\/?","THEME_URL":"http:\/\/lapeninsula.dev\/themes\/cp_themes\/default\/","PATH_CP_GBL_IMG":"http:\/\/lapeninsula.dev\/themes\/cp_global_images\/","filebrowser":{"endpoint_url":"ACT=8","window_title":"File Manager","theme_url":"http:\/\/lapeninsula.dev\/themes\/cp_themes\/default\/"},"fileuploader":{"window_title":"File Upload","delete_url":"C=content_files&M=delete_files"},"lang":{"or":"or","resize_image":"Resize Image","return_to_publish":"Return to Publish","confirm_exit":"When you leave, any data entered will be lost. Are you sure you want to leave?","add_new_html_button":"Add New HTML button"},"publish":{"show_write_mode":true,"title_focus":true,"smileys":false},"user_id":1,"XID":"51520f0717f34a7b482543af68061ec473200d89"};}
mySettings = {"nameSpace":"html","onShiftEnter":{"keepDefault":false,"replaceWith":"<br \/>\n"},"onCtrlEnter":{"keepDefault":false,"openWith":"\n<p>","closeWith":"<\/p>\n"},"markupSet":[{"name":"b","key":"B","openWith":"<strong>","closeWith":"<\/strong>","className":"btn_b"},{"name":"i","key":"I","openWith":"<em>","closeWith":"<\/em>","className":"btn_i"},{"name":"blockquote","key":"Q","openWith":"<blockquote>","closeWith":"<\/blockquote>","className":"btn_blockquote"},{"name":"a","key":"A","openWith":"<a href=\"[![Link:!:http:\/\/]!]\"(!( title=\"[![Title]!]\")!)>","closeWith":"<\/a>","className":"btn_a"},{"name":"img","key":"","replaceWith":"","className":"btn_img"}]};
myWritemodeSettings = {"nameSpace":"html","onShiftEnter":{"keepDefault":false,"replaceWith":"<br \/>\n"},"onCtrlEnter":{"keepDefault":false,"openWith":"\n<p>","closeWith":"<\/p>\n"},"markupSet":[{"name":"b","key":"B","openWith":"<strong>","closeWith":"<\/strong>","className":"btn_b"},{"name":"i","key":"I","openWith":"<em>","closeWith":"<\/em>","className":"btn_i"},{"name":"blockquote","key":"Q","openWith":"<blockquote>","closeWith":"<\/blockquote>","className":"btn_blockquote"},{"name":"a","key":"A","openWith":"<a href=\"[![Link:!:http:\/\/]!]\"(!( title=\"[![Title]!]\")!)>","closeWith":"<\/a>","className":"btn_a"},{"name":"img","key":"","replaceWith":"","className":"btn_img"}],"onTab":{"keepDefault":false,"replaceWith":"\t"}};
// ]]>
</script><script type="text/javascript" charset="utf-8" src="http://lapeninsula.dev/?ACT=6&ui=core,widget,mouse,position,draggable,resizable,button,dialog,datepicker&plugin=scrollable,scrollable.navigator,markitup,thickbox,toolbox.expose,overlay,tmpl&v=1347324108&use_live_url=y"></script>
<link type="text/css" href="http://lapeninsula.dev/assets/addons/showtimes/css/showtimes.css" rel="stylesheet" media="screen" />
<link type="text/css" href="http://lapeninsula.dev/assets/addons/showtimes/css/aristo/aristo.css" rel="stylesheet" media="screen" />
<link type="text/css" href="http://lapeninsula.dev/assets/addons/showtimes/css/fullcalendar.css" rel="stylesheet" media="screen" />
<link type="text/css" href="http://lapeninsula.dev/assets/addons/showtimes/css/jquery.qtip.css" rel="stylesheet" media="screen" />
<script type="text/javascript" charset="utf-8">
// <![CDATA[
$(document).ready(function() {
if (typeof SafeCracker == "undefined" || ! SafeCracker) { var SafeCracker = {markItUpFields:{}};}
$.datepicker.setDefaults({dateFormat:$.datepicker.W3C+EE.date_obj_time});
$.datepicker.setDefaults({defaultDate: new Date(1354915987000)});});
// ]]>
</script>
<style type="text/css">.hasDatepicker{background:#fff url(http://lapeninsula.dev/themes/cp_themes/default/images/calendar_bg.gif) no-repeat 98% 2px;background-repeat:no-repeat;background-position:99%;}</style><script type="text/javascript">
$.createDatepickerTime=function(){
date = new Date();
hours = date.getHours();
minutes = date.getMinutes();
suffix = "";
format = "us";
if (minutes < 10) {
minutes = "0" + minutes;
}
if (format == "us") {
if (hours > 12) {
hours -= 12;
suffix = " PM";
} else if (hours == 12) {
suffix = " PM";
} else {
suffix = " AM";
}
}
return " '" + hours + ":" + minutes + suffix + "'";
}
EE.date_obj_time = $.createDatepickerTime();
</script>
<script type="text/javascript">
var src = [
'jquery',
'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js',
'/assets/js/libs/modernizr.foundation.js',
'/assets/js/libs/jquery.foundation.reveal.js',
'/assets/js/libs/jquery.responsiveSlider.js',
'/assets/js/app.js'
];
require(src);
</script>
<script type="text/javascript">
//JS Scripts
require(['showtimes/javascript/showtimes', 'showtimes/javascript/jquery.qtip', 'showtimes/javascript/fullcalendar.min'], function() {
$(document).ready(function() {
var meta = {"field_id":"43","field_name":"event_times","required":false};
meta.showtimes = [];
meta.unsaved_showtimes = [];
var obj = new Showtimes($("#event_times_wrapper"), meta);
Showtimes.instances.push(obj);
});
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment