diff --git a/assets/images/design_thumb.png b/assets/images/design_thumb.png index 1c2a89a..f232b93 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 deleted file mode 100644 index e1f6687..0000000 --- a/assets/stylesheets/template/base/_autobackup.bak +++ /dev/null @@ -1,61 +0,0 @@ - -.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; -} -.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; -} -.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; -} -.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 2134258..a3c4dff 100644 --- a/assets/stylesheets/template/base/_variables.scss +++ b/assets/stylesheets/template/base/_variables.scss @@ -25,7 +25,7 @@ $sub-font: "Roboto", "新細明體", "Helvetica Neue", Helvetica, sans-serif; // Font sizes $font-15: 0.9375rem; -$font-13: 0.8125rem; +$font-13: 0.9rem; $font-h1: 1.5rem; $font-h2: 1.35rem; @@ -99,6 +99,13 @@ $border-width: 4px; + + + + + + + diff --git a/assets/stylesheets/template/layout/content.scss b/assets/stylesheets/template/layout/content.scss index 3c1854b..4205ee7 100644 --- a/assets/stylesheets/template/layout/content.scss +++ b/assets/stylesheets/template/layout/content.scss @@ -34,25 +34,28 @@ background-color: #ebeae6; margin: 0; @media (min-width: $screen-lg) { - background: url(/assets/home-rowbg.jpg) right top repeat-y #ebeae6; + background-color: #ebeae6; } } } .layout-content-boxR { - padding: 30px 30px; + padding: 10px; @media (min-width: $screen-sm){ - padding: 30px 50px; + padding: 10px } } - - .layout-content-boxL { - padding: 30px 30px; - background: #8A8782; - @media (min-width: $screen-sm){ - padding: 30px 30px; - } - } + .page-home .layout-content .layout-content-boxL { + margin-top: 20px; + margin-left: -10px; + padding: 5px 10px 5px; + border-top-left-radius: 10px; + border-top-right-radius: 10px; + background-color: #49ccc1; + @media (min-width: $screen-sm){ + padding: 10px; + } + } } } diff --git a/assets/stylesheets/template/modules/announcement.scss b/assets/stylesheets/template/modules/announcement.scss index 51eb221..d4a3b94 100644 --- a/assets/stylesheets/template/modules/announcement.scss +++ b/assets/stylesheets/template/modules/announcement.scss @@ -153,6 +153,7 @@ h3.w-annc__widget-title { .w-annc__item { margin-bottom: 0.8em; padding-bottom: 0.8em; + padding-top: 0.8em; border-bottom: 1px dashed lighten($theme-gray, 65%); } @@ -208,7 +209,7 @@ h3.w-annc__widget-title { .widget-announcement-8 { .w-annc__th { color: #fff; - background: $theme-color-main; + background: #bd7426; font-size: 0.8125em; border: none; } @@ -256,6 +257,7 @@ h3.w-annc__widget-title { .w-annc__item { margin-bottom: 0.8em; padding-bottom: 0.8em; + padding-top: 0.8em; border-bottom: 1px dashed lighten($theme-gray, 65%); } diff --git a/assets/stylesheets/template/modules/menu.scss b/assets/stylesheets/template/modules/menu.scss index 5974fd3..605d563 100644 --- a/assets/stylesheets/template/modules/menu.scss +++ b/assets/stylesheets/template/modules/menu.scss @@ -6,20 +6,20 @@ font-family: $sub-font; max-height: none; margin-bottom: 20px; - background-color: #333; + background-color: #e2d6b2; li { white-space: nowrap; & > a, & > .fa { - color: $theme-white; + color: #7d5b21; } &:hover { & > a, & > .fa { - color: $theme-white; + color: #7d3621; text-decoration: none; } } @@ -56,11 +56,11 @@ } .dropdown-toggle-icon.level-1 { - background-color: lighten($theme-gray, 10%); + background-color: #d0bf8f; } .dropdown-toggle-icon.level-2 { - background-color: lighten($theme-gray, 10%); + background-color: #d0bf8f; } & > li { @@ -77,10 +77,11 @@ } &:hover { - background-color: $theme-color-main; + background-color: #d0bf8f; & > a { background-color: transparent; + color: #fff; } @media (min-width: $screen-sm) { @@ -90,7 +91,7 @@ @media (min-width: $screen-sm) { position: relative; - margin: 0 8px; + margin: 0 4px; padding: 0; border-bottom: none; &:hover a{ diff --git a/assets/stylesheets/template/modules/web_resource.scss b/assets/stylesheets/template/modules/web_resource.scss index bf8487b..5af9e27 100644 --- a/assets/stylesheets/template/modules/web_resource.scss +++ b/assets/stylesheets/template/modules/web_resource.scss @@ -15,7 +15,7 @@ } .widget-content { line-height: 1.3em; - margin-bottom: 5px; + margin-bottom: 8px; @media (min-width: $screen-xs)and(max-width: $screen-lg){ width:50%; float: left; diff --git a/assets/stylesheets/template/template.scss b/assets/stylesheets/template/template.scss index 45d1b8b..ec95a9d 100644 --- a/assets/stylesheets/template/template.scss +++ b/assets/stylesheets/template/template.scss @@ -60,4 +60,38 @@ img.w-ba-banner__image { width: 100%; margin: 5px 0 0 0px; } - +.tab-content { + margin: 0 15px; +} +.filter_tab { + background: transparent!important; +} +.w-annc h3.w-annc__widget-title span { + color: #999!important; +} +li.filter_tab.active { + border: 2px solid #999!important; + border-bottom-color: #999!important; +} +aside .list-unstyled { + background-color: #afaba2; + margin-left: -15px; + margin-right: -15px; + padding: 15px; +} +aside.layout-content-boxL.aside.col-lg-3 { + background-color: rgb(116, 157, 177); + padding-bottom: 20px; + border-radius: 10px; + margin-top: 20px; + margin-left: -10px; +} +li.widget-content:before { + content: " "; + display: inline-block; + border-radius: 50px; + background: #ffee6f; + margin-right: 10px; + height: 10px; + width: 10px; +} \ No newline at end of file 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_widget17.html.erb b/modules/announcement/_annc_widget17.html.erb new file mode 100644 index 0000000..3d66823 --- /dev/null +++ b/modules/announcement/_annc_widget17.html.erb @@ -0,0 +1,131 @@ +
    +
    +

    + {{widget-title}} +

    + <%= (I18n.locale.to_s =="zh_tw") ? "更多最新消息" : "More NEWS" %> +
    +
    + + +
    + +
    + + diff --git a/modules/announcement/_annc_widget18.html.erb b/modules/announcement/_annc_widget18.html.erb new file mode 100644 index 0000000..f93db42 --- /dev/null +++ b/modules/announcement/_annc_widget18.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_widget19.html.erb b/modules/announcement/_annc_widget19.html.erb new file mode 100644 index 0000000..c72fa98 --- /dev/null +++ b/modules/announcement/_annc_widget19.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_widget20.html.erb b/modules/announcement/_annc_widget20.html.erb new file mode 100644 index 0000000..cb7b210 --- /dev/null +++ b/modules/announcement/_annc_widget20.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 9433471..6a3b227 100644 --- a/modules/announcement/info.json +++ b/modules/announcement/info.json @@ -1,264 +1,294 @@ { - "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. 首頁焦點公告樣式 ( 標題, 副標題 )", - "en" : "15. home Standard Text List (title, subtitle)" - }, - "thumbnail" : "annc_widget5_thumbs.png" - } - , - { - "filename" : "annc_widget16", - "name" : { - "zh_tw" : "16. 首頁公告列表 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )", - "en" : "16. home Standard Text List (widget-title, postdate, category, status, title, subtitle)" - }, - "thumbnail" : "annc_widget5_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. 首頁焦點公告樣式 ( 標題, 副標題 )", + "en": "15. home Standard Text List (title, subtitle)" + }, + "thumbnail": "annc_widget5_thumbs.png" + }, + { + "filename": "annc_widget16", + "name": { + "zh_tw": "16. 首頁公告列表 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )", + "en": "16. home Standard Text List (widget-title, postdate, category, status, title, subtitle)" + }, + "thumbnail": "annc_widget5_thumbs.png" + }, + { + "filename": "annc_widget17", + "name": { + "zh_tw": "17.5. 三欄圖文-slide ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "17.5. 3-Column Standard Image + Text -slide(widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "annc_widget4_thumbs.png" + }, + { + "filename": "annc_widget18", + "name": { + "zh_tw": "18. 三欄圖文精簡版 ( 模組標題, 標題, 副標題(只顯示15字) )", + "en": "18. 3-Column Standard Image + Text Lite (widget-title, title, subtitle(only display 15 words))" + }, + "thumbnail": "annc_widget4_thumbs.png" + }, + { + "filename": "annc_widget19", + "name": { + "zh_tw": "19. 單欄圖文輪播 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題 )", + "en": "19. Image + Text slide (widget-title, image, status, postdate, category, title)" + }, + "thumbnail": "annc_widget1_thumbs.png" + }, + { + "filename": "annc_widget20", + "name": { + "zh_tw": "20. 含搜尋功能之精簡標題列表-2 ( 模組標題, 日期, 狀態, 標題 )", + "en": "20. 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 82a9a94..5b3ef48 100644 --- a/modules/web_resource/_web_res_widget1.html.erb +++ b/modules/web_resource/_web_res_widget1.html.erb @@ -4,13 +4,10 @@ -
    \ No newline at end of file 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 @@