Allow scrumblr to run on non-root paths successfully

This commit is contained in:
Tim Toomey 2015-02-08 21:48:15 -08:00
parent 80a3ce4e52
commit 06fb9b155b
11 changed files with 156 additions and 121 deletions

View file

@ -2,7 +2,7 @@ doctype html
html(lang="en")
head
<!-- SCRIPTS -->
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<!-- FONTS -->
<link href='http://fonts.googleapis.com/css?family=Rock+Salt' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Covered+By+Your+Grace' rel='stylesheet' type='text/css'>
@ -56,4 +56,5 @@ body
<script type="text/javascript">function go() {var value = document.forms[0].elements["name"].value; value = escape(value); window.location.href = value; return false;}</script>
<script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-2069672-4']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
- if (locals.ga)
<script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', '#{gaAccount}']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>

View file

@ -12,15 +12,15 @@ block body
div.board-outline
div#board
div#board-doodles
image#marker(src='/images/marker.png')
image#eraser(src='/images/eraser.png')
image#marker(src='images/marker.png')
image#eraser(src='images/eraser.png')
table#board-table.board-table
tr
td#icon-col(width='1%')
image#add-col.col-icon(width='20', height='20', src='/images/icons/iconic/raster/black/plus_alt_32x32.png')
image#delete-col.col-icon(width='20', height='20', src='/images/icons/iconic/raster/black/minus_alt_32x32.png')
image#add-col.col-icon(width='20', height='20', src='images/icons/iconic/raster/black/plus_alt_32x32.png')
image#delete-col.col-icon(width='20', height='20', src='images/icons/iconic/raster/black/minus_alt_32x32.png')
div.buttons
@ -65,4 +65,5 @@ block body
//<div style="width: 980px; height: 450px; border: solid 2px; opacity:.1; margin-top: 100px"> this will be the backlog that only appears on drag or perhaps not at all</div>
<script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-2069672-4']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
- if (locals.ga)
<script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', '#{gaAccount}']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>

View file

@ -5,8 +5,8 @@ html(lang="en")
<!-- STYLES -->
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<link rel="stylesheet" title="cardsize" href="/css/bigcards.css" type="text/css" media="all" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" title="cardsize" href="css/bigcards.css" type="text/css" media="all" />
<!-- FONTS -->
<link href='//fonts.googleapis.com/css?family=Rock+Salt' rel='stylesheet' type='text/css'>
@ -19,15 +19,15 @@ html(lang="en")
<script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
<!-- External Scripts -->
<script src="/lib/jquery.ui.touch-punch.min.js"></script>
<script src="/lib/jquery.jeditable.js"></script>
<script src="/lib/jquery.blockUI.js"></script>
<script src="lib/jquery.ui.touch-punch.min.js"></script>
<script src="lib/jquery.jeditable.js"></script>
<script src="lib/jquery.blockUI.js"></script>
<!-- Socket.IO -->
<script src="/socket.io/socket.io.js"></script>
<script src="socket.io/socket.io.js"></script>
<!-- ** My Script ** -->
<script src="/script.js"></script>
<script src="script.js"></script>
title= locals.pageTitle