hedera-web/web/forms/cms/home/ui.xml

46 lines
1.1 KiB
XML
Raw Normal View History

2015-03-06 23:33:54 +00:00
<vn>
<div id="title">
<h1><t>Home</t></h1>
</div>
2015-12-10 13:48:43 +00:00
<div id="actions" class="catalog-actions">
<htk-button
class="start-order"
2015-12-10 13:48:43 +00:00
image="image/dark/new-order.svg"
tip="_Start order"
on-click="onStartOrderClick"
showText="true"/>
</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">
<htk-repeater form-id="new">
<db-model property="model">
<custom>
SELECT title, date_time, text, image, id FROM news
WHERE tag != 'course'
ORDER BY priority, date_time DESC
</custom>
</db-model>
2015-11-09 08:14:33 +00:00
<custom>
<div class="masonry-box">
<div class="new">
<div class="top">
<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>
2015-07-17 14:34:42 +00:00
</div>
<htk-image directory="news/full" form="new" column="image" editable="false"/>
</div>
2015-03-09 08:36:54 +00:00
</div>
</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>