2016-09-11 23:26:00 +00:00
|
|
|
doctype html
|
|
|
|
html
|
|
|
|
head
|
|
|
|
meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"
|
|
|
|
meta charset="utf-8"
|
|
|
|
meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport"
|
|
|
|
|
2016-09-23 21:51:01 +00:00
|
|
|
link href="/favicon.png" rel="icon" type="image/png"
|
|
|
|
link href="/favicon.ico" rel="icon"
|
|
|
|
|
2016-09-11 23:26:00 +00:00
|
|
|
title = current_page.data.title || "InSpec"
|
|
|
|
|
|
|
|
link href='//fonts.googleapis.com/css?family=Lato:300,400' rel='stylesheet' type='text/css'
|
2016-09-23 13:26:22 +00:00
|
|
|
link rel='stylesheet' type='text/css' href='css/inspec_tutorial.css'
|
2016-09-11 23:26:00 +00:00
|
|
|
|
|
|
|
== stylesheet_link_tag :site
|
|
|
|
|
|
|
|
body class="#{page_classes}"
|
2016-09-21 00:11:41 +00:00
|
|
|
.container
|
|
|
|
= partial "layouts/nav"
|
2016-09-11 23:26:00 +00:00
|
|
|
|
2016-09-21 00:11:41 +00:00
|
|
|
main#main-content
|
|
|
|
== yield
|
|
|
|
|
|
|
|
= partial "layouts/footer"
|
2016-09-19 18:04:51 +00:00
|
|
|
|
2016-09-23 13:26:22 +00:00
|
|
|
script src='scripts/inspec_tutorial.js'
|
|
|
|
script src='dist/inspec_tutorial.js'
|
|
|
|
div inspec-tutorial="true" class="inspec-tutorial" hidden="true"
|
|
|
|
= "Loading"
|
|
|
|
|
2016-09-19 18:04:51 +00:00
|
|
|
== javascript_include_tag "all"
|
|
|
|
javascript:
|
|
|
|
$(document).foundation();
|
2016-09-23 13:26:22 +00:00
|
|
|
$('.try-demo').click(function(event){
|
|
|
|
event.stopPropagation();
|
|
|
|
$('.inspec-tutorial').show()
|
|
|
|
$('.quit-inspec-tutorial').click(function(event){
|
|
|
|
event.stopPropagation();
|
|
|
|
$('.inspec-tutorial').hide()
|
|
|
|
})
|
|
|
|
});
|