50 lines
1.1 KiB
XML
Executable File
50 lines
1.1 KiB
XML
Executable File
<vn>
|
|
<h1 id="title">
|
|
<t>Home</t>
|
|
</h1>
|
|
<div id="actions" class="catalog-actions">
|
|
<htk-bar-button
|
|
class="start-order"
|
|
icon="new-order"
|
|
tip="_Start order"
|
|
on-click="onStartOrderClick"/>
|
|
</div>
|
|
<div id="main" class="home">
|
|
<div class="column mansonry" id="news-column">
|
|
<htk-repeater form-id="new">
|
|
<db-model property="model">
|
|
<custom>
|
|
SELECT title, date_time, text, image, id FROM news
|
|
ORDER BY priority, date_time DESC
|
|
</custom>
|
|
</db-model>
|
|
<custom>
|
|
<div class="masonry-box">
|
|
<div class="new">
|
|
<div class="top">
|
|
<h2><htk-text lot="new" name="title"/></h2>
|
|
<!--
|
|
<p class="new-info">
|
|
<htk-text format="_%a, %e %b %Y" lot="new" name="date_time"/>
|
|
</p>
|
|
-->
|
|
<div class="new-text">
|
|
<htk-html lot="new" name="text"/>
|
|
</div>
|
|
</div>
|
|
<htk-image
|
|
directory="news"
|
|
subdir="full"
|
|
lot="new"
|
|
name="image"
|
|
editable="false"
|
|
full-dir="full"/>
|
|
</div>
|
|
</div>
|
|
</custom>
|
|
</htk-repeater>
|
|
<div class="clear"/>
|
|
</div>
|
|
</div>
|
|
</vn>
|