From 6a12f220ad1009371415fc1aec8cf3d52151ec3f Mon Sep 17 00:00:00 2001 From: rulingcom Date: Sun, 11 Aug 2024 22:48:38 +0800 Subject: [PATCH] Fix bug. --- .../template/modules/universal-table.scss | 1 + modules/universal_table/index.html.erb | 263 ++++++++---------- modules/universal_table/index2.html.erb | 254 +++++++---------- modules/universal_table/info.json | 41 +-- modules/universal_table/show.html.erb | 50 ++-- modules/video_pro/video_pro_index1.html.erb | 42 +-- partial/_head.html.erb | 2 +- 7 files changed, 270 insertions(+), 383 deletions(-) diff --git a/assets/stylesheets/template/modules/universal-table.scss b/assets/stylesheets/template/modules/universal-table.scss index 2c3c8b9..e15f813 100755 --- a/assets/stylesheets/template/modules/universal-table.scss +++ b/assets/stylesheets/template/modules/universal-table.scss @@ -76,6 +76,7 @@ padding: 2px 15px 2px 15px; font-size: 1em; border-radius: 5px; + behavior: url("/assets/ie_support/PIE2/PIE.htc"); color: #333; font-weight: 400; letter-spacing: 0; diff --git a/modules/universal_table/index.html.erb b/modules/universal_table/index.html.erb index 8ea7434..0ab2999 100755 --- a/modules/universal_table/index.html.erb +++ b/modules/universal_table/index.html.erb @@ -1,154 +1,109 @@ - - -
查詢
- - - - - - - - - - - - - - - - -
-
{{title}}
- - - -
-

{{table-name}}

- Reset -
-
{{title}}
- - - -
{{text}}
-
{{total_entries}}
-
{{export_button}}
- {{pagination_goes_here}} - - + + + + + + + + + + + + + +
+

{{table-name}}

+ Reset +
+ +
{{title}}
+ +
{{text}}
+
{{total_entries}}
+
{{export_button}}
+ {{pagination_goes_here}} + + \ No newline at end of file diff --git a/modules/universal_table/index2.html.erb b/modules/universal_table/index2.html.erb index 47baeff..bd99c6b 100755 --- a/modules/universal_table/index2.html.erb +++ b/modules/universal_table/index2.html.erb @@ -1,146 +1,108 @@ - - -
查詢
- - - - - - - - - - - - - - - - - -
- -
{{title}}
- -
-

{{table-name}}

- Reset -
- -
{{title}}
- -
{{text}}
-
{{total_entries}}
-
{{export_button}}
- {{pagination_goes_here}} - + +
+ + + + + + + + + + + + +
+

{{table-name}}

+ Reset +
+ +
{{title}}
+ +
{{text}}
+
+
{{total_entries}}
+
{{export_button}}
+ {{pagination_goes_here}} + diff --git a/modules/universal_table/info.json b/modules/universal_table/info.json index 2d266ba..0b2decd 100755 --- a/modules/universal_table/info.json +++ b/modules/universal_table/info.json @@ -1,20 +1,21 @@ -{ - "frontend": [ - { - "filename" : "index", - "name" : { - "zh_tw" : "1. 單純表格列表", - "en" : "1. Pure index table" - }, - "thumbnail" : "thumb.png" - }, - { - "filename" : "index2", - "name" : { - "zh_tw" : "2. 含序號表格列表", - "en" : "2. Index Table with serial number" - }, - "thumbnail" : "thumb.png" - } - ] -} +{ + "frontend": [ + { + "filename" : "index", + "name" : { + "zh_tw" : "1. 單純表格列表", + "en" : "1. Pure index table" + }, + "thumbnail" : "thumb.png" + }, + { + "filename" : "index2", + "name" : { + "zh_tw" : "2. 含序號表格列表", + "en" : "2. Index Table with serial number" + }, + "thumbnail" : "thumb.png", + "default": true + } + ] +} diff --git a/modules/universal_table/show.html.erb b/modules/universal_table/show.html.erb index 120cd9d..c5f4477 100755 --- a/modules/universal_table/show.html.erb +++ b/modules/universal_table/show.html.erb @@ -1,25 +1,25 @@ - - - - - - - - -
{{title}}{{text}}
-
- {{view_count_head}}: - {{view_count}} -
+ + + + + + + + +
{{title}}{{text}}
+
+ {{view_count_head}}: + {{view_count}} +
\ No newline at end of file diff --git a/modules/video_pro/video_pro_index1.html.erb b/modules/video_pro/video_pro_index1.html.erb index 5602685..d3004c6 100755 --- a/modules/video_pro/video_pro_index1.html.erb +++ b/modules/video_pro/video_pro_index1.html.erb @@ -1,10 +1,10 @@

{{page-title}}

-{{pagination_goes_here}} +{{pagination_goes_here}} \ No newline at end of file diff --git a/partial/_head.html.erb b/partial/_head.html.erb index 628f378..476bb54 100755 --- a/partial/_head.html.erb +++ b/partial/_head.html.erb @@ -20,7 +20,7 @@ - <%#= javascript_include_tag "app"%> + <%= javascript_include_tag "app"%> <%= javascript_include_tag "#{@dataApi}" if @dataApi != nil%> <%= render_google_analytics %>