diff --git a/modules/universal_table/index.html.erb b/modules/universal_table/index.html.erb new file mode 100644 index 0000000..29164e6 --- /dev/null +++ b/modules/universal_table/index.html.erb @@ -0,0 +1,87 @@ + + + + + + + + + + + + + +
+

{{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 new file mode 100644 index 0000000..cda3d13 --- /dev/null +++ b/modules/universal_table/info.json @@ -0,0 +1,12 @@ +{ + "frontend": [ + { + "filename" : "index", + "name" : { + "zh_tw" : "1. 列表", + "en" : "1. List" + }, + "thumbnail" : "thumb.png" + } + ] +} \ No newline at end of file diff --git a/modules/universal_table/show.html.erb b/modules/universal_table/show.html.erb new file mode 100644 index 0000000..de7dd3c --- /dev/null +++ b/modules/universal_table/show.html.erb @@ -0,0 +1,21 @@ + + + + + + + + +
{{title}}{{text}}
\ No newline at end of file diff --git a/modules/universal_table/thumbs/thumb.png b/modules/universal_table/thumbs/thumb.png new file mode 100644 index 0000000..266af56 Binary files /dev/null and b/modules/universal_table/thumbs/thumb.png differ