Initial Commit
This commit is contained in:
51
templates/frontOffice/led/index.html
Normal file
51
templates/frontOffice/led/index.html
Normal file
@@ -0,0 +1,51 @@
|
||||
{extends file="layout.tpl"}
|
||||
|
||||
{* Body Class *}
|
||||
{block name="body-class"}page-home{/block}
|
||||
|
||||
{* Page Title *}
|
||||
{block name='no-return-functions' append}
|
||||
{$page_title = {config key="store_name"}}
|
||||
{/block}
|
||||
|
||||
{* Hide breadcrumb *}
|
||||
{block name='breadcrumb'}{/block}
|
||||
|
||||
{* Main content *}
|
||||
{block name="main-content"}
|
||||
{hook name="home.body"}
|
||||
{/block}
|
||||
|
||||
{block name="stylesheet"}
|
||||
{hook name="home.stylesheet"}
|
||||
{/block}
|
||||
|
||||
{block name="after-javascript-include"}
|
||||
{hook name="home.after-javascript-include"}
|
||||
{/block}
|
||||
|
||||
{block name="javascript-initialization"}
|
||||
{hook name="home.javascript-initialization"}
|
||||
{if {slider_revolution_countdown} > 0}
|
||||
<script type="text/javascript" src="{url path="/"}revslider/plugins/countdown/revolution.addon.countdown.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(window).load(function() {
|
||||
var targetdate = 1000 * parseInt("{slider_revolution_countdown}");
|
||||
|
||||
if (targetdate > 0) {
|
||||
/*
|
||||
// choose which slide to show at any given point in time
|
||||
var slidechanges = [
|
||||
{ days: 0, hours: 0, minutes: 0, seconds: 12, slide: 2 },
|
||||
{ days: 0, hours: 0, minutes: 0, seconds: 0, slide: 3 }
|
||||
];
|
||||
*/
|
||||
|
||||
// initalize the countdown
|
||||
tp_countdown(revapi20, targetdate, []);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
{/if}
|
||||
{/block}
|
||||
Reference in New Issue
Block a user