update template
|
@ -1,35 +0,0 @@
|
||||||
<div class="w-event_news widget-event_news-13">
|
|
||||||
<h3 class="w-event_news__widget-title">
|
|
||||||
<span>{{widget-title}}</span>
|
|
||||||
</h3>
|
|
||||||
<table class="w-event_news__table table">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="w-event_news__th w-event_news__th--date">{{event_date-head}}</th>
|
|
||||||
<th class="w-event_news__th w-event_news__th--title">{{title-head}}</th>
|
|
||||||
<th class="w-event_news__th w-event_news__th--title">{{subtitle-head}}</th>
|
|
||||||
<th class="w-event_news__th w-event_news__th--date">{{speaker-head}}</th>
|
|
||||||
<th class="w-event_news__th w-event_news__th--title">{{host-head}}</th>
|
|
||||||
<th class="w-event_news__th w-event_news__th--title">{{notes-head}}</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody data-level="0" data-list="event_news">
|
|
||||||
<tr>
|
|
||||||
<td class="w-event_news__postdate" date-format="%Y-%m-%d">{{postdate}}</td>
|
|
||||||
<td class="w-event_news_content">
|
|
||||||
<span class="w-event_news__status-wrap" data-list="statuses" data-level="1">
|
|
||||||
<span class="w-event_news__status label status {{status-class}}">{{status}}</span>
|
|
||||||
</span>
|
|
||||||
<a class="w-event_news__title" href="{{link_to_show}}">【講題】{{title}}</a>
|
|
||||||
</td>
|
|
||||||
<td class="w-event_news__speaker">【講者】{{speaker}}</td>
|
|
||||||
<td class="w-event_news__host">{{host}}</td>
|
|
||||||
<td class="w-event_news__subtitle">{{subtitle}}</td>
|
|
||||||
<td class="w-event_news__notes">【備註】{{notes}}</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<div class="w-event_news__more-wrap clearfix">
|
|
||||||
<a class="w-event_news__more btn btn-primary pull-right" href="{{more_url}}"><%= (I18n.locale.to_s =="zh_tw") ? "更多→" : "More NEWS" %></a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
|
@ -1,311 +0,0 @@
|
||||||
{
|
|
||||||
"frontend": [
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index1",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "1. 標準標題列表-1A ( 模組標題, 類別, 狀態, 標題, 日期 )",
|
|
||||||
"en" : "1. Standard Title List-1 (widget-title, category, status, title, postdate)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index1_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index2",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "2. 標準標題列表-1B ( 模組標題, 類別, 狀態, 標題, 日期, 瀏覽人次 )",
|
|
||||||
"en" : "2. Standard Title List-1B (widget-title, category, status, title, postdate, view-count)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index2_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index3",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "3. 標準表格列表-2A ( 模組標題, 日期, 狀態, 標題, 類別 )",
|
|
||||||
"en" : "3. Standard Table List-2 (widget-title, postdate, status, title, category)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index3_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index4",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "4. 標準表格列表-2B ( 模組標題, 日期, 狀態, 標題, 類別, 瀏覽人次 )",
|
|
||||||
"en" : "4. Standard Table List-2 (widget-title, postdate, status, title, category, view-count)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index4_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index5",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "5. 左圖右文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
|
||||||
"en" : "5. Balanced Image + Text(Left) (widget-title, image, status, postdate, category, title, subtitle)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index5_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index6",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "6. 右圖左文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
|
||||||
"en" : "6. Balanced Image + Text(Right) (widget-title, image, status, postdate, category, title, subtitle)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index6_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index7",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "7. 三欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
|
||||||
"en" : "7. 3-Column Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index7_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index8",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "8. 標準文字列表 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )",
|
|
||||||
"en" : "8. Standard Text List (widget-title, postdate, category, status, title, subtitle)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index8_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index9",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "9. 標準標題列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )",
|
|
||||||
"en" : "9. Standard Title List-1 (widget-title, category, status, title, postdate)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index9_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index10",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "10. 標準標題列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )",
|
|
||||||
"en" : "10. Standard Title List-2 (widget-title, postdate, status, title, category)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index10_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index11",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "11. 精簡標題列表-1 ( 模組標題, 狀態, 標題, 日期 )",
|
|
||||||
"en" : "11. Simple Title List-1 (widget-title, status, title, postdate)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index11_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index12",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "12. 精簡標題列表-2 ( 模組標題, 日期, 狀態, 標題 )",
|
|
||||||
"en" : "12. Simple Title List-2 (widget-title, postdate, status, title)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index12_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index13",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "13. 精簡表格列表-1 ( 模組標題, 狀態, 標題, 日期 )",
|
|
||||||
"en" : "13. Simple Table List (widget-title, status, title, postdate)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index13_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index14",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "14. 精簡表格列表-2 ( 模組標題, 日期, 狀態, 標題 )",
|
|
||||||
"en" : "14. Simple Table List (widget-title, postdate, status, title)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index14_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index15",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "15. 精簡表格列表-3 ( 模組標題, 日期, 狀態, 標題, 瀏覽人次 )",
|
|
||||||
"en" : "15. Simple Table List (widget-title, postdate, status, title, view-count)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index15_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index16",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "16. 連結 + 附件表格列表 ( 模組標題, 類別, 狀態, 標題 )",
|
|
||||||
"en" : "16. Table List including Links and attachments (widget-title, category, status, title, view-count)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index16_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index17",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "17. 標準標題列表-1A ( 類別, 標題, 日期, 張貼人 )",
|
|
||||||
"en" : "17. Standard Title List-1 ( category, title, postdate, department)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index1_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_index18",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "18. 標準標題列表-2 ( 日期, 演講者, 狀態, 標題, 主持人, 備註 )",
|
|
||||||
"en" : "18. Standard Title List-2 ( EventDate, speaker, status, title, host, notes)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_index1_thumbs.png"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"widgets" : [
|
|
||||||
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget0",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "0. 標準四欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
|
||||||
"en" : "0. Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget1_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget0.5",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "0.5. 首頁行事曆樣式",
|
|
||||||
"en" : "0.5. Home calendar"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget1_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget0.5_new",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "0.5. 首頁行事曆樣式(新版)",
|
|
||||||
"en" : "0.5. Home calendar(New)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget1_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget1",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "1. 標準圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
|
||||||
"en" : "1. Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget1_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget2",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "2. 左圖右文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
|
||||||
"en" : "2. Balanced Image + Text(Left) (widget-title, image, status, postdate, category, title, subtitle)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget2_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget3",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "3. 右圖左文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
|
||||||
"en" : "3. Balanced Image + Text(Right) (widget-title, image, status, postdate, category, title, subtitle)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget3_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget4",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "4. 三欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
|
||||||
"en" : "4. 3-Column Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget4_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget15",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "4.5. 三欄圖文-slide ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
|
||||||
"en" : "4.5. 3-Column Standard Image + Text -slide(widget-title, image, status, postdate, category, title, subtitle)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget4_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget5",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "5. 標準文字列表 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )",
|
|
||||||
"en" : "5. Standard Text List (widget-title, postdate, category, status, title, subtitle)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget5_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget6",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "6. 標準標題列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )",
|
|
||||||
"en" : "6. Standard Title List-1 (widget-title, category, status, title, postdate)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget6_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget7",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "7. 標準標題列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )",
|
|
||||||
"en" : "7. Standard Title List-2 (widget-title, postdate, status, title, category)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget7_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget8",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "8. 標準表格列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )",
|
|
||||||
"en" : "8. Standard Table List-1 (widget-title, category, status, title, postdate)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget8_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget9",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "9. 標準表格列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )",
|
|
||||||
"en" : "9. Standard Table List-2 (widget-title, postdate, status, title, category)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget9_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget10",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "10. 精簡標題列表-1 ( 模組標題, 狀態, 標題, 日期 )",
|
|
||||||
"en" : "10. Simple Title List-1 (widget-title, status, title, postdate)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget10_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget11",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "11. 精簡標題列表-2 ( 模組標題, 日期, 狀態, 標題 )",
|
|
||||||
"en" : "11. Simple Title List-2 (widget-title, postdate, status, title)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget11_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget12",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "12. 精簡表格列表-1 ( 模組標題, 狀態, 標題, 日期 )",
|
|
||||||
"en" : "12. Simple Table List (widget-title, status, title, postdate)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget12_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget13",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "13. 精簡表格列表-2 ( 模組標題, 日期, 狀態, 標題 )",
|
|
||||||
"en" : "13. Simple Table List (widget-title, postdate, status, title)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget13_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget14",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "14. 一圖 + 標題列表 ( 模組標題, 圖片, 狀態, 標題, 日期 )",
|
|
||||||
"en" : "14. 1 Image + Title List (widget-title, image, status, title, postdate)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget14_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget16",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "15. 標準表格列表-3 ( 日期, 演講者, 狀態, 標題, 主持人, 備註 )",
|
|
||||||
"en" : "15. Standard Table List (EventDate, speaker, status, title, host, notes)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget13_thumbs.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "event_news_widget17",
|
|
||||||
"name" : {
|
|
||||||
"zh_tw" : "16. 標準表格列表-3 ( 日期, 狀態, 標題, 演講者, 主持人, 備註 )",
|
|
||||||
"en" : "16. Standard Table List (EventDate, status, title, speaker, host, notes)"
|
|
||||||
},
|
|
||||||
"thumbnail" : "event_news_widget13_thumbs.png"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
<div class="w-annc widget-announcement-13">
|
||||||
|
<h3 class="w-annc__widget-title">
|
||||||
|
<span>{{widget-title}}</span>
|
||||||
|
</h3>
|
||||||
|
<table class="w-annc__table table">
|
||||||
|
<tbody data-level="0" data-list="event_news">
|
||||||
|
<tr>
|
||||||
|
<td class="w-annc__postdate">{{postdate}}</td>
|
||||||
|
<td class="w-annc_content">
|
||||||
|
<span class="w-annc__status-wrap" data-list="statuses" data-level="1">
|
||||||
|
<span class="w-annc__status label status {{status-class}}">{{status}}</span>
|
||||||
|
</span>
|
||||||
|
<a class="w-annc__title" href="{{link_to_show}}">{{title-head}}{{title}}</a>
|
||||||
|
</td>
|
||||||
|
<td style="{{speaker-css}}" class="w-annc__speaker">{{speaker-head}}{{speaker}}</td>
|
||||||
|
<td style="{{host-css}}" class="w-annc__host">{{host-head}}{{host}}</td>
|
||||||
|
<td style="{{place-css}}" class="w-annc__host">{{place-head}}{{place}}</td>
|
||||||
|
<td style="{{event-time-css}}" class="w-annc__host">{{event_date-head}}{{event-time-formated}}</td>
|
||||||
|
<td class="w-annc__subtitle">{{subtitle}}</td>
|
||||||
|
<td style="{{notes-css}}" class="w-annc__notes">{{notes-head}}{{notes}}</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<div class="w-annc__more-wrap clearfix">
|
||||||
|
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}"><%= t("event_news.more") %></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,83 @@
|
||||||
|
<div class="w-calendar widget-calendar-2 widget-event-news-calendar-2" data-module="event_news">
|
||||||
|
<div class="w-calendar-title {{widget_title_class}}">
|
||||||
|
<span>{{calendar_title}}</span>
|
||||||
|
<span>{{widget_title}}</span>
|
||||||
|
</div>
|
||||||
|
<div class='month_template'>
|
||||||
|
<h4 class="widget-title ">
|
||||||
|
<span class="text"><span style="display: none;">placeholder</span></span>
|
||||||
|
<i class="fa fa-circle-o-notch fa-spin fa-fw loading hide"></i>
|
||||||
|
</h4>
|
||||||
|
<div class="w-calendar-nav">
|
||||||
|
<a href="#" class="w-calendar-nav-prev">
|
||||||
|
<i class="fa fa-chevron-left"></i>
|
||||||
|
<span class="w-calendar-nav-prev-text hide">Prev</span>
|
||||||
|
</a>
|
||||||
|
<a href="#" class="w-calendar-nav-next">
|
||||||
|
<i class="fa fa-chevron-right"></i>
|
||||||
|
<span class="w-calendar-nav-next-text hide">Next</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<table class="table table-condensed w-calendar-table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Sun</th>
|
||||||
|
<th>Mon</th>
|
||||||
|
<th>Tue</th>
|
||||||
|
<th>Wed</th>
|
||||||
|
<th>Thu</th>
|
||||||
|
<th>Fri</th>
|
||||||
|
<th>Sat</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody></tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="calendar-events" style="display: none;">
|
||||||
|
<div class="event">
|
||||||
|
<div class="event-header">
|
||||||
|
<div class="date">
|
||||||
|
<div class="day"></div>
|
||||||
|
<div class="month"></div>
|
||||||
|
</div>
|
||||||
|
<div class="event-title">
|
||||||
|
<div class="event-inner-title"></div>
|
||||||
|
<div class="duration"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="event-wraper">
|
||||||
|
<div class="event-containers">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%= stylesheet_link_tag "event_news_calendar_widget2" %>
|
||||||
|
<script>
|
||||||
|
$(document).ready(function(){
|
||||||
|
if(document.getElementById("event-news-calendar-widget_module2") == null){
|
||||||
|
var tag = document.createElement('script');
|
||||||
|
tag.setAttribute("id", "event-news-calendar-widget_module2");
|
||||||
|
tag.src = "<%= asset_path('event_news_calendar_widget2.js') %>";
|
||||||
|
tag.onload = function(){
|
||||||
|
$("div.widget-calendar-2[data-module=event_news]").each(function(index){
|
||||||
|
var calendar = $(this),
|
||||||
|
cmi = new EventCalendarModuleMonth2(new Date(), calendar,calendar.data("subpart-id"),"{{more_url}}",false);
|
||||||
|
cmi.currentMonth();
|
||||||
|
calendar.find("div.w-calendar-nav a").on("click",function(){
|
||||||
|
var el = $(this);
|
||||||
|
if(el.hasClass("w-calendar-nav-prev")){
|
||||||
|
cmi.prevMonth();
|
||||||
|
}else if(el.hasClass("w-calendar-nav-next")){
|
||||||
|
cmi.nextMonth();
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
var head = document.getElementsByTagName("head");
|
||||||
|
head[0].appendChild(tag);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
</script>
|
|
@ -0,0 +1,318 @@
|
||||||
|
{
|
||||||
|
"frontend": [
|
||||||
|
{
|
||||||
|
"filename": "event_news_index1",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "1. 標準標題列表-1A ( 模組標題, 類別, 狀態, 標題, 日期 )",
|
||||||
|
"en": "1. Standard Title List-1 (widget-title, category, status, title, postdate)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index1_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index2",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "2. 標準標題列表-1B ( 模組標題, 類別, 狀態, 標題, 日期, 瀏覽人次 )",
|
||||||
|
"en": "2. Standard Title List-1B (widget-title, category, status, title, postdate, view-count)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index2_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index3",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "3. 標準表格列表-2A ( 模組標題, 日期, 狀態, 標題, 類別 )",
|
||||||
|
"en": "3. Standard Table List-2 (widget-title, postdate, status, title, category)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index3_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index4",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "4. 標準表格列表-2B ( 模組標題, 日期, 狀態, 標題, 類別, 瀏覽人次 )",
|
||||||
|
"en": "4. Standard Table List-2 (widget-title, postdate, status, title, category, view-count)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index4_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index5",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "5. 左圖右文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
||||||
|
"en": "5. Balanced Image + Text(Left) (widget-title, image, status, postdate, category, title, subtitle)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index5_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index6",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "6. 右圖左文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
||||||
|
"en": "6. Balanced Image + Text(Right) (widget-title, image, status, postdate, category, title, subtitle)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index6_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index7",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "7. 三欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
||||||
|
"en": "7. 3-Column Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index7_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index8",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "8. 標準文字列表 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )",
|
||||||
|
"en": "8. Standard Text List (widget-title, postdate, category, status, title, subtitle)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index8_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index9",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "9. 標準標題列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )",
|
||||||
|
"en": "9. Standard Title List-1 (widget-title, category, status, title, postdate)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index9_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index10",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "10. 標準標題列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )",
|
||||||
|
"en": "10. Standard Title List-2 (widget-title, postdate, status, title, category)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index10_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index11",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "11. 精簡標題列表-1 ( 模組標題, 狀態, 標題, 日期 )",
|
||||||
|
"en": "11. Simple Title List-1 (widget-title, status, title, postdate)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index11_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index12",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "12. 精簡標題列表-2 ( 模組標題, 日期, 狀態, 標題 )",
|
||||||
|
"en": "12. Simple Title List-2 (widget-title, postdate, status, title)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index12_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index13",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "13. 精簡表格列表-1 ( 模組標題, 狀態, 標題, 日期 )",
|
||||||
|
"en": "13. Simple Table List (widget-title, status, title, postdate)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index13_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index14",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "14. 精簡表格列表-2 ( 模組標題, 日期, 狀態, 標題 )",
|
||||||
|
"en": "14. Simple Table List (widget-title, postdate, status, title)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index14_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index15",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "15. 精簡表格列表-3 ( 模組標題, 日期, 狀態, 標題, 瀏覽人次 )",
|
||||||
|
"en": "15. Simple Table List (widget-title, postdate, status, title, view-count)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index15_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index16",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "16. 連結 + 附件表格列表 ( 模組標題, 類別, 狀態, 標題 )",
|
||||||
|
"en": "16. Table List including Links and attachments (widget-title, category, status, title, view-count)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index16_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index17",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "17. 標準標題列表-1A ( 類別, 標題, 日期, 張貼人 )",
|
||||||
|
"en": "17. Standard Title List-1 ( category, title, postdate, department)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index1_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_index18",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "18. 標準標題列表-2 ( 日期, 演講者, 狀態, 標題, 主持人, 備註 )",
|
||||||
|
"en": "18. Standard Title List-2 ( EventDate, speaker, status, title, host, notes)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_index1_thumbs.png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"widgets": [
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget0",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "0. 標準四欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
||||||
|
"en": "0. Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget1_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget0.5",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "0.5. 首頁行事曆樣式",
|
||||||
|
"en": "0.5. Home calendar"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget1_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget0.5_new",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "0.5. 首頁行事曆樣式(新版)",
|
||||||
|
"en": "0.5. Home calendar(New)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget1_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget1",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "1. 標準圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
||||||
|
"en": "1. Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget1_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget2",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "2. 左圖右文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
||||||
|
"en": "2. Balanced Image + Text(Left) (widget-title, image, status, postdate, category, title, subtitle)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget2_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget3",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "3. 右圖左文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
||||||
|
"en": "3. Balanced Image + Text(Right) (widget-title, image, status, postdate, category, title, subtitle)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget3_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget4",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "4. 三欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
||||||
|
"en": "4. 3-Column Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget4_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget15",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "4.5. 三欄圖文-slide ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )",
|
||||||
|
"en": "4.5. 3-Column Standard Image + Text -slide(widget-title, image, status, postdate, category, title, subtitle)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget4_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget5",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "5. 標準文字列表 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )",
|
||||||
|
"en": "5. Standard Text List (widget-title, postdate, category, status, title, subtitle)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget5_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget6",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "6. 標準標題列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )",
|
||||||
|
"en": "6. Standard Title List-1 (widget-title, category, status, title, postdate)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget6_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget7",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "7. 標準標題列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )",
|
||||||
|
"en": "7. Standard Title List-2 (widget-title, postdate, status, title, category)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget7_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget8",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "8. 標準表格列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )",
|
||||||
|
"en": "8. Standard Table List-1 (widget-title, category, status, title, postdate)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget8_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget9",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "9. 標準表格列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )",
|
||||||
|
"en": "9. Standard Table List-2 (widget-title, postdate, status, title, category)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget9_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget10",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "10. 精簡標題列表-1 ( 模組標題, 狀態, 標題, 日期 )",
|
||||||
|
"en": "10. Simple Title List-1 (widget-title, status, title, postdate)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget10_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget11",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "11. 精簡標題列表-2 ( 模組標題, 日期, 狀態, 標題 )",
|
||||||
|
"en": "11. Simple Title List-2 (widget-title, postdate, status, title)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget11_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget12",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "12. 精簡表格列表-1 ( 模組標題, 狀態, 標題, 日期 )",
|
||||||
|
"en": "12. Simple Table List (widget-title, status, title, postdate)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget12_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget13",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "13. 精簡表格列表-2 ( 模組標題, 日期, 狀態, 標題 )",
|
||||||
|
"en": "13. Simple Table List (widget-title, postdate, status, title)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget13_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget14",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "14. 一圖 + 標題列表 ( 模組標題, 圖片, 狀態, 標題, 日期 )",
|
||||||
|
"en": "14. 1 Image + Title List (widget-title, image, status, title, postdate)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget14_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget16",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "15. 標準表格列表-3 ( 日期, 演講者, 狀態, 標題, 主持人, 備註 )",
|
||||||
|
"en": "15. Standard Table List (EventDate, speaker, status, title, host, notes)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget13_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget17",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "16. 標準表格列表-3 ( 日期, 狀態, 標題, 演講者, 主持人, 備註 )",
|
||||||
|
"en": "16. Standard Table List (EventDate, status, title, speaker, host, notes)"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget13_thumbs.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "event_news_widget18",
|
||||||
|
"name": {
|
||||||
|
"zh_tw": "18. 日歷",
|
||||||
|
"en": "18. Calendar"
|
||||||
|
},
|
||||||
|
"thumbnail": "event_news_widget13_thumbs.png"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |