separate foodcourt module
This commit is contained in:
20
app/views/foodcourt/second_display/index.html.erb
Normal file
20
app/views/foodcourt/second_display/index.html.erb
Normal file
@@ -0,0 +1,20 @@
|
||||
<div class="container-fluid" style="margin-top:-65px;">
|
||||
<button type="button" class="hidden" id="s_reload">Reload</button>
|
||||
<div class="slider" id="second_display_slider">
|
||||
<%= render 'slider' %>
|
||||
</div>
|
||||
|
||||
<div class="item hidden" id="second_display_items">
|
||||
<%= render 'second_display' %>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
//html font-size for second display till 35px!
|
||||
// document.getElementsByTagName( "html" )[0].style[ "font-size" ] = "35px";
|
||||
|
||||
$('#s_reload').on('click', function () {
|
||||
window.location.href = '/foodcourt/second_display';
|
||||
});
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user