From a2398ed6d9c5b5b9368c8c3cb86b25252133c9b2 Mon Sep 17 00:00:00 2001 From: rulingcom Date: Mon, 29 Sep 2014 21:26:19 +0800 Subject: [PATCH] added new types for announcment module widgets --- .../announcement/_annc_widget1.html.erb | 32 ++++++++++ .../announcement/_annc_widget10.html.erb | 21 +++++++ .../announcement/_annc_widget11.html.erb | 26 +++++++++ .../announcement/_annc_widget12.html.erb | 26 +++++++++ .../announcement/_annc_widget2.html.erb | 27 +++++++++ .../announcement/_annc_widget3.html.erb | 24 ++++++++ .../announcement/_annc_widget4.html.erb | 21 +++++++ .../announcement/_annc_widget5.html.erb | 32 ++++++++++ .../announcement/_annc_widget6.html.erb | 22 +++++++ .../announcement/_annc_widget7.html.erb | 21 +++++++ .../announcement/_annc_widget8.html.erb | 31 ++++++++++ .../announcement/_annc_widget9.html.erb | 31 ++++++++++ .../modules/announcement/info.json | 58 +++++++++++++++++-- 13 files changed, 368 insertions(+), 4 deletions(-) create mode 100644 app/templates/orbit_bootstrap/modules/announcement/_annc_widget1.html.erb create mode 100644 app/templates/orbit_bootstrap/modules/announcement/_annc_widget10.html.erb create mode 100644 app/templates/orbit_bootstrap/modules/announcement/_annc_widget11.html.erb create mode 100644 app/templates/orbit_bootstrap/modules/announcement/_annc_widget12.html.erb create mode 100644 app/templates/orbit_bootstrap/modules/announcement/_annc_widget2.html.erb create mode 100644 app/templates/orbit_bootstrap/modules/announcement/_annc_widget3.html.erb create mode 100644 app/templates/orbit_bootstrap/modules/announcement/_annc_widget4.html.erb create mode 100644 app/templates/orbit_bootstrap/modules/announcement/_annc_widget5.html.erb create mode 100644 app/templates/orbit_bootstrap/modules/announcement/_annc_widget6.html.erb create mode 100644 app/templates/orbit_bootstrap/modules/announcement/_annc_widget7.html.erb create mode 100644 app/templates/orbit_bootstrap/modules/announcement/_annc_widget8.html.erb create mode 100644 app/templates/orbit_bootstrap/modules/announcement/_annc_widget9.html.erb diff --git a/app/templates/orbit_bootstrap/modules/announcement/_annc_widget1.html.erb b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget1.html.erb new file mode 100644 index 0000000..b6a7db6 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget1.html.erb @@ -0,0 +1,32 @@ + +
+

+ {{widget-title}} +

+ +
\ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/announcement/_annc_widget10.html.erb b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget10.html.erb new file mode 100644 index 0000000..51c5c56 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget10.html.erb @@ -0,0 +1,21 @@ + +
+

+ {{widget-title}} +

+ + + + + + + + + + + +
{{title-head}}{{date-head}}
{{title}}{{date}}
+
\ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/announcement/_annc_widget11.html.erb b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget11.html.erb new file mode 100644 index 0000000..00b636c --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget11.html.erb @@ -0,0 +1,26 @@ + +
+

+ {{widget-title}} +

+ + + + + + + + + + + + + + + + +
{{category-head}}{{title-head}}{{date-head}}
{{category}}{{title}}{{date}}
+
\ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/announcement/_annc_widget12.html.erb b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget12.html.erb new file mode 100644 index 0000000..3a39359 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget12.html.erb @@ -0,0 +1,26 @@ + +
+

+ {{widget-title}} +

+ + + + + + + + + + + + + + + + +
{{category-head}}{{date-head}}{{title-head}}
{{category}}{{date}}{{title}}
+
\ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/announcement/_annc_widget2.html.erb b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget2.html.erb new file mode 100644 index 0000000..a118d30 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget2.html.erb @@ -0,0 +1,27 @@ + +
+

+ {{widget-title}} +

+ +
\ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/announcement/_annc_widget3.html.erb b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget3.html.erb new file mode 100644 index 0000000..ff20399 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget3.html.erb @@ -0,0 +1,24 @@ + +
+

+ {{widget-title}} +

+ +
\ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/announcement/_annc_widget4.html.erb b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget4.html.erb new file mode 100644 index 0000000..4258bf8 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget4.html.erb @@ -0,0 +1,21 @@ + +
+

+ {{widget-title}} +

+ +
\ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/announcement/_annc_widget5.html.erb b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget5.html.erb new file mode 100644 index 0000000..29e9982 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget5.html.erb @@ -0,0 +1,32 @@ + +
+

+ {{widget-title}} +

+ +
\ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/announcement/_annc_widget6.html.erb b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget6.html.erb new file mode 100644 index 0000000..4f76a73 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget6.html.erb @@ -0,0 +1,22 @@ + +
+

+ {{widget-title}} +

+ +
\ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/announcement/_annc_widget7.html.erb b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget7.html.erb new file mode 100644 index 0000000..79213ab --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget7.html.erb @@ -0,0 +1,21 @@ + +
+

+ {{widget-title}} +

+ +
\ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/announcement/_annc_widget8.html.erb b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget8.html.erb new file mode 100644 index 0000000..e265168 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget8.html.erb @@ -0,0 +1,31 @@ + +
+

+ {{widget-title}} +

+ + + + + + + + + + + + + + + + + +
{{date-head}}{{title-head}}{{status-head}}{{category-head}}
{{date}}{{title}} +
+ {{status}} +
+
{{category}}
+
\ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/announcement/_annc_widget9.html.erb b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget9.html.erb new file mode 100644 index 0000000..88be869 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/announcement/_annc_widget9.html.erb @@ -0,0 +1,31 @@ + +
+

+ {{widget-title}} +

+ + + + + + + + + + + + + + + + + +
{{status-head}}{{date-head}}{{title-head}}{{category-head}}
+
+ {{status}} +
+
{{date}}{{title}}{{category}}
+
\ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/announcement/info.json b/app/templates/orbit_bootstrap/modules/announcement/info.json index 3ea7455..c2e4f0e 100644 --- a/app/templates/orbit_bootstrap/modules/announcement/info.json +++ b/app/templates/orbit_bootstrap/modules/announcement/info.json @@ -13,13 +13,63 @@ ], "widgets" : [ { - "filename" : "widget", - "name" : "Widget with image", + "filename" : "annc_widget1", + "name" : "annc_widget1-Field: widget-title, img, status, postdate, title, subtitle, readmore", "thumbnail" : "thumbnail-block.png" }, { - "filename" : "widget3", - "name" : "Widget with full date", + "filename" : "annc_widget2", + "name" : "annc_widget2-Field: widget-title, status, postdate, title, subtitle, readmore", + "thumbnail" : "thumbnail-block.png" + }, + { + "filename" : "annc_widget3", + "name" : "annc_widget13-Field: widget-title, postdate, title, subtitle, readmore", + "thumbnail" : "thumbnail-block.png" + }, + { + "filename" : "annc_widget4", + "name" : "annc_widget4-Field: widget-title, postdate, title", + "thumbnail" : "thumbnail-block.png" + }, + { + "filename" : "annc_widget5", + "name" : "annc_widget5-Field: widget-title, img, status, postdate, title, subtitle, readmore", + "thumbnail" : "thumbnail-block.png" + }, + { + "filename" : "annc_widget6", + "name" : "annc_widget6-Field: widget-title, postdate, title", + "thumbnail" : "thumbnail-block.png" + }, + { + "filename" : "annc_widget7", + "name" : "annc_widget7-Field: widget-title, postdate, title", + "thumbnail" : "thumbnail-block.png" + }, + { + "filename" : "annc_widget8", + "name" : "annc_widget8-Field: widget-title, postdate, title, status, category", + "thumbnail" : "thumbnail-block.png" + }, + { + "filename" : "annc_widget9", + "name" : "annc_widget9-Field: widget-title, status, postdate, title, category", + "thumbnail" : "thumbnail-block.png" + }, + { + "filename" : "annc_widget10", + "name" : "annc_widget10-Field: widget-title, title, postdate", + "thumbnail" : "thumbnail-block.png" + }, + { + "filename" : "annc_widget11", + "name" : "annc_widget11-Field: widget-title, title, postdate", + "thumbnail" : "thumbnail-block.png" + }, + { + "filename" : "annc_widget12", + "name" : "annc_widget12-Field: widget-title, postdate, title", "thumbnail" : "thumbnail-block.png" } ]