Skip to content

Instantly share code, notes, and snippets.

@ddd1600
Last active April 12, 2016 20:30
Show Gist options
  • Save ddd1600/201e1f4d41f4f7832598ef526caead0b to your computer and use it in GitHub Desktop.
Save ddd1600/201e1f4d41f4f7832598ef526caead0b to your computer and use it in GitHub Desktop.
gist of code being displayed in browser -- created for stackoverflow question here:
<!DOCTYPE html>
<html>
<head>
<title>Construction Monitor</title>
<link data-turbolinks-track="true" href="/assets/application.css?body=1" media="all" rel="stylesheet" />
<link data-turbolinks-track="true" href="/assets/bootstrap_and_overrides.css?body=1" media="all" rel="stylesheet" />
<link data-turbolinks-track="true" href="/assets/draws.css?body=1" media="all" rel="stylesheet" />
<link data-turbolinks-track="true" href="/assets/property.css?body=1" media="all" rel="stylesheet" />
<script data-turbolinks-track="true" src="/assets/jquery.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/jquery_ujs.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/twitter/bootstrap/transition.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/twitter/bootstrap/alert.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/twitter/bootstrap/modal.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/twitter/bootstrap/dropdown.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/twitter/bootstrap/scrollspy.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/twitter/bootstrap/tab.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/twitter/bootstrap/tooltip.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/twitter/bootstrap/popover.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/twitter/bootstrap/button.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/twitter/bootstrap/collapse.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/twitter/bootstrap/carousel.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/twitter/bootstrap/affix.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/twitter/bootstrap.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/bootstrap.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/draws.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/property.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/chartkick.js?body=1"></script>
<script data-turbolinks-track="true" src="/assets/application.js?body=1"></script>
<script src="//www.google.com/jsapi"></script>
<script src="/assets/chartkick.js?body=1"></script>
<meta content="authenticity_token" name="csrf-param" />
<meta content="REDACTED" name="csrf-token" />
<style>
body {padding-top: 60px; }
</style>
</head>
<body>
<h1>Properties</h1>
<div class="panel panel-default">
<div class="panel-heading"><h3>Jackson Creek Station Hard & Soft Costs Per Draw</h3></div>
<div class="panel-body">
6.98% Change in Construction Contract Estimate from Draw 1 to Draw 13
<div id="chart-1" style="height: 800px; text-align: center; color: #999; line-height: 800px; font-size: 14px; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Arial, Helvetica, sans-serif;">Loading...</div><script type="text/javascript">
new Chartkick.ColumnChart("chart-1", REDACTED, {});
</script>
<div id="chart-2" style="height: 300px; text-align: center; color: #999; line-height: 300px; font-size: 14px; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Arial, Helvetica, sans-serif;">Loading...</div><script type="text/javascript">
new Chartkick.ColumnChart("chart-2", REDACTED, {});
</script>
||
COLLAPSIBLE CODE SECTION \/
<div class="panel panel-default" style="display: block;">
<div class="panel-heading">Soft Costs Per Draw Graph (<a href="#jackson_creek_station_scpd_chart_id" data-toggle='collapse'>Show/Hide</a>) (click twice to hide the first time)</div>
<div class="panel-body collapse" id="jackson_creek_station_scpd_chart_id">
<div id="chart-3" style="height: 300px; text-align: center; color: #999; line-height: 300px; font-size: 14px; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Arial, Helvetica, sans-serif;">Loading...</div><script type="text/javascript">
new Chartkick.ColumnChart("chart-3", REDACTED, {"library":{"xtitle":"Draw #","ytitle":"Soft Cost Draw","width":"800px"}});
</script>
</div>
</div>
SECOND COLLAPSIBLE CODE SECTION REMOVED
</div>
</div>
REMAINING SERIES OF PROPERTIES REMOVED
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment