Skip to content

Commit

Permalink
fixed assets path
Browse files Browse the repository at this point in the history
  • Loading branch information
onokumus committed Jul 30, 2016
1 parent 6f807ff commit 3242678
Show file tree
Hide file tree
Showing 7 changed files with 358 additions and 343 deletions.
56 changes: 30 additions & 26 deletions src/templates/layouts/countdown.hbs
Original file line number Diff line number Diff line change
@@ -1,42 +1,46 @@
<!DOCTYPE html>
<html lang="en">

<head>
{{> meta}}
{{> meta}}

<!-- Bootstrap -->
{{#if rtl}}
<link rel="stylesheet" href="{{assets}}/lib/bootstrap/dist/css/bootstrap.rtl.css">
{{else}}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css">
{{/if}}
<link rel="stylesheet" href="{{assets}}/lib/bootstrap/css/bootstrap{{#if rtl}}.rtl{{/if}}{{#if production}}.min{{/if}}.css">

<!-- Font Awesome -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="{{assets}}/lib/font-awesome/css/font-awesome{{#if production}}.min{{/if}}.css">

<!-- Metis core stylesheet -->
{{#if rtl}}
<link rel="stylesheet" href="{{assets}}/css/main.rtl.css">
{{else}}
<link rel="stylesheet" href="{{assets}}/css/main.min.css">
{{/if}}
<link rel="stylesheet" href="{{assets}}/css/main{{#if rtl}}.rtl{{/if}}{{#if production}}.min{{/if}}.css">

<link rel="stylesheet" href="{{assets}}/css/countdown.css">

{{#if rtl}}
<style>body{direction: rtl;}</style>
{{/if}}
{{> rtl-style}}

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->

</head>

<body class="bg-dark lter">
{% body %}

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<!--Bootstrap -->
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="//maps.google.com/maps/api/js?sensor=true"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/gmaps.js/0.4.12/gmaps.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-countdown/2.0.1/jquery.plugin.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-countdown/2.0.1/jquery.countdown.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.13.1/jquery.validate.min.js"></script>
<script src="{{assets}}/js/countdown.js"></script>
{% body %}

<!--jQuery -->
<script src="{{assets}}/lib/jquery/jquery{{#if production}}.min{{/if}}.js"></script>

<!--Bootstrap -->
<script src="{{assets}}/lib/bootstrap/js/bootstrap{{#if production}}.min{{/if}}.js"></script>

<script src="//maps.google.com/maps/api/js?sensor=true"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/gmaps.js/0.4.12/gmaps.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-countdown/2.0.1/jquery.plugin.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-countdown/2.0.1/jquery.countdown.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.13.1/jquery.validate.min.js"></script>
<script src="{{assets}}/js/countdown.js"></script>
</body>

</html>
283 changes: 141 additions & 142 deletions src/templates/layouts/default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,155 +2,154 @@
<html>

<head>
{{> meta}}

<!-- Bootstrap -->
<link rel="stylesheet" href="{{assets}}/lib/bootstrap/css/bootstrap{{#if rtl}}.rtl{{/if}}{{#if production}}.min{{/if}}.css">

<!-- Font Awesome -->
<link rel="stylesheet" href="{{assets}}/lib/font-awesome/css/font-awesome{{#if production}}.min{{/if}}.css">

<!-- Metis core stylesheet -->
<link rel="stylesheet" href="{{assets}}/css/main{{#if rtl}}.rtl{{/if}}{{#if production}}.min{{/if}}.css">

<!-- metisMenu stylesheet -->
<link rel="stylesheet" href="{{assets}}/metismenu/metisMenu{{#if production}}.min{{/if}}.css">

{{#if rtl}}
<style>body{direction: rtl;}</style>
{{/if}}
{{#if stylesheets}}
{{#each stylesheets}}
{{.}}
{{/each}}
{{/if}}
{{#if cdncss}}
{{#each cdncss}}
{{.}}
{{/each}}
{{/if}}

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
{{> meta}}

<!-- Bootstrap -->
<link rel="stylesheet" href="{{assets}}/lib/bootstrap/css/bootstrap{{#if rtl}}.rtl{{/if}}{{#if production}}.min{{/if}}.css">

<!-- Font Awesome -->
<link rel="stylesheet" href="{{assets}}/lib/font-awesome/css/font-awesome{{#if production}}.min{{/if}}.css">

<!-- Metis core stylesheet -->
<link rel="stylesheet" href="{{assets}}/css/main{{#if rtl}}.rtl{{/if}}{{#if production}}.min{{/if}}.css">

<!-- metisMenu stylesheet -->
<link rel="stylesheet" href="{{assets}}/metismenu/metisMenu{{#if production}}.min{{/if}}.css">

{{> rtl-style}}

{{#if stylesheets}}
{{#each stylesheets}}
{{.}}
{{/each}}
{{/if}}
{{#if cdncss}}
{{#each cdncss}}
{{.}}
{{/each}}
{{/if}}

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->

<!--For Development Only. Not required -->
<script>
less = {
env: "development",
relativeUrls: false,
rootpath: "{{assets}}/"
};
</script>
<link rel="stylesheet" href="{{assets}}/css/style-switcher{{#if production}}.min{{/if}}.css">
<link rel="stylesheet/less" type="text/css" href="{{assets}}/less/theme.less">
<script src="https://cdnjs.cloudflare.com/ajax/libs/less.js/2.7.1/less{{#if production}}.min{{/if}}.js"></script>

{{!-- {{> analytic}} --}}

</head>

<body class="{{#if boXed}}boxed{{/if}} {{#if sideMini}}sidebar-left-mini{{/if}} {{#if fixedMenu}}menu-affix{{/if}}">
<div class="bg-dark dk" id="wrap">
<div id="top">
{{> nav }}
{{#if noHeader}}
{{else}}
<header class="head">
{{#if noMainSearch}}
{{else}}
<div class="search-bar">
{{> mainSearch }}
</div>
<!-- /.search-bar -->
{{/if}}
<div class="main-bar">
<h3>
<![endif]-->

<!--For Development Only. Not required -->
<script>
less = {
env: "development",
relativeUrls: false,
rootpath: "{{assets}}/"
};
</script>
<link rel="stylesheet" href="{{assets}}/css/style-switcher{{#if production}}.min{{/if}}.css">
<link rel="stylesheet/less" type="text/css" href="{{assets}}/less/theme.less">
<script src="https://cdnjs.cloudflare.com/ajax/libs/less.js/2.7.1/less{{#if production}}.min{{/if}}.js"></script>

{{!-- {{> analytic}}
--}}
</head>

<body class="{{#if boXed}}boxed{{/if}} {{#if sideMini}}sidebar-left-mini{{/if}} {{#if fixedMenu}}menu-affix{{/if}}">
<div class="bg-dark dk" id="wrap">
<div id="top">
{{> nav }}
{{#if noHeader}}
{{else}}
<header class="head">
{{#if noMainSearch}}
{{else}}
<div class="search-bar">
{{> mainSearch }}
</div>
<!-- /.search-bar -->
{{/if}}
<div class="main-bar">
<h3>
{{#if icon}}
<i class="{{ icon }}"></i>&nbsp;
{{/if}}
{{ title }}
</h3>
</div>
<!-- /.main-bar -->
</header>
<!-- /.head -->
{{/if}}
</div>
<!-- /#top -->
{{#if noLeftSidebar}}
{{else}}
<div id="left">
{{> left }}
</div>
<!-- /#left -->
{{/if}}
<div id="content">
<div class="outer">
<div class="inner bg-light lter">
{% body %}
</div>
<!-- /.inner -->
</div>
<!-- /.outer -->
</div>
<!-- /#content -->
{{#if noRightSidebar}}
{{else}}
<div id="right" class="bg-light lter">
{{> right }}
</div>
<!-- /#right -->
{{/if}}
</div>
<!-- /#wrap -->
<footer class="Footer bg-dark dker">
<p>2016 &copy; Metis Bootstrap Admin Template</p>
</footer>
<!-- /#footer -->
{{> helpModal }}

<!--jQuery -->
<script src="{{assets}}/lib/jquery/jquery{{#if production}}.min{{/if}}.js"></script>

{{#if cdnjs}}
{{#each cdnjs}}
<script src="{{.}}"></script>
{{/each}}
{{/if}}

<!--Bootstrap -->
<script src="{{assets}}/lib/bootstrap/js/bootstrap{{#if production}}.min{{/if}}.js"></script>
<!-- MetisMenu -->
<script src="{{assets}}/lib/metismenu/metisMenu{{#if production}}.min{{/if}}.js"></script>
<!-- Screenfull -->
<script src="{{assets}}/lib/screenfull/screenfull{{#if production}}.min{{/if}}.js"></script>

{{#if javascripts}}
{{#each javascripts}}
<script src="{{assets}}/{{.}}"></script>
{{/each}}
{{/if}}

<!-- Metis core scripts -->
<script src="{{assets}}/js/core{{#if production}}.min{{/if}}.js"></script>
<!-- Metis demo scripts -->
<script src="{{assets}}/js/app{{#if production}}.min{{/if}}.js"></script>

{{#if scripts}}
<script>
$(function(){
{{#each scripts}}
{{.}};
{{/each}}
});
</script>
{{/if}}
</div>
<!-- /.main-bar -->
</header>
<!-- /.head -->
{{/if}}
</div>
<!-- /#top -->
{{#if noLeftSidebar}}
{{else}}
<div id="left">
{{> left }}
</div>
<!-- /#left -->
{{/if}}
<div id="content">
<div class="outer">
<div class="inner bg-light lter">
{% body %}
</div>
<!-- /.inner -->
</div>
<!-- /.outer -->
</div>
<!-- /#content -->
{{#if noRightSidebar}}
{{else}}
<div id="right" class="bg-light lter">
{{> right }}
</div>
<!-- /#right -->
{{/if}}
</div>
<!-- /#wrap -->
<footer class="Footer bg-dark dker">
<p>2016 &copy; Metis Bootstrap Admin Template</p>
</footer>
<!-- /#footer -->
{{> helpModal }}

<!--jQuery -->
<script src="{{assets}}/lib/jquery/jquery{{#if production}}.min{{/if}}.js"></script>

{{#if cdnjs}}
{{#each cdnjs}}
<script src="{{.}}"></script>
{{/each}}
{{/if}}

<!--Bootstrap -->
<script src="{{assets}}/lib/bootstrap/js/bootstrap{{#if production}}.min{{/if}}.js"></script>
<!-- MetisMenu -->
<script src="{{assets}}/lib/metismenu/metisMenu{{#if production}}.min{{/if}}.js"></script>
<!-- Screenfull -->
<script src="{{assets}}/lib/screenfull/screenfull{{#if production}}.min{{/if}}.js"></script>

{{#if javascripts}}
{{#each javascripts}}
<script src="{{assets}}/{{.}}"></script>
{{/each}}
{{/if}}

<!-- Metis core scripts -->
<script src="{{assets}}/js/core{{#if production}}.min{{/if}}.js"></script>
<!-- Metis demo scripts -->
<script src="{{assets}}/js/app{{#if production}}.min{{/if}}.js"></script>

{{#if scripts}}
<script>
$(function() {
{{#each scripts }}
{{.}};
{{/each}}
});
</script>
{{/if}}

<script src="{{assets}}/js/style-switcher{{#if production}}.min{{/if}}.js"></script>
</body>
<script src="{{assets}}/js/style-switcher{{#if production}}.min{{/if}}.js"></script>
</body>

</html>
Loading

0 comments on commit 3242678

Please sign in to comment.