hedera-web/package/usr/share/hedera-web/forms/cms/home/ui.xml

26 lines
651 B
XML
Executable File

<vn>
<vn-group>
<db-model id="news">
SELECT title, date_time, text, id FROM news
WHERE tag != 'course'
ORDER BY priority, date_time DESC
</db-model>
</vn-group>
<div id="form" class="home">
<div class="column" id="news-column">
<htk-repeater model="news" form-id="new">
<div class="new">
<h2><htk-text form="new" column="title"/></h2>
<p class="new-info">
<htk-text format="_%a, %e %b %Y" form="new" column="date_time"/>
</p>
<div class="new-text">
<htk-html form="new" column="text"/>
</div>
<htk-image directory="news/full" form="new" column="id"/>
</div>
</htk-repeater>
</div>
</div>
</vn>