diff --git a/assets/images/design_thumb.png b/assets/images/design_thumb.png index 5250e87..559043d 100644 Binary files a/assets/images/design_thumb.png and b/assets/images/design_thumb.png differ diff --git a/assets/stylesheets/template/base/_autobackup.bak b/assets/stylesheets/template/base/_autobackup.bak index 3ef47c3..c11c86f 100644 --- a/assets/stylesheets/template/base/_autobackup.bak +++ b/assets/stylesheets/template/base/_autobackup.bak @@ -82,3 +82,15 @@ .response-content { justify-self: auto; } +.response-content { + justify-self: auto; +} +.response-content { + justify-self: auto; +} +.response-content { + justify-self: auto; +} +.response-content { + justify-self: auto; +} diff --git a/assets/stylesheets/template/base/_variables.scss b/assets/stylesheets/template/base/_variables.scss index 617a230..d4db8cb 100644 --- a/assets/stylesheets/template/base/_variables.scss +++ b/assets/stylesheets/template/base/_variables.scss @@ -101,6 +101,10 @@ $border-width: 4px;@import "../../bootstrap/variables"; + + + + diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index b7aae9d..7a83278 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -1,4 +1,4 @@ -@charset "utf-8"; +@charset "utf-8"; @import "../initial"; @@ -8,14 +8,14 @@ border: none; border-radius: 0; background-color: #fff; - z-index: 10000; + z-index: 1; .container { @extend .response-content; } .header-nav { - padding: 16px 0; + padding: 5px 0; color: #FFF; font-family: $main-font; diff --git a/assets/stylesheets/template/modules/menu.scss b/assets/stylesheets/template/modules/menu.scss index f643aad..b39f937 100644 --- a/assets/stylesheets/template/modules/menu.scss +++ b/assets/stylesheets/template/modules/menu.scss @@ -131,7 +131,7 @@ } & > a { - padding: 2rem 0; + padding: .2rem 0; border-bottom: 0.5rem solid transparent; } @@ -148,7 +148,7 @@ &:hover { & > a { - padding: 2rem 0; + padding: .2rem 0; border-bottom-color: $brand-primary; } @@ -310,4 +310,17 @@ display: block; } } +} + +#main-nav { + float: none!important; + width: 100%; +} +#layout-navigation>ul { + display: flex; + justify-content: space-between; +} +#layout-navigation { + clear: both; + display: flex; } \ No newline at end of file diff --git a/home/index.html.erb b/home/index.html.erb index 3306461..453f98f 100644 --- a/home/index.html.erb +++ b/home/index.html.erb @@ -12,8 +12,8 @@
-
- +
+
diff --git a/modules/ad_banner/_ad_banner_widget1.html.erb b/modules/ad_banner/_ad_banner_widget1.html.erb index f940539..39a85ae 100644 --- a/modules/ad_banner/_ad_banner_widget1.html.erb +++ b/modules/ad_banner/_ad_banner_widget1.html.erb @@ -4,27 +4,64 @@ data-level="0" data-cycle-slides=".w-ba-banner__slide" data-cycle-log="false" - data-overlay=".w-ba-banner__caption" + data-overlay=".w-ad-banner__overlay_{{subpart-id}}" data-cycle-auto-height="{{base_image}}" data-cycle-speed="{{speed}}" data-cycle-timeout="{{timeout}}" data-cycle-fx="{{ad_fx}}" - data-pager="#{{subpart-id}}" - data-pager-template="
  • " + data-cycle-pager=".banner_caption_{{subpart-id}}" + data-pager-template="
  • " data-pager-active-class="active-slide" + data-cycle-swipe=true + data-cycle-swipe-fx="scrollHorz" >
    - + + + +
    -
    - +
    + + + - - + + \ No newline at end of file diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index d4cb93e..725db51 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -1,24 +1,37 @@ -
    +
    + data-cycle-youtube-autostart="false" + data-cycle-swipe="true" + data-cycle-prev=".banner_prev" + data-cycle-next=".banner_next" + data-cycle-pause-on-hover="true" + style="padding-bottom: 56.25%;" + > {{html}}
    - +
    + + + +
    \ No newline at end of file + + \ No newline at end of file diff --git a/modules/announcement/_annc_widget15.html.erb b/modules/announcement/_annc_widget15.html.erb new file mode 100644 index 0000000..3d66823 --- /dev/null +++ b/modules/announcement/_annc_widget15.html.erb @@ -0,0 +1,131 @@ +
    +
    +

    + {{widget-title}} +

    + <%= (I18n.locale.to_s =="zh_tw") ? "更多最新消息" : "More NEWS" %> +
    +
    + + +
    + +
    + + diff --git a/modules/announcement/_annc_widget16.html.erb b/modules/announcement/_annc_widget16.html.erb new file mode 100644 index 0000000..f93db42 --- /dev/null +++ b/modules/announcement/_annc_widget16.html.erb @@ -0,0 +1,86 @@ +
    +
    +

    + {{widget-title}} +

    + <%= (I18n.locale.to_s =="zh_tw") ? "更多最新消息" : "More NEWS" %> +
    + +
    + + \ No newline at end of file diff --git a/modules/announcement/_annc_widget17.html.erb b/modules/announcement/_annc_widget17.html.erb new file mode 100644 index 0000000..c72fa98 --- /dev/null +++ b/modules/announcement/_annc_widget17.html.erb @@ -0,0 +1,47 @@ +
    + +

    + {{widget-title}} +

    + +
    + + + <%= (I18n.locale.to_s =="zh_tw") ? "更多+" : "More NEWS" %> +
    + +
    + +
    +
    + {{img_description}} +
    +
    +
    + + {{status}} + + +
    +

    + {{title}} +

    +
    +
    +
    +
    diff --git a/modules/announcement/_annc_widget18.html.erb b/modules/announcement/_annc_widget18.html.erb new file mode 100644 index 0000000..cb7b210 --- /dev/null +++ b/modules/announcement/_annc_widget18.html.erb @@ -0,0 +1,31 @@ +
    +
    +

    Search

    +
    +

    + + +

    +
    +
    +

    + {{widget-title}} +

    + +
    + <%= (I18n.locale.to_s =="zh_tw") ? "更多最新消息" : "More NEWS" %> +
    +
    \ No newline at end of file diff --git a/modules/announcement/info.json b/modules/announcement/info.json index 197c478..d87c88f 100644 --- a/modules/announcement/info.json +++ b/modules/announcement/info.json @@ -1,246 +1,278 @@ { - "frontend": [ - { - "filename" : "annc_index1", - "name" : { - "zh_tw" : "1. 標準標題列表-1A ( 模組標題, 類別, 狀態, 標題, 日期 )", - "en" : "1. Standard Title List-1 (widget-title, category, status, title, postdate)" - }, - "thumbnail" : "annc_index1_thumbs.png" - }, - { - "filename" : "annc_index2", - "name" : { - "zh_tw" : "2. 標準標題列表-1B ( 模組標題, 類別, 狀態, 標題, 日期, 瀏覽人次 )", - "en" : "2. Standard Title List-1B (widget-title, category, status, title, postdate, view-count)" - }, - "thumbnail" : "annc_index2_thumbs.png" - }, - { - "filename" : "annc_index3", - "name" : { - "zh_tw" : "3. 標準表格列表-2A ( 模組標題, 日期, 狀態, 標題, 類別 )", - "en" : "3. Standard Table List-2 (widget-title, postdate, status, title, category)" - }, - "thumbnail" : "annc_index3_thumbs.png" - }, - { - "filename" : "annc_index4", - "name" : { - "zh_tw" : "4. 標準表格列表-2B ( 模組標題, 日期, 狀態, 標題, 類別, 瀏覽人次 )", - "en" : "4. Standard Table List-2 (widget-title, postdate, status, title, category, view-count)" - }, - "thumbnail" : "annc_index4_thumbs.png" - }, - { - "filename" : "annc_index5", - "name" : { - "zh_tw" : "5. 左圖右文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "5. Balanced Image + Text(Left) (widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "annc_index5_thumbs.png" - }, - { - "filename" : "annc_index6", - "name" : { - "zh_tw" : "6. 右圖左文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "6. Balanced Image + Text(Right) (widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "annc_index6_thumbs.png" - }, - { - "filename" : "annc_index7", - "name" : { - "zh_tw" : "7. 三欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "7. 3-Column Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "annc_index7_thumbs.png" - }, - { - "filename" : "annc_index8", - "name" : { - "zh_tw" : "8. 標準文字列表 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )", - "en" : "8. Standard Text List (widget-title, postdate, category, status, title, subtitle)" - }, - "thumbnail" : "annc_index8_thumbs.png" - }, - { - "filename" : "annc_index9", - "name" : { - "zh_tw" : "9. 標準標題列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )", - "en" : "9. Standard Title List-1 (widget-title, category, status, title, postdate)" - }, - "thumbnail" : "annc_index9_thumbs.png" - }, - { - "filename" : "annc_index10", - "name" : { - "zh_tw" : "10. 標準標題列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )", - "en" : "10. Standard Title List-2 (widget-title, postdate, status, title, category)" - }, - "thumbnail" : "annc_index10_thumbs.png" - }, - { - "filename" : "annc_index11", - "name" : { - "zh_tw" : "11. 精簡標題列表-1 ( 模組標題, 狀態, 標題, 日期 )", - "en" : "11. Simple Title List-1 (widget-title, status, title, postdate)" - }, - "thumbnail" : "annc_index11_thumbs.png" - }, - { - "filename" : "annc_index12", - "name" : { - "zh_tw" : "12. 精簡標題列表-2 ( 模組標題, 日期, 狀態, 標題 )", - "en" : "12. Simple Title List-2 (widget-title, postdate, status, title)" - }, - "thumbnail" : "annc_index12_thumbs.png" - }, - { - "filename" : "annc_index13", - "name" : { - "zh_tw" : "13. 精簡表格列表-1 ( 模組標題, 狀態, 標題, 日期 )", - "en" : "13. Simple Table List (widget-title, status, title, postdate)" - }, - "thumbnail" : "annc_index13_thumbs.png" - }, - { - "filename" : "annc_index14", - "name" : { - "zh_tw" : "14. 精簡表格列表-2 ( 模組標題, 日期, 狀態, 標題 )", - "en" : "14. Simple Table List (widget-title, postdate, status, title)" - }, - "thumbnail" : "annc_index14_thumbs.png" - }, - { - "filename" : "annc_index15", - "name" : { - "zh_tw" : "15. 精簡表格列表-3 ( 模組標題, 日期, 狀態, 標題, 瀏覽人次 )", - "en" : "15. Simple Table List (widget-title, postdate, status, title, view-count)" - }, - "thumbnail" : "annc_index15_thumbs.png" - }, - { - "filename" : "annc_index16", - "name" : { - "zh_tw" : "16. 連結 + 附件表格列表 ( 模組標題, 類別, 狀態, 標題 )", - "en" : "16. Table List including Links and attachments (widget-title, category, status, title, view-count)" - }, - "thumbnail" : "annc_index16_thumbs.png" - } - ], - "widgets" : [ - { - "filename" : "annc_widget1", - "name" : { - "zh_tw" : "1. 標準圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "1. Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "annc_widget1_thumbs.png" - }, - { - "filename" : "annc_widget2", - "name" : { - "zh_tw" : "2. 左圖右文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "2. Balanced Image + Text(Left) (widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "annc_widget2_thumbs.png" - }, - { - "filename" : "annc_widget3", - "name" : { - "zh_tw" : "3. 右圖左文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "3. Balanced Image + Text(Right) (widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "annc_widget3_thumbs.png" - }, - { - "filename" : "annc_widget4", - "name" : { - "zh_tw" : "4. 三欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "4. 3-Column Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "annc_widget4_thumbs.png" - }, - { - "filename" : "annc_widget5", - "name" : { - "zh_tw" : "5. 標準文字列表 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )", - "en" : "5. Standard Text List (widget-title, postdate, category, status, title, subtitle)" - }, - "thumbnail" : "annc_widget5_thumbs.png" - }, - { - "filename" : "annc_widget6", - "name" : { - "zh_tw" : "6. 標準標題列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )", - "en" : "6. Standard Title List-1 (widget-title, category, status, title, postdate)" - }, - "thumbnail" : "annc_widget6_thumbs.png" - }, - { - "filename" : "annc_widget7", - "name" : { - "zh_tw" : "7. 標準標題列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )", - "en" : "7. Standard Title List-2 (widget-title, postdate, status, title, category)" - }, - "thumbnail" : "annc_widget7_thumbs.png" - }, - { - "filename" : "annc_widget8", - "name" : { - "zh_tw" : "8. 標準表格列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )", - "en" : "8. Standard Table List-1 (widget-title, category, status, title, postdate)" - }, - "thumbnail" : "annc_widget8_thumbs.png" - }, - { - "filename" : "annc_widget9", - "name" : { - "zh_tw" : "9. 標準表格列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )", - "en" : "9. Standard Table List-2 (widget-title, postdate, status, title, category)" - }, - "thumbnail" : "annc_widget9_thumbs.png" - }, - { - "filename" : "annc_widget10", - "name" : { - "zh_tw" : "10. 精簡標題列表-1 ( 模組標題, 狀態, 標題, 日期 )", - "en" : "10. Simple Title List-1 (widget-title, status, title, postdate)" - }, - "thumbnail" : "annc_widget10_thumbs.png" - }, - { - "filename" : "annc_widget11", - "name" : { - "zh_tw" : "11. 精簡標題列表-2 ( 模組標題, 日期, 狀態, 標題 )", - "en" : "11. Simple Title List-2 (widget-title, postdate, status, title)" - }, - "thumbnail" : "annc_widget11_thumbs.png" - }, - { - "filename" : "annc_widget12", - "name" : { - "zh_tw" : "12. 精簡表格列表-1 ( 模組標題, 狀態, 標題, 日期 )", - "en" : "12. Simple Table List (widget-title, status, title, postdate)" - }, - "thumbnail" : "annc_widget12_thumbs.png" - }, - { - "filename" : "annc_widget13", - "name" : { - "zh_tw" : "13. 精簡表格列表-2 ( 模組標題, 日期, 狀態, 標題 )", - "en" : "13. Simple Table List (widget-title, postdate, status, title)" - }, - "thumbnail" : "annc_widget13_thumbs.png" - }, - { - "filename" : "annc_widget14", - "name" : { - "zh_tw" : "14. 一圖 + 標題列表 ( 模組標題, 圖片, 狀態, 標題, 日期 )", - "en" : "14. 1 Image + Title List (widget-title, image, status, title, postdate)" - }, - "thumbnail" : "annc_widget14_thumbs.png" - } - ] + "frontend": [ + { + "filename": "annc_index1", + "name": { + "zh_tw": "1. 標準標題列表-1A ( 模組標題, 類別, 狀態, 標題, 日期 )", + "en": "1. Standard Title List-1 (widget-title, category, status, title, postdate)" + }, + "thumbnail": "annc_index1_thumbs.png" + }, + { + "filename": "annc_index2", + "name": { + "zh_tw": "2. 標準標題列表-1B ( 模組標題, 類別, 狀態, 標題, 日期, 瀏覽人次 )", + "en": "2. Standard Title List-1B (widget-title, category, status, title, postdate, view-count)" + }, + "thumbnail": "annc_index2_thumbs.png" + }, + { + "filename": "annc_index3", + "name": { + "zh_tw": "3. 標準表格列表-2A ( 模組標題, 日期, 狀態, 標題, 類別 )", + "en": "3. Standard Table List-2 (widget-title, postdate, status, title, category)" + }, + "thumbnail": "annc_index3_thumbs.png" + }, + { + "filename": "annc_index4", + "name": { + "zh_tw": "4. 標準表格列表-2B ( 模組標題, 日期, 狀態, 標題, 類別, 瀏覽人次 )", + "en": "4. Standard Table List-2 (widget-title, postdate, status, title, category, view-count)" + }, + "thumbnail": "annc_index4_thumbs.png" + }, + { + "filename": "annc_index5", + "name": { + "zh_tw": "5. 左圖右文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "5. Balanced Image + Text(Left) (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "annc_index5_thumbs.png" + }, + { + "filename": "annc_index6", + "name": { + "zh_tw": "6. 右圖左文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "6. Balanced Image + Text(Right) (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "annc_index6_thumbs.png" + }, + { + "filename": "annc_index7", + "name": { + "zh_tw": "7. 三欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "7. 3-Column Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "annc_index7_thumbs.png" + }, + { + "filename": "annc_index8", + "name": { + "zh_tw": "8. 標準文字列表 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )", + "en": "8. Standard Text List (widget-title, postdate, category, status, title, subtitle)" + }, + "thumbnail": "annc_index8_thumbs.png" + }, + { + "filename": "annc_index9", + "name": { + "zh_tw": "9. 標準標題列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )", + "en": "9. Standard Title List-1 (widget-title, category, status, title, postdate)" + }, + "thumbnail": "annc_index9_thumbs.png" + }, + { + "filename": "annc_index10", + "name": { + "zh_tw": "10. 標準標題列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )", + "en": "10. Standard Title List-2 (widget-title, postdate, status, title, category)" + }, + "thumbnail": "annc_index10_thumbs.png" + }, + { + "filename": "annc_index11", + "name": { + "zh_tw": "11. 精簡標題列表-1 ( 模組標題, 狀態, 標題, 日期 )", + "en": "11. Simple Title List-1 (widget-title, status, title, postdate)" + }, + "thumbnail": "annc_index11_thumbs.png" + }, + { + "filename": "annc_index12", + "name": { + "zh_tw": "12. 精簡標題列表-2 ( 模組標題, 日期, 狀態, 標題 )", + "en": "12. Simple Title List-2 (widget-title, postdate, status, title)" + }, + "thumbnail": "annc_index12_thumbs.png" + }, + { + "filename": "annc_index13", + "name": { + "zh_tw": "13. 精簡表格列表-1 ( 模組標題, 狀態, 標題, 日期 )", + "en": "13. Simple Table List (widget-title, status, title, postdate)" + }, + "thumbnail": "annc_index13_thumbs.png" + }, + { + "filename": "annc_index14", + "name": { + "zh_tw": "14. 精簡表格列表-2 ( 模組標題, 日期, 狀態, 標題 )", + "en": "14. Simple Table List (widget-title, postdate, status, title)" + }, + "thumbnail": "annc_index14_thumbs.png" + }, + { + "filename": "annc_index15", + "name": { + "zh_tw": "15. 精簡表格列表-3 ( 模組標題, 日期, 狀態, 標題, 瀏覽人次 )", + "en": "15. Simple Table List (widget-title, postdate, status, title, view-count)" + }, + "thumbnail": "annc_index15_thumbs.png" + }, + { + "filename": "annc_index16", + "name": { + "zh_tw": "16. 連結 + 附件表格列表 ( 模組標題, 類別, 狀態, 標題 )", + "en": "16. Table List including Links and attachments (widget-title, category, status, title, view-count)" + }, + "thumbnail": "annc_index16_thumbs.png" + } + ], + "widgets": [ + { + "filename": "annc_widget1", + "name": { + "zh_tw": "1. 標準圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "1. Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "annc_widget1_thumbs.png" + }, + { + "filename": "annc_widget2", + "name": { + "zh_tw": "2. 左圖右文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "2. Balanced Image + Text(Left) (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "annc_widget2_thumbs.png" + }, + { + "filename": "annc_widget3", + "name": { + "zh_tw": "3. 右圖左文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "3. Balanced Image + Text(Right) (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "annc_widget3_thumbs.png" + }, + { + "filename": "annc_widget4", + "name": { + "zh_tw": "4. 三欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "4. 3-Column Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "annc_widget4_thumbs.png" + }, + { + "filename": "annc_widget5", + "name": { + "zh_tw": "5. 標準文字列表 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )", + "en": "5. Standard Text List (widget-title, postdate, category, status, title, subtitle)" + }, + "thumbnail": "annc_widget5_thumbs.png" + }, + { + "filename": "annc_widget6", + "name": { + "zh_tw": "6. 標準標題列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )", + "en": "6. Standard Title List-1 (widget-title, category, status, title, postdate)" + }, + "thumbnail": "annc_widget6_thumbs.png" + }, + { + "filename": "annc_widget7", + "name": { + "zh_tw": "7. 標準標題列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )", + "en": "7. Standard Title List-2 (widget-title, postdate, status, title, category)" + }, + "thumbnail": "annc_widget7_thumbs.png" + }, + { + "filename": "annc_widget8", + "name": { + "zh_tw": "8. 標準表格列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )", + "en": "8. Standard Table List-1 (widget-title, category, status, title, postdate)" + }, + "thumbnail": "annc_widget8_thumbs.png" + }, + { + "filename": "annc_widget9", + "name": { + "zh_tw": "9. 標準表格列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )", + "en": "9. Standard Table List-2 (widget-title, postdate, status, title, category)" + }, + "thumbnail": "annc_widget9_thumbs.png" + }, + { + "filename": "annc_widget10", + "name": { + "zh_tw": "10. 精簡標題列表-1 ( 模組標題, 狀態, 標題, 日期 )", + "en": "10. Simple Title List-1 (widget-title, status, title, postdate)" + }, + "thumbnail": "annc_widget10_thumbs.png" + }, + { + "filename": "annc_widget11", + "name": { + "zh_tw": "11. 精簡標題列表-2 ( 模組標題, 日期, 狀態, 標題 )", + "en": "11. Simple Title List-2 (widget-title, postdate, status, title)" + }, + "thumbnail": "annc_widget11_thumbs.png" + }, + { + "filename": "annc_widget12", + "name": { + "zh_tw": "12. 精簡表格列表-1 ( 模組標題, 狀態, 標題, 日期 )", + "en": "12. Simple Table List (widget-title, status, title, postdate)" + }, + "thumbnail": "annc_widget12_thumbs.png" + }, + { + "filename": "annc_widget13", + "name": { + "zh_tw": "13. 精簡表格列表-2 ( 模組標題, 日期, 狀態, 標題 )", + "en": "13. Simple Table List (widget-title, postdate, status, title)" + }, + "thumbnail": "annc_widget13_thumbs.png" + }, + { + "filename": "annc_widget14", + "name": { + "zh_tw": "14. 一圖 + 標題列表 ( 模組標題, 圖片, 狀態, 標題, 日期 )", + "en": "14. 1 Image + Title List (widget-title, image, status, title, postdate)" + }, + "thumbnail": "annc_widget14_thumbs.png" + }, + { + "filename": "annc_widget15", + "name": { + "zh_tw": "15.5. 三欄圖文-slide ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "15.5. 3-Column Standard Image + Text -slide(widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "annc_widget4_thumbs.png" + }, + { + "filename": "annc_widget16", + "name": { + "zh_tw": "16. 三欄圖文精簡版 ( 模組標題, 標題, 副標題(只顯示15字) )", + "en": "16. 3-Column Standard Image + Text Lite (widget-title, title, subtitle(only display 15 words))" + }, + "thumbnail": "annc_widget4_thumbs.png" + }, + { + "filename": "annc_widget17", + "name": { + "zh_tw": "17. 單欄圖文輪播 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題 )", + "en": "17. Image + Text slide (widget-title, image, status, postdate, category, title)" + }, + "thumbnail": "annc_widget1_thumbs.png" + }, + { + "filename": "annc_widget18", + "name": { + "zh_tw": "18. 含搜尋功能之精簡標題列表-2 ( 模組標題, 日期, 狀態, 標題 )", + "en": "18. Simple Title List-2 (widget-title, postdate, status, title), including search" + }, + "thumbnail": "annc_widget11_thumbs.png" + } + ] } \ No newline at end of file diff --git a/modules/announcement/show.html.erb b/modules/announcement/show.html.erb index 1caf227..981db72 100644 --- a/modules/announcement/show.html.erb +++ b/modules/announcement/show.html.erb @@ -44,9 +44,169 @@ + {{link_to_edit}} - + \ No newline at end of file diff --git a/modules/archive/archive_index7.html.erb b/modules/archive/archive_index7.html.erb new file mode 100644 index 0000000..cd4449f --- /dev/null +++ b/modules/archive/archive_index7.html.erb @@ -0,0 +1,60 @@ +
    +

    + {{page-title}} +

    +
    +

    {{category-title}}

    +
    +
    +
    上傳日期
    +
    標題
    +
    {{description-head}}
    +
    檔案下載
    +
    +
    +
    +
    +
    {{created_at}}
    +
    + {{archive-title}} + + {{status}} + +
    +
    {{description}}
    + +
    +
    +
    +
    +
    +
    + + + \ No newline at end of file diff --git a/modules/archive/archive_index8.html.erb b/modules/archive/archive_index8.html.erb new file mode 100644 index 0000000..6e6ef93 --- /dev/null +++ b/modules/archive/archive_index8.html.erb @@ -0,0 +1,48 @@ +
    +

    + {{page-title}} +

    +
    +

    {{category-title}}

    +
    +
    +
    上傳日期
    +
    標題
    +
    {{description-head}}
    +
    檔案下載
    +
    +
    +
    +
    +
    {{created_at}}
    +
    +
    +
    + {{file-name}} + + {{status}} + +
    +
    +
    +
    {{description}}
    +
    + +
    +
    +
    +
    +
    +
    +
    + + + \ No newline at end of file diff --git a/modules/archive/info.json b/modules/archive/info.json index 3ccb465..f3147b0 100644 --- a/modules/archive/info.json +++ b/modules/archive/info.json @@ -1,54 +1 @@ -{ - "frontend": [ - { - "filename" : "archive_index1", - "name" : { - "zh_tw" : "1. 列表 ( 模組標題, 類別標題, 檔案名稱, 下載連結 )", - "en" : "1. List (widget-title, category, filename, download link)" - }, - "thumbnail" : "thumb.png" - }, - { - "filename" : "archive_index2", - "name" : { - "zh_tw" : "2. 手風琴式列表 ( 模組標題, 類別標題, 檔案名稱, 下載連結 )", - "en" : "2. Accordion list (widget-title, category, filename, download link)" - }, - "thumbnail" : "thumb.png" - }, - { - "filename" : "archive_index3", - "name" : { - "zh_tw" : "3. 列表( 無檔案名稱 ) ( 模組標題, 類別標題, 下載連結 )", - "en" : "3. List(no filename) (widget-title, category, download link)" - }, - "thumbnail" : "thumb.png" - }, - { - "filename" : "archive_index4", - "name" : { - "zh_tw" : "4. 手風琴式列表( 無檔案名稱 ( 模組標題, 類別標題, 下載連結 )", - "en" : "4. Accordion list(no filename) (widget-title, category, download link)" - }, - "thumbnail" : "thumb.png" - } - ], - "widgets" : [ - { - "filename" : "archive_widget1", - "name" : { - "zh_tw" : "1. 列表 ( 模組標題, 類別標題, 檔案名稱, 下載頁面連結 )", - "en" : "1. List (widget-title, category, link of download page)" - }, - "thumbnail" : "thumb.png" - }, - { - "filename" : "archive_widget2", - "name" : { - "zh_tw" : "2. 手風琴式列表 ( 模組標題, 類別標題, 下載頁面連結 )", - "en" : "2. Accordion list (widget-title, category, link of download page)" - }, - "thumbnail" : "thumb.png" - } - ] -} \ No newline at end of file +{"frontend":[{"filename":"archive_index1","name":{"zh_tw":"1. 列表 ( 模組標題, 類別標題, 檔案名稱, 下載連結 )","en":"1. List (widget-title, category, filename, download link)"},"thumbnail":"thumb.png"},{"filename":"archive_index2","name":{"zh_tw":"2. 手風琴式列表 ( 模組標題, 類別標題, 檔案名稱, 下載連結 )","en":"2. Accordion list (widget-title, category, filename, download link)"},"thumbnail":"thumb.png"},{"filename":"archive_index3","name":{"zh_tw":"3. 列表( 無檔案名稱 ) ( 模組標題, 類別標題, 下載連結 )","en":"3. List(no filename) (widget-title, category, download link)"},"thumbnail":"thumb.png"},{"filename":"archive_index4","name":{"zh_tw":"4. 手風琴式列表( 無檔案名稱 ( 模組標題, 類別標題, 下載連結 )","en":"4. Accordion list(no filename) (widget-title, category, download link)"},"thumbnail":"thumb.png"},{"filename":"archive_index7","name":{"zh_tw":"7. 表格列表 ( 模組標題, 類別標題, 檔案名稱, 檔案簡介, 下載連結 )","en":"7. Table list (widget-title, category, filename, download link)"},"thumbnail":"ar5.png"},{"filename":"archive_index8","name":{"zh_tw":"8. 表格列表 ( 模組標題, 檔案名稱, 檔案簡介, 下載連結 )","en":"8. Table list (widget-title, filename, download link)"},"thumbnail":"ar5.png"}],"widgets":[{"filename":"archive_widget1","name":{"zh_tw":"1. 列表 ( 模組標題, 類別標題, 檔案名稱, 下載頁面連結 )","en":"1. List (widget-title, category, link of download page)"},"thumbnail":"thumb.png"},{"filename":"archive_widget2","name":{"zh_tw":"2. 手風琴式列表 ( 模組標題, 類別標題, 下載頁面連結 )","en":"2. Accordion list (widget-title, category, link of download page)"},"thumbnail":"thumb.png"}]} \ No newline at end of file diff --git a/modules/faq/faq_index2.html.erb b/modules/faq/faq_index2.html.erb new file mode 100644 index 0000000..cce43c1 --- /dev/null +++ b/modules/faq/faq_index2.html.erb @@ -0,0 +1,31 @@ +
    +

    + {{page-title}} +

    + +
    +{{pagination_goes_here}} + + \ No newline at end of file diff --git a/modules/gallery/_gallery_widget3.html.erb b/modules/gallery/_gallery_widget3.html.erb new file mode 100644 index 0000000..0400a9b --- /dev/null +++ b/modules/gallery/_gallery_widget3.html.erb @@ -0,0 +1,33 @@ + diff --git a/modules/gallery/_gallery_widget4.html.erb b/modules/gallery/_gallery_widget4.html.erb new file mode 100644 index 0000000..67da31d --- /dev/null +++ b/modules/gallery/_gallery_widget4.html.erb @@ -0,0 +1,38 @@ + \ No newline at end of file diff --git a/modules/gallery/_gallery_widget5.html.erb b/modules/gallery/_gallery_widget5.html.erb new file mode 100644 index 0000000..70896f8 --- /dev/null +++ b/modules/gallery/_gallery_widget5.html.erb @@ -0,0 +1,72 @@ + + + + \ No newline at end of file diff --git a/modules/gallery/gallery_index5.html.erb b/modules/gallery/gallery_index5.html.erb new file mode 100644 index 0000000..051a164 --- /dev/null +++ b/modules/gallery/gallery_index5.html.erb @@ -0,0 +1,32 @@ + +{{pagination_goes_here}} diff --git a/modules/gallery/info.json b/modules/gallery/info.json index ba96b1c..fbf4ac8 100644 --- a/modules/gallery/info.json +++ b/modules/gallery/info.json @@ -31,6 +31,14 @@ "en" : "4. Thumbnail ( gallery thumbnail, page navigation )" }, "thumbnail" : "thumb.png" + }, + { + "filename" : "gallery_index5", + "name" : { + "zh_tw" : "5. 卡片", + "en" : "5. Card" + }, + "thumbnail" : "thumb.png" } ], "widgets" : [ @@ -45,8 +53,32 @@ { "filename" : "gallery_widget2", "name" : { - "zh_tw" : "2. 相本排版", - "en" : "2. Thumbnail" + "zh_tw" : "2. 相本排版 ( 模組標題, 圖片 )", + "en" : "2. Thumbnail (widget-title, image)" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "gallery_widget3", + "name" : { + "zh_tw" : "3. 單本相簿跑馬燈 ( 圖片 )", + "en" : "3. Single Picture With Carousel Effect (image)" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "gallery_widget4", + "name" : { + "zh_tw" : "4. 卡片", + "en" : "4. Card" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "gallery_widget5", + "name" : { + "zh_tw" : "5. 投影片式輪播", + "en" : "5. Slide" }, "thumbnail" : "thumb.png" } diff --git a/modules/gallery/show.html.erb b/modules/gallery/show.html.erb index f3083ff..2cb9386 100644 --- a/modules/gallery/show.html.erb +++ b/modules/gallery/show.html.erb @@ -7,7 +7,7 @@
    - + {{alt_title}}

    {{image-description}}

    diff --git a/modules/web_resource/_web_res_widget1.html.erb b/modules/web_resource/_web_res_widget1.html.erb index 88e4ed3..5b3ef48 100644 --- a/modules/web_resource/_web_res_widget1.html.erb +++ b/modules/web_resource/_web_res_widget1.html.erb @@ -4,7 +4,7 @@
    • - {{title}} + {{title}} {{status}} diff --git a/modules/web_resource/_web_res_widget2.html.erb b/modules/web_resource/_web_res_widget2.html.erb new file mode 100644 index 0000000..b85221e --- /dev/null +++ b/modules/web_resource/_web_res_widget2.html.erb @@ -0,0 +1,18 @@ + + \ No newline at end of file diff --git a/modules/web_resource/info.json b/modules/web_resource/info.json index 253d909..df326f5 100644 --- a/modules/web_resource/info.json +++ b/modules/web_resource/info.json @@ -1,22 +1,38 @@ -{ - "frontend": [ - { - "filename" : "web_res_index1", - "name" : { - "zh_tw" : "1. 列表 ( 模組標題, 連結, 連結說明 )", - "en" : "1. List (widget-title, link, link description)" - }, - "thumbnail" : "thumb.png" - } - ], - "widgets" : [ - { - "filename" : "web_res_widget1", - "name" : { - "zh_tw" : "1. 列表 ( 模組標題, 連結 )", - "en" : "1. List (widget-title, link)" - }, - "thumbnail" : "thumb.png" - } - ] +{ + "frontend": [ + { + "filename" : "web_res_index1", + "name" : { + "zh_tw" : "1. 列表 ( 模組標題, 連結, 連結說明 )", + "en" : "1. List (widget-title, link, link description)" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "web_res_index2", + "name" : { + "zh_tw" : "2. 三欄式列表 ( 模組標題, 連結, 連結說明 )", + "en" : "2. 3 column List (widget-title, link, link description)" + }, + "thumbnail" : "thumb.png" + } + ], + "widgets" : [ + { + "filename" : "web_res_widget1", + "name" : { + "zh_tw" : "1. 直式列表 ( 模組標題, 連結 )", + "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" + } + ] } \ No newline at end of file diff --git a/modules/web_resource/web_res_index1.html.erb b/modules/web_resource/web_res_index1.html.erb index 2ba1beb..f225a23 100644 --- a/modules/web_resource/web_res_index1.html.erb +++ b/modules/web_resource/web_res_index1.html.erb @@ -1,11 +1,11 @@