From 0b5ccce1ffabea97345f60b093db8f2243f7812b Mon Sep 17 00:00:00 2001 From: rulingcom Date: Tue, 1 Nov 2022 00:24:18 +0800 Subject: [PATCH] Updated. --- modules/archive/_archive_widget3.html.erb | 29 +++++++++++ modules/archive/_archive_widget4.html.erb | 51 +++++++++++++++++++ modules/archive/archive_index9.html.erb | 19 ++++--- modules/archive/info.json | 16 ++++++ .../web_resource/_web_res_widget4.html.erb | 5 +- .../web_resource/_web_res_widget5.html.erb | 8 +-- .../web_resource/_web_res_widget6.html.erb | 6 +-- 7 files changed, 117 insertions(+), 17 deletions(-) create mode 100644 modules/archive/_archive_widget3.html.erb create mode 100644 modules/archive/_archive_widget4.html.erb diff --git a/modules/archive/_archive_widget3.html.erb b/modules/archive/_archive_widget3.html.erb new file mode 100644 index 0000000..1978557 --- /dev/null +++ b/modules/archive/_archive_widget3.html.erb @@ -0,0 +1,29 @@ +
+

{{widget-title}}

+ +

+ <%= (I18n.locale.to_s =="zh_tw") ? "更多資訊" : "More" %> +

+ +
diff --git a/modules/archive/_archive_widget4.html.erb b/modules/archive/_archive_widget4.html.erb new file mode 100644 index 0000000..903a726 --- /dev/null +++ b/modules/archive/_archive_widget4.html.erb @@ -0,0 +1,51 @@ +
+

+ {{widget-title}} +

+
+
+ +
+
+
+
+ {{archive-title}} + + {{status}} + +
+
+
+ {{file-name}} + {{file-type}} +
+
+
+
+
+
+ {{link_to_edit}} +
+

+ <%= (I18n.locale.to_s =="zh_tw") ? "更多資訊" : "More" %> +

+ +
\ No newline at end of file diff --git a/modules/archive/archive_index9.html.erb b/modules/archive/archive_index9.html.erb index bccd3f1..4dacf0e 100644 --- a/modules/archive/archive_index9.html.erb +++ b/modules/archive/archive_index9.html.erb @@ -12,14 +12,17 @@ - - - {{file-name}} - - - {{file-type}} - - + + + + + {{file-name}} + + + {{file-type}} + + + diff --git a/modules/archive/info.json b/modules/archive/info.json index 701b777..860e236 100644 --- a/modules/archive/info.json +++ b/modules/archive/info.json @@ -121,6 +121,22 @@ "en": "2. Accordion list (widget-title, category, link of download page)" }, "thumbnail": "thumb.png" + }, + { + "filename": "archive_widget3", + "name": { + "zh_tw": "3. 列表 ( 模組標題, 類別標題, 檔案名稱, 包含檔案 )", + "en": "3. List (widget-title, category, and files)" + }, + "thumbnail": "thumb.png" + }, + { + "filename": "archive_widget4", + "name": { + "zh_tw": "4. 手風琴式列表 - 有下拉 ( 模組標題, 類別標題, 包含檔案 )", + "en": "4. Accordion list - with drop down (widget-title, category, and files)" + }, + "thumbnail": "thumb.png" } ] } \ No newline at end of file diff --git a/modules/web_resource/_web_res_widget4.html.erb b/modules/web_resource/_web_res_widget4.html.erb index a62a89a..aec7dde 100644 --- a/modules/web_resource/_web_res_widget4.html.erb +++ b/modules/web_resource/_web_res_widget4.html.erb @@ -12,10 +12,11 @@ data-cycle-pause-on-hover="true" data-cycle-log="false" data-cycle-carousel-fluid="true"> -