Gestion d'un nombre arbitraire de sous catégories + transitions
This commit is contained in:
16
index.html
16
index.html
@ -11,12 +11,15 @@
|
||||
<!-- Templates -->
|
||||
|
||||
<script id="launcher-view-tpl" type="text/x-template">
|
||||
{{#unless isRoot}}
|
||||
<div class="category-header">
|
||||
<h2><a href="#" class="goback" data-item-path="{{currentItemPath}}">⇦</a> {{currentItem.label}}</h2>
|
||||
</div>
|
||||
{{/unless}}
|
||||
{{> itemListTpl}}
|
||||
<div class="launcher">
|
||||
{{#unless isRoot}}
|
||||
<div class="category-header">
|
||||
<a href="#" class="goback" data-item-path="{{currentItemPath}}">◄</a>
|
||||
<span class="category-label">{{currentItem.label}}</span>
|
||||
</div>
|
||||
{{/unless}}
|
||||
{{> itemListTpl}}
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script id="items-list-tpl" type="text/x-template">
|
||||
@ -37,6 +40,7 @@
|
||||
|
||||
<!-- Scripts -->
|
||||
<script type="text/javascript" src="js/dom.js"></script>
|
||||
<script type="text/javascript" src="js/anim.js"></script>
|
||||
<script type="text/javascript" src="js/app.js"></script>
|
||||
|
||||
<!-- Application bootstrapping -->
|
||||
|
Reference in New Issue
Block a user