Bit of cleanup

parent 2e020e06
<h1>Grains Conductor</h1>
<div id="bpmPanel" class="bpmPanel"></div>
<!-- <div id="bpmPanel" class="bpmPanel"></div> -->
<div id="sketch"></div>
<div class="row">
<div class="col-md-8">
......
<div class="jumbotron">
<h2>Orient yourself</2>
<h2>Orient yourself</h2>
<p class="lead">
For best results, please enable your phones orientation lock.
</p>
<div class="icon">
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px"
y="0px" viewBox="0 0 100 100" enable-background="new 0 0 100 100"
xml:space="preserve"><path d="M82.304,61.239L96,45.587H84.066C82.102,25.812,65.42,10.37,45.13,10.37C23.519,10.37,6,27.894,6,49.5
c0,21.61,17.519,39.13,39.13,39.13c12.824,0,24.168-6.19,31.304-15.725v-3.84h-2.042C68.07,78.496,57.317,84.717,45.13,84.717
c-19.42,0-35.217-15.793-35.217-35.217c0-19.42,15.797-35.217,35.217-35.217c18.094,0,33.036,13.726,34.988,31.304h-11.51
L82.304,61.239z"/><path d="M56.87,45.587v-7.826c0-6.481-5.254-11.739-11.739-11.739c-6.483,0-11.739,5.258-11.739,11.739v7.826h-3.913v23.479h31.305
V45.587H56.87z
M37.304,37.761c0-4.314,3.512-7.826,7.826-7.826c4.316,0,7.826,3.512,7.826,7.826v7.826H37.304V37.761z"/>
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px"
y="0px" viewBox="0 0 100 100" enable-background="new 0 0 100 100"
xml:space="preserve"><path d="M82.304,61.239L96,45.587H84.066C82.102,25.812,65.42,10.37,45.13,10.37C23.519,10.37,6,27.894,6,49.5
c0,21.61,17.519,39.13,39.13,39.13c12.824,0,24.168-6.19,31.304-15.725v-3.84h-2.042C68.07,78.496,57.317,84.717,45.13,84.717
c-19.42,0-35.217-15.793-35.217-35.217c0-19.42,15.797-35.217,35.217-35.217c18.094,0,33.036,13.726,34.988,31.304h-11.51
L82.304,61.239z"/><path d="M56.87,45.587v-7.826c0-6.481-5.254-11.739-11.739-11.739c-6.483,0-11.739,5.258-11.739,11.739v7.826h-3.913v23.479h31.305
V45.587H56.87z
M37.304,37.761c0-4.314,3.512-7.826,7.826-7.826c4.316,0,7.826,3.512,7.826,7.826v7.826H37.304V37.761z"/>
</svg>
<a href="/play/play" class="btn-success btn-block
play">Play</a>
<p class="small">Icon by Vicons Design from the Noun project</p>
</svg>
<p class="small">Icon by Vicons Design from the Noun project</p>
</div>
</div>
<div>
<a href="/play/play" class="btn-lg btn-success btn-block play">Play</a>
</div>
<h1>Play</h1>
<h1><a href="/play/play">Play</a></h1>
<div id="calibration">
<h2>Calibrating</h2>
......@@ -7,7 +7,6 @@
calibrate sensors</p>
</div>
<div id="svg-container">
<%= if assigns[:user_type] == 0 do %>
<svg xmlns="http://www.w3.org/2000/svg"
......
......@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="">
<title>Hello Grains!</title>
<title>Grains!</title>
<link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
</head>
......
......@@ -12,11 +12,15 @@
</head>
<body data-js-view-name="<%= js_view_name(@conn, @view_template) %>">
<div class="container">
<main role="main">
<div class="play">
<%= render @view_module, @view_template, assigns %>
</div> <!-- /container -->
</main>
</div>
<script>window.userToken = "<%= assigns[:user_token] %>"</script>
<script>window.userType = "<%= assigns[:user_type] %>"</script>
<script>window.userHue = "<%= assigns[:user_hue] %>"</script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment