2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
2015-09-11 09:37:16 +00:00
|
|
|
<div id="title">
|
|
|
|
<h1><t>Home</t></h1>
|
|
|
|
</div>
|
2015-12-10 13:48:43 +00:00
|
|
|
<div id="actions" class="catalog-actions">
|
2016-09-19 06:40:18 +00:00
|
|
|
<htk-bar-button
|
2015-12-15 15:22:46 +00:00
|
|
|
class="start-order"
|
2016-09-19 06:40:18 +00:00
|
|
|
icon="new-order"
|
2015-12-10 13:48:43 +00:00
|
|
|
tip="_Start order"
|
2016-09-19 06:40:18 +00:00
|
|
|
on-click="onStartOrderClick"/>
|
2015-12-10 13:48:43 +00:00
|
|
|
</div>
|
2015-03-06 23:33:54 +00:00
|
|
|
<div id="form" class="home">
|
2015-12-10 13:48:43 +00:00
|
|
|
<div class="column mansonry" id="news-column">
|
2015-12-15 15:22:46 +00:00
|
|
|
<htk-repeater form-id="new">
|
|
|
|
<db-model property="model">
|
|
|
|
<custom>
|
2017-12-20 11:34:04 +00:00
|
|
|
SELECT title, text, image, id FROM news
|
2017-04-27 08:27:39 +00:00
|
|
|
WHERE tag != 'course'
|
2017-12-20 11:34:04 +00:00
|
|
|
ORDER BY priority, created DESC
|
2015-12-15 15:22:46 +00:00
|
|
|
</custom>
|
|
|
|
</db-model>
|
2015-11-09 08:14:33 +00:00
|
|
|
<custom>
|
2015-12-15 15:22:46 +00:00
|
|
|
<div class="masonry-box">
|
|
|
|
<div class="new">
|
|
|
|
<div class="top">
|
|
|
|
<h2><htk-text form="new" column="title"/></h2>
|
2016-01-07 12:58:29 +00:00
|
|
|
<div class="new-text">
|
2015-12-15 15:22:46 +00:00
|
|
|
<htk-html form="new" column="text"/>
|
|
|
|
</div>
|
2015-07-17 14:34:42 +00:00
|
|
|
</div>
|
2016-05-02 13:05:49 +00:00
|
|
|
<htk-image
|
|
|
|
directory="news"
|
|
|
|
subdir="full"
|
|
|
|
form="new"
|
|
|
|
column="image"
|
|
|
|
editable="false"
|
|
|
|
full-dir="full"/>
|
2015-12-15 15:22:46 +00:00
|
|
|
</div>
|
2015-03-09 08:36:54 +00:00
|
|
|
</div>
|
2015-12-15 15:22:46 +00:00
|
|
|
</custom>
|
|
|
|
</htk-repeater>
|
|
|
|
<div class="clear"/>
|
2015-12-10 13:48:43 +00:00
|
|
|
</div>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
|
|
|
</vn>
|