Add horizontal widget.
This commit is contained in:
parent
39fa7aed06
commit
248b7e818a
|
@ -0,0 +1,18 @@
|
||||||
|
<div class="widget-link widget1">
|
||||||
|
<h3 class="widget-title">
|
||||||
|
<span>{{widget-title}}</span>
|
||||||
|
</h3>
|
||||||
|
<ul class="list-unstyled" data-level="0" data-list="web_link">
|
||||||
|
<li class="widget-content widget-content-horizontal">
|
||||||
|
<a class="widget-content-title" href="{{link_to_show}}" target="_blank" title="{{title_text}}">{{title}}</a>
|
||||||
|
<span data-list="statuses" data-level="1">
|
||||||
|
<span class="label status {{status-class}}">{{status}}</span>
|
||||||
|
</span>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<style type="text/css">
|
||||||
|
.widget-content-horizontal{
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -21,8 +21,16 @@
|
||||||
{
|
{
|
||||||
"filename" : "web_res_widget1",
|
"filename" : "web_res_widget1",
|
||||||
"name" : {
|
"name" : {
|
||||||
"zh_tw" : "1. 列表 ( 模組標題, 連結 )",
|
"zh_tw" : "1. 直式列表 ( 模組標題, 連結 )",
|
||||||
"en" : "1. List (widget-title, link)"
|
"en" : "1. Vertical List (widget-title, link)"
|
||||||
|
},
|
||||||
|
"thumbnail" : "thumb.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "web_res_widget2",
|
||||||
|
"name" : {
|
||||||
|
"zh_tw" : "2. 橫式列表 ( 模組標題, 連結 )",
|
||||||
|
"en" : "2. Horizontal List (widget-title, link)"
|
||||||
},
|
},
|
||||||
"thumbnail" : "thumb.png"
|
"thumbnail" : "thumb.png"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue