1 <!-- Foundation Annotations generate tmp/route.js -->
5 controller: SamplePostController as ctrl
6 animationIn: slideInRight
9 <h1><img class="logo" src="images/logo/triskel_iot_bzhx250.png" alt="IoT.bzh Logo" style="height:150px;">
13 <div class="sample-box box-content">
15 <!-- Usage: upload-xxxxx
16 name = [xxxxxx] is use a field label for xform input field. Should match with server side
17 category = [avatar] should match to a valid directory of thumbnail within AppConfig.path
18 thumbnail= [tux-bzh.png] a valid image within AppConfig.paths.[category]
19 istoobig = [istoobig.png] used image from AppConfig.paths.[category] when file is oversized
20 maxsize = [xxx] maximum size in KB [default max depend on upload-type]
21 accept = [image] acceptable accept for upload
23 <upload-image category="avatar" thumbnail="tux-visitor.png" maxsize="100"
24 posturl="/api/post/upload-image" callback="ctrl.FileUploaded" accept="image" title="Change your Avatar">
29 <link-button href="home" icon="fi-home" label="home"></link-button>