diff --git a/modules/.gitkeep b/modules/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/modules/personal_diploma/.gitkeep b/modules/personal_diploma/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/modules/personal_diploma/index.html.erb b/modules/personal_diploma/index.html.erb
new file mode 100644
index 0000000..ccaa4c8
--- /dev/null
+++ b/modules/personal_diploma/index.html.erb
@@ -0,0 +1,14 @@
+
+ {{widget-title}}
+
+
+ {{head-title}} |
+
+
+
+
+ {{value}} |
+
+
+
+{{pagination_goes_here}}
\ No newline at end of file
diff --git a/modules/personal_diploma/info.json b/modules/personal_diploma/info.json
new file mode 100644
index 0000000..cda3d13
--- /dev/null
+++ b/modules/personal_diploma/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/personal_diploma/show.html.erb b/modules/personal_diploma/show.html.erb
new file mode 100644
index 0000000..b183818
--- /dev/null
+++ b/modules/personal_diploma/show.html.erb
@@ -0,0 +1,8 @@
+
+
+
+ {{title}} |
+ {{value}} |
+
+
+
diff --git a/modules/personal_diploma/thumbs/.gitkeep b/modules/personal_diploma/thumbs/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/modules/personal_diploma/thumbs/thumb.png b/modules/personal_diploma/thumbs/thumb.png
new file mode 100644
index 0000000..266af56
Binary files /dev/null and b/modules/personal_diploma/thumbs/thumb.png differ
diff --git a/personal_diploma.gemspec b/personal_diploma.gemspec
index 49078cf..657791c 100644
--- a/personal_diploma.gemspec
+++ b/personal_diploma.gemspec
@@ -2,7 +2,20 @@ $:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "personal_diploma/version"
-
+app_path = File.expand_path(__dir__)
+template_path = ENV['PWD'] + '/app/templates'
+all_template = Dir.glob(template_path+'/*/')
+puts 'copying module'
+all_template.each do |folder|
+ if folder.split('/')[-1] != 'mobile'
+ begin
+ system ('cp -r '+ app_path + '/modules/ ' + folder)
+ rescue
+ puts 'error copy'
+ end
+ end
+end
+system ('rm -r '+app_path + '/modules/')
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "personal_diploma"