forked from verdnatura/hedera-web
46 lines
984 B
XML
46 lines
984 B
XML
<vn>
|
|
<div id="title">
|
|
<h1><t>Home</t></h1>
|
|
</div>
|
|
<div id="actions" class="catalog-actions">
|
|
<htk-bar-button
|
|
class="start-order"
|
|
icon="new-order"
|
|
tip="_Start order"
|
|
on-click="onStartOrderClick"/>
|
|
</div>
|
|
<div id="form" class="home">
|
|
<div class="column mansonry" id="news-column">
|
|
<htk-repeater form-id="new">
|
|
<db-model property="model">
|
|
<custom>
|
|
SELECT title, text, image, id FROM news
|
|
WHERE tag != 'course'
|
|
ORDER BY priority, created DESC
|
|
</custom>
|
|
</db-model>
|
|
<custom>
|
|
<div class="masonry-box">
|
|
<div class="new">
|
|
<div class="top">
|
|
<h2><htk-text form="new" column="title"/></h2>
|
|
<div class="new-text">
|
|
<htk-html form="new" column="text"/>
|
|
</div>
|
|
</div>
|
|
<htk-image
|
|
directory="news"
|
|
subdir="full"
|
|
form="new"
|
|
column="image"
|
|
editable="false"
|
|
full-dir="full"/>
|
|
</div>
|
|
</div>
|
|
</custom>
|
|
</htk-repeater>
|
|
<div class="clear"/>
|
|
</div>
|
|
</div>
|
|
</vn>
|