Skip to content

Instantly share code, notes, and snippets.

@sylido
Created May 28, 2014 00:14
Show Gist options
  • Save sylido/d98912a28d3961637290 to your computer and use it in GitHub Desktop.
Save sylido/d98912a28d3961637290 to your computer and use it in GitHub Desktop.
<!-- rename to testProd.html -->
<template name="layoutTemplate">
<head>
<title>testProd</title>
</head>
<body>
{{loginButtons}}
{{yield}}
</body>
</template>
<template name="blobImage">
{{> queueControl}}
<br>
<div id="fileList"></div>
</template>
<template name="hello">
<h1>Hello World!</h1>
{{greeting}}
<input type="button" value="Click" />
{{> fileTable}}
</template>
<template name="queueControl">
<input id="files" name="files" type="file" class="fileUploader" multiple>
</template>
<template name="fileTable">
<div id="fileList">
{{#each file}}
<img src="{{cfsFileUrl 'default1'}}" class="img-responsive" alt="Responsive image">
{{else}}
Nothing.
{{/each}}
</div>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment