From 7d08a012203bca112f5847c7d4b058eb9d680b25 Mon Sep 17 00:00:00 2001 From: rulingcom Date: Wed, 13 Oct 2021 07:31:07 +0000 Subject: [PATCH] update template --- modules/announcement/show.html.erb | 280 +---------------------- modules/archive/archive_index10.html.erb | 32 +++ modules/archive/archive_index11.html.erb | 34 +++ modules/archive/archive_index7.html.erb | 15 +- modules/archive/archive_index8.html.erb | 20 +- modules/archive/archive_index9.html.erb | 30 +++ modules/archive/info.json | 111 ++++++++- modules/archive/thumbs/ar9.png | Bin 0 -> 1690 bytes 8 files changed, 219 insertions(+), 303 deletions(-) create mode 100644 modules/archive/archive_index10.html.erb create mode 100644 modules/archive/archive_index11.html.erb create mode 100644 modules/archive/archive_index9.html.erb create mode 100644 modules/archive/thumbs/ar9.png diff --git a/modules/announcement/show.html.erb b/modules/announcement/show.html.erb index 4f0adf9..03a8232 100644 --- a/modules/announcement/show.html.erb +++ b/modules/announcement/show.html.erb @@ -11,17 +11,6 @@ .s-annc__sub-img.pull-left { margin-right: 2em; } - strong.carousel__description { - color: white; - } - .carousel_images{ - {{carousel_display_style}} - } - @media (max-width: 767px){ - .carousel_images{ - width: 100%; - } - }

{{title}}

@@ -51,7 +40,7 @@
{{subtitle_ann}}
{{body}}
- +
{{sub_anncs_text}}
- - +{{carousel_html}} {{link_to_edit}} - \ No newline at end of file diff --git a/modules/archive/archive_index10.html.erb b/modules/archive/archive_index10.html.erb new file mode 100644 index 0000000..c585b12 --- /dev/null +++ b/modules/archive/archive_index10.html.erb @@ -0,0 +1,32 @@ +
+

+ {{page-title}} +

+
+

{{category-title}}

+ + + + + + + + + + + + + + + + +
{{serial_number-head}}{{title-head}}{{file-head}}
{{idx}} + {{archive-title}} + + {{status}} + + + {{file-type}} +
+
+
\ No newline at end of file diff --git a/modules/archive/archive_index11.html.erb b/modules/archive/archive_index11.html.erb new file mode 100644 index 0000000..1ba6aa7 --- /dev/null +++ b/modules/archive/archive_index11.html.erb @@ -0,0 +1,34 @@ +
+

+ {{page-title}} +

+
+

{{category-title}}

+ + + + + + + + + + + + + + + + + + + +
{{serial_number-head}}{{title-head}}{{file-head}}
+ {{serial_number}} + + {{file-name}} + + {{file-type}} +
+
+
\ No newline at end of file diff --git a/modules/archive/archive_index7.html.erb b/modules/archive/archive_index7.html.erb index cd4449f..097115b 100644 --- a/modules/archive/archive_index7.html.erb +++ b/modules/archive/archive_index7.html.erb @@ -6,23 +6,23 @@

{{category-title}}

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

+ {{page-title}} +

+
+

{{category-title}}

+ + + + + + + + + + + + + + + + + +
{{title-head}}{{file-head}}
+ {{file-name}} + + {{file-type}} +
+
+
\ No newline at end of file diff --git a/modules/archive/info.json b/modules/archive/info.json index e3fa484..a88c353 100644 --- a/modules/archive/info.json +++ b/modules/archive/info.json @@ -1 +1,110 @@ -{"frontend":[{"filename":"archive_index1","name":{"zh_tw":"1. 列表 ( 模組標題, 類別標題, 檔案名稱, 下載連結 )","en":"1. List (widget-title, category, filename, download link)"},"thumbnail":"ar1.png"},{"filename":"archive_index2","name":{"zh_tw":"2. 手風琴式列表 ( 模組標題, 類別標題, 檔案名稱, 下載連結 )","en":"2. Accordion list (widget-title, category, filename, download link)"},"thumbnail":"ar2.png"},{"filename":"archive_index3","name":{"zh_tw":"3. 列表( 無檔案名稱 ) ( 模組標題, 類別標題, 下載連結 )","en":"3. List(no filename) (widget-title, category, download link)"},"thumbnail":"ar3.png"},{"filename":"archive_index4","name":{"zh_tw":"4. 手風琴式列表( 無檔案名稱 ( 模組標題, 類別標題, 下載連結 )","en":"4. Accordion list(no filename) (widget-title, category, download link)"},"thumbnail":"ar4.png"},{"filename":"archive_index5","name":{"zh_tw":"5. 表格列表 ( 模組標題, 類別標題, 檔案名稱, 下載連結 )","en":"5. Table list (widget-title, category, filename, download link)"},"thumbnail":"ar5.png"},{"filename":"archive_index6","name":{"zh_tw":"6. 表格列表 ( 模組標題, 檔案名稱, 下載連結 )","en":"6. Table list (widget-title, filename, download link)"},"thumbnail":"ar5.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 +{ + "frontend": [ + { + "filename": "archive_index1", + "name": { + "zh_tw": "1. 列表 ( 模組標題, 類別標題, 檔案名稱, 下載連結 )", + "en": "1. List (widget-title, category, filename, download link)" + }, + "thumbnail": "ar1.png" + }, + { + "filename": "archive_index2", + "name": { + "zh_tw": "2. 手風琴式列表 ( 模組標題, 類別標題, 檔案名稱, 下載連結 )", + "en": "2. Accordion list (widget-title, category, filename, download link)" + }, + "thumbnail": "ar2.png" + }, + { + "filename": "archive_index3", + "name": { + "zh_tw": "3. 列表( 無檔案名稱 ) ( 模組標題, 類別標題, 下載連結 )", + "en": "3. List(no filename) (widget-title, category, download link)" + }, + "thumbnail": "ar3.png" + }, + { + "filename": "archive_index4", + "name": { + "zh_tw": "4. 手風琴式列表( 無檔案名稱 ( 模組標題, 類別標題, 下載連結 )", + "en": "4. Accordion list(no filename) (widget-title, category, download link)" + }, + "thumbnail": "ar4.png" + }, + { + "filename": "archive_index5", + "name": { + "zh_tw": "5. 表格列表 ( 模組標題, 類別標題, 檔案名稱, 下載連結 )", + "en": "5. Table list (widget-title, category, filename, download link)" + }, + "thumbnail": "ar5.png" + }, + { + "filename": "archive_index6", + "name": { + "zh_tw": "6. 表格列表 ( 模組標題, 檔案名稱, 下載連結 )", + "en": "6. Table list (widget-title, filename, download link)" + }, + "thumbnail": "ar5.png" + }, + { + "filename": "archive_index7", + "name": { + "zh_tw": "7. 表格列表 ( 模組標題, 類別標題, 上傳日期, 檔案名稱, 檔案簡介, 下載連結 )", + "en": "7. Table list (widget-title, category, Updated At, filename, download link)" + }, + "thumbnail": "ar5.png" + }, + { + "filename": "archive_index8", + "name": { + "zh_tw": "8. 表格列表 ( 模組標題, 上傳日期, 檔案名稱, 檔案簡介, 下載連結 )", + "en": "8. Table list (widget-title, Updated At, filename, download link)" + }, + "thumbnail": "ar5.png" + }, + { + "filename": "archive_index9", + "name": { + "zh_tw": "9. 表格列表 - 簡約 ( 模組標題, 檔案名稱, 下載連結 )", + "en": "9. Table list - Simple (widget-title, download link)" + }, + "thumbnail": "ar9.png" + }, + { + "filename": "archive_index10", + "name": { + "zh_tw": "10. 表格列表 ( 模組標題, 類別標題, 編號, 檔案名稱, 下載連結 )", + "en": "10. Table list (widget-title, category, Serial Number, filename, download link)" + }, + "thumbnail": "ar5.png" + }, + { + "filename": "archive_index11", + "name": { + "zh_tw": "11. 表格列表 - 簡約 - 展開檔案 ( 模組標題, 類別標題, 編號, 檔案名稱, 下載連結 )", + "en": "11. Table list - Simple - Unfold Files (widget-title, category, Serial Number, filename, download link)" + }, + "thumbnail": "ar9.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/archive/thumbs/ar9.png b/modules/archive/thumbs/ar9.png new file mode 100644 index 0000000000000000000000000000000000000000..8b11bb77498b603ac9078de8943a2bb1614e8886 GIT binary patch literal 1690 zcmaJ?X;hL~7zVXWojf|9N{bn8TtM6q=W}U}Ge73X{qDKnz4v*S=Xu{t---8MslP@a z0)eay48ZON=Mr!TR%n6Wz|6xpzzIs;?e7iYHJbN<3!OL&4g(%y8mNC*2Cnsz0>a4< zh+)m#fIdmQ7XyJTcMim2_EHYYKLjTbLRO`Z+^9$XvT2Ns29Hc12Ma}(ap%Sht3S8CSGVrXq9Zf zLGIp^n#Q1zbqTo&iuB>;)xnc3!US8msI=4yeH0J~1a-z12sWFY0uMLA5#f~U#XMd= z#&;Haf@cs8C=`k*1Nfi#+x&+Qi*=Dddf$KDtj+Se=Jy*0;1jjXaF6o!_93ARL}Zf= z7hu^%mzgN0ya*d2#Vn#V&nTL=r|CGa2Ow15!FL7+7?PnuJ+b##8p=ztLurkMS ztfc?*dkigZ7nc007Cy<2l&AXwd;;!itgg%XRpgsNOfJ2q#%HE0Eymb;hvi>{qGs!a ze8n=jR}vcPNHx33W>+MA@;;u==J}+IoF2+#j@eY79`9$5?zwQ_fok^1fn%bf&Id}) ze(GJ#Q`2p|J7UwOEXv#ShLM&7&jr$|f(^!v&gfJ}Gz!;NJ`z+hmZ%BJo8X#jdoAR& zpldj3V#weHc7NxwO1Cu@L*y*AdQ8-zAg}1{E4p>n1?JwZJH58>Wk_>RTvsE)2vfj)nI&gQ~(?`$!?Fzdda_#^!80tGEl2DQPYp5GJQ?)eTS7aV-l^V7`C%sARz zJ|2ENKe@epcX6nYeu_Hu=6h!|XXS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