diff --git a/app/assets/stylesheets/seminar/background_style/1/1.jpg b/app/assets/stylesheets/seminar/background_style/1/1.jpg new file mode 100644 index 0000000..5adfdca Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/1/1.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/1/css/background.css b/app/assets/stylesheets/seminar/background_style/1/css/background.css new file mode 100644 index 0000000..b4b0727 --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/1/css/background.css @@ -0,0 +1,16 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } + header{ + margin-top: 4em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/1/js/layout.js b/app/assets/stylesheets/seminar/background_style/1/js/layout.js new file mode 100644 index 0000000..67a8b15 --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/1/js/layout.js @@ -0,0 +1,18 @@ +;(function($, win, undefined) { + // ECMAScript 5 嚴格模式 + 'use strict'; + $(document).ready(function() { + var timeout_id; + $(window).resize(function() { + window.clearTimeout(timeout_id) + if (window.innerWidth < 768) { + } else { + timeout_id = setTimeout(function(){ + if($('.mobile-menu .modules-menu').length > 0){ + $("header .container").append($('.mobile-menu .modules-menu')) + } + }, 500); + } + }) + }) +}(jQuery, window)); \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/10/10.jpg b/app/assets/stylesheets/seminar/background_style/10/10.jpg new file mode 100644 index 0000000..8aaf215 Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/10/10.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/10/css/background.css b/app/assets/stylesheets/seminar/background_style/10/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/10/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/11/11.jpg b/app/assets/stylesheets/seminar/background_style/11/11.jpg new file mode 100644 index 0000000..c48a49a Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/11/11.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/11/css/background.css b/app/assets/stylesheets/seminar/background_style/11/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/11/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/12/12.jpg b/app/assets/stylesheets/seminar/background_style/12/12.jpg new file mode 100644 index 0000000..d40266d Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/12/12.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/12/css/background.css b/app/assets/stylesheets/seminar/background_style/12/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/12/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/13/13.jpg b/app/assets/stylesheets/seminar/background_style/13/13.jpg new file mode 100644 index 0000000..741d5f0 Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/13/13.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/13/css/background.css b/app/assets/stylesheets/seminar/background_style/13/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/13/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/14/14.jpg b/app/assets/stylesheets/seminar/background_style/14/14.jpg new file mode 100644 index 0000000..75cba2e Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/14/14.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/14/css/background.css b/app/assets/stylesheets/seminar/background_style/14/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/14/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/15/15.jpg b/app/assets/stylesheets/seminar/background_style/15/15.jpg new file mode 100644 index 0000000..497c249 Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/15/15.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/15/css/background.css b/app/assets/stylesheets/seminar/background_style/15/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/15/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/16/16.jpg b/app/assets/stylesheets/seminar/background_style/16/16.jpg new file mode 100644 index 0000000..322d64b Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/16/16.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/16/css/background.css b/app/assets/stylesheets/seminar/background_style/16/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/16/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/17/17.jpg b/app/assets/stylesheets/seminar/background_style/17/17.jpg new file mode 100644 index 0000000..9b13430 Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/17/17.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/17/css/background.css b/app/assets/stylesheets/seminar/background_style/17/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/17/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/2/2.jpg b/app/assets/stylesheets/seminar/background_style/2/2.jpg new file mode 100644 index 0000000..a1e9249 Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/2/2.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/2/css/background.css b/app/assets/stylesheets/seminar/background_style/2/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/2/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/3/3.jpg b/app/assets/stylesheets/seminar/background_style/3/3.jpg new file mode 100644 index 0000000..d263a26 Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/3/3.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/3/css/background.css b/app/assets/stylesheets/seminar/background_style/3/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/3/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/4/4.jpg b/app/assets/stylesheets/seminar/background_style/4/4.jpg new file mode 100644 index 0000000..a3378a6 Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/4/4.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/4/css/background.css b/app/assets/stylesheets/seminar/background_style/4/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/4/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/5/5.jpg b/app/assets/stylesheets/seminar/background_style/5/5.jpg new file mode 100644 index 0000000..a1d1ccd Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/5/5.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/5/css/background.css b/app/assets/stylesheets/seminar/background_style/5/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/5/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/6/6.jpg b/app/assets/stylesheets/seminar/background_style/6/6.jpg new file mode 100644 index 0000000..6fe429f Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/6/6.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/6/css/background.css b/app/assets/stylesheets/seminar/background_style/6/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/6/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/7/7.jpg b/app/assets/stylesheets/seminar/background_style/7/7.jpg new file mode 100644 index 0000000..5caf88a Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/7/7.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/7/css/background.css b/app/assets/stylesheets/seminar/background_style/7/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/7/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/8/8.jpg b/app/assets/stylesheets/seminar/background_style/8/8.jpg new file mode 100644 index 0000000..7e25335 Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/8/8.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/8/css/background.css b/app/assets/stylesheets/seminar/background_style/8/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/8/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/background_style/9/9.jpg b/app/assets/stylesheets/seminar/background_style/9/9.jpg new file mode 100644 index 0000000..4bf7fde Binary files /dev/null and b/app/assets/stylesheets/seminar/background_style/9/9.jpg differ diff --git a/app/assets/stylesheets/seminar/background_style/9/css/background.css b/app/assets/stylesheets/seminar/background_style/9/css/background.css new file mode 100644 index 0000000..473ef2a --- /dev/null +++ b/app/assets/stylesheets/seminar/background_style/9/css/background.css @@ -0,0 +1,13 @@ +body { + background-color: #c9d7e4; +} +@media (min-width: 768px){ + .container { + width: 46.875em; + } +} +@media (max-width: 767px){ + .container { + width: 100%; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/1/1.jpg b/app/assets/stylesheets/seminar/content_style/1/1.jpg new file mode 100644 index 0000000..bfda6af Binary files /dev/null and b/app/assets/stylesheets/seminar/content_style/1/1.jpg differ diff --git a/app/assets/stylesheets/seminar/content_style/1/css/menu.css b/app/assets/stylesheets/seminar/content_style/1/css/menu.css new file mode 100644 index 0000000..195ac99 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/1/css/menu.css @@ -0,0 +1,62 @@ +.mobile-menu .modules-menu.collapse.in{ + height: 100%; +} +/*img.site-logo{ + display: none; +}*/ +.mobile-menu .modules-menu { + background: #2cafcc; +} +.mobile-menu .modules-menu .menu_text{ + display: none; +} +.layout-slide{ + padding: 0; +} +@media (min-width: 768px){ + .modules-menu-level-0, #main-nav{ + display: inline-block; + padding-bottom: 2em; + } + .modules-menu-level-0 > li { + float: none; + } + .modules-menu .modules-menu-level-0 > li > a { + color: #396992; + } + .layout-header > .container{ + padding: 0; + } + .navbar-collapse.collapse{ + padding: 0; + } + .modules-menu .modules-menu-level-0{ + background: #ffffff; + margin-bottom: 0; + border: 2px solid #c2c0c0; + border-radius: 0.4em; + } + .modules-menu .modules-menu-level-0 > li{ + padding: 0 1em; + text-align: center; + border-bottom: 0.1em solid #c2c0c0; + } + .modules-menu .modules-menu-level-0 > li:hover{ + background-color: #91BFEA; + border-radius: unset; + } + .modules-menu .modules-menu-level-0 li.menu_text{ + background: #396992; + color: #ffffff; + border-radius: 0.3em 0.3em 0 0; + border-bottom: none; + } + .modules-menu .modules-menu-level-0 li.menu_text:hover{ + background: #396992; + color: #ffffff; + border-radius: 0.3em 0.3em 0 0; + } +} +.modules-menu .modules-menu-level-0 > li:hover > a { + color: #fff; +} diff --git a/app/assets/stylesheets/seminar/content_style/1/css/template.css b/app/assets/stylesheets/seminar/content_style/1/css/template.css new file mode 100644 index 0000000..775b948 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/1/css/template.css @@ -0,0 +1,76 @@ +.layout-content-inner{ + background: #ffffff; +} +.seminar_hr{ + display: none; + +} +[class*=widget-title] , .seminar_h3{ + margin: 0.5em 0; + line-height: 1.5; + color: #396992; +} +[class*=widget-title] > * , #main-content [class*=page-title], #main-content .index-title{ + color: #396992; +} +.layout-content-inner a, .w-annc .w-annc__title,.i-annc .i-annc__title{ + color: #396992; +} +.layout-content-inner a.btn-primary{ + background: #396992; + color: #ffffff; + border: none; + text-decoration: none; +} + +.layout-content-inner a:hover, .w-annc .w-annc__title:hover,.i-annc .i-annc__title:hover{ + color: #82abce; +} +.layout-content-inner a.btn-primary:hover,.layout-content-inner a.btn-primary:focus,.layout-content-inner a.btn-primary:active { + color: #ffffff; + background: #064d88; + border: none; + text-decoration: none; + outline: none; +} +li.w-annc__item.row:before { + display: none; + content: ""; +} +span.w-annc__postdate, .i-annc__postdate { + color: #787878; +} +li.w-annc__item.row { + padding: 5px 0; + margin: 0; + border: none; +} +li.w-annc__item.row > * { + border-right: 3px solid #b0b0b0; +} +li.w-annc__item.row > *:last-child { + border-right: none; +} +.w-annc{ + border-bottom: 1px dashed #888888; +} +.layout-footer-content , .footer-counter{ + color: #0f609a; +} +.widget-custom_gallery .row > .col-md-4{ + border: 0.1em solid #b3b2b2; +} +.widget-custom_gallery .row > .col-md-4:hover{ + border: 0.1em solid #396992; +} +@media (max-width: 767px){ + .layout-content{ + background: #ffffff; + } + .widget-custom_gallery .row > .col-md-4{ + padding: 1em; + } +} +[data-pp="200"]{ + padding: 0 0.9375em; +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/1/info.json b/app/assets/stylesheets/seminar/content_style/1/info.json new file mode 100644 index 0000000..c73421c --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/1/info.json @@ -0,0 +1,2 @@ +{ "template": "vertical_1_main_left_annc_top_album_right", + "read_more_position": "lower_right" } \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/1/js/content.js b/app/assets/stylesheets/seminar/content_style/1/js/content.js new file mode 100644 index 0000000..1fb7a73 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/1/js/content.js @@ -0,0 +1,7 @@ +$(document).ready(function(){ + $('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"]').each(function(i,h3){ + if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){ + $(h3).after("
") + } + }) +}) \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/10/10.jpg b/app/assets/stylesheets/seminar/content_style/10/10.jpg new file mode 100644 index 0000000..d3ac4e1 Binary files /dev/null and b/app/assets/stylesheets/seminar/content_style/10/10.jpg differ diff --git a/app/assets/stylesheets/seminar/content_style/10/css/menu.css b/app/assets/stylesheets/seminar/content_style/10/css/menu.css new file mode 100644 index 0000000..ea481e6 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/10/css/menu.css @@ -0,0 +1,34 @@ +@media (min-width: 768px){ + .modules-menu-level-0, #main-nav{ + display: inline-block; + } + .modules-menu-level-0 > li { + float: left; + } +} +.mobile-menu .modules-menu.collapse.in{ + height: 100%; +} +img.site-logo{ + display: none; +} +.layout-slide{ + padding: 0; +} +@media (min-width: 768px){ + .modules-menu .modules-menu-level-0 > li > a { + color: #c2c8bd; + } + .layout-header > .container{ + padding: 0; + } + .navbar-collapse.collapse{ + padding: 0; + } + .modules-menu .modules-menu-level-0{ + background: #4a4a4a; + margin-bottom: 0; + padding: 0 1em; + } +} + diff --git a/app/assets/stylesheets/seminar/content_style/10/css/template.css b/app/assets/stylesheets/seminar/content_style/10/css/template.css new file mode 100644 index 0000000..6f0a317 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/10/css/template.css @@ -0,0 +1,19 @@ +.layout-content-inner{ + background: #ffffff; +} +.seminar_h3{ + font-weight: bold; +} +.seminar_hr{ + border-top: 0.1em dashed #acacac; + margin: 0.5em 0; +} +[class*=widget-title] { + margin: 0.5em 0; + line-height: 1.5; +} +@media (max-width: 767px){ + .layout-content{ + background: #ffffff; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/10/info.json b/app/assets/stylesheets/seminar/content_style/10/info.json new file mode 100644 index 0000000..2f548c5 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/10/info.json @@ -0,0 +1 @@ +{ "template": "vertical_3_main_top_annc_left_album_right" } \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/10/js/content.js b/app/assets/stylesheets/seminar/content_style/10/js/content.js new file mode 100644 index 0000000..1fb7a73 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/10/js/content.js @@ -0,0 +1,7 @@ +$(document).ready(function(){ + $('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"]').each(function(i,h3){ + if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){ + $(h3).after("
") + } + }) +}) \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/11/11.jpg b/app/assets/stylesheets/seminar/content_style/11/11.jpg new file mode 100644 index 0000000..a002ab3 Binary files /dev/null and b/app/assets/stylesheets/seminar/content_style/11/11.jpg differ diff --git a/app/assets/stylesheets/seminar/content_style/11/css/menu.css b/app/assets/stylesheets/seminar/content_style/11/css/menu.css new file mode 100644 index 0000000..ea481e6 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/11/css/menu.css @@ -0,0 +1,34 @@ +@media (min-width: 768px){ + .modules-menu-level-0, #main-nav{ + display: inline-block; + } + .modules-menu-level-0 > li { + float: left; + } +} +.mobile-menu .modules-menu.collapse.in{ + height: 100%; +} +img.site-logo{ + display: none; +} +.layout-slide{ + padding: 0; +} +@media (min-width: 768px){ + .modules-menu .modules-menu-level-0 > li > a { + color: #c2c8bd; + } + .layout-header > .container{ + padding: 0; + } + .navbar-collapse.collapse{ + padding: 0; + } + .modules-menu .modules-menu-level-0{ + background: #4a4a4a; + margin-bottom: 0; + padding: 0 1em; + } +} + diff --git a/app/assets/stylesheets/seminar/content_style/11/css/template.css b/app/assets/stylesheets/seminar/content_style/11/css/template.css new file mode 100644 index 0000000..6f0a317 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/11/css/template.css @@ -0,0 +1,19 @@ +.layout-content-inner{ + background: #ffffff; +} +.seminar_h3{ + font-weight: bold; +} +.seminar_hr{ + border-top: 0.1em dashed #acacac; + margin: 0.5em 0; +} +[class*=widget-title] { + margin: 0.5em 0; + line-height: 1.5; +} +@media (max-width: 767px){ + .layout-content{ + background: #ffffff; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/11/info.json b/app/assets/stylesheets/seminar/content_style/11/info.json new file mode 100644 index 0000000..3b356b1 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/11/info.json @@ -0,0 +1 @@ +{ "template": "vertical_2_main_right_annc_left_album_bottom" } \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/11/js/content.js b/app/assets/stylesheets/seminar/content_style/11/js/content.js new file mode 100644 index 0000000..1fb7a73 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/11/js/content.js @@ -0,0 +1,7 @@ +$(document).ready(function(){ + $('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"]').each(function(i,h3){ + if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){ + $(h3).after("
") + } + }) +}) \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/12/12.jpg b/app/assets/stylesheets/seminar/content_style/12/12.jpg new file mode 100644 index 0000000..54f5a27 Binary files /dev/null and b/app/assets/stylesheets/seminar/content_style/12/12.jpg differ diff --git a/app/assets/stylesheets/seminar/content_style/12/css/menu.css b/app/assets/stylesheets/seminar/content_style/12/css/menu.css new file mode 100644 index 0000000..ea481e6 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/12/css/menu.css @@ -0,0 +1,34 @@ +@media (min-width: 768px){ + .modules-menu-level-0, #main-nav{ + display: inline-block; + } + .modules-menu-level-0 > li { + float: left; + } +} +.mobile-menu .modules-menu.collapse.in{ + height: 100%; +} +img.site-logo{ + display: none; +} +.layout-slide{ + padding: 0; +} +@media (min-width: 768px){ + .modules-menu .modules-menu-level-0 > li > a { + color: #c2c8bd; + } + .layout-header > .container{ + padding: 0; + } + .navbar-collapse.collapse{ + padding: 0; + } + .modules-menu .modules-menu-level-0{ + background: #4a4a4a; + margin-bottom: 0; + padding: 0 1em; + } +} + diff --git a/app/assets/stylesheets/seminar/content_style/12/css/template.css b/app/assets/stylesheets/seminar/content_style/12/css/template.css new file mode 100644 index 0000000..6f0a317 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/12/css/template.css @@ -0,0 +1,19 @@ +.layout-content-inner{ + background: #ffffff; +} +.seminar_h3{ + font-weight: bold; +} +.seminar_hr{ + border-top: 0.1em dashed #acacac; + margin: 0.5em 0; +} +[class*=widget-title] { + margin: 0.5em 0; + line-height: 1.5; +} +@media (max-width: 767px){ + .layout-content{ + background: #ffffff; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/12/info.json b/app/assets/stylesheets/seminar/content_style/12/info.json new file mode 100644 index 0000000..3b356b1 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/12/info.json @@ -0,0 +1 @@ +{ "template": "vertical_2_main_right_annc_left_album_bottom" } \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/12/js/content.js b/app/assets/stylesheets/seminar/content_style/12/js/content.js new file mode 100644 index 0000000..1fb7a73 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/12/js/content.js @@ -0,0 +1,7 @@ +$(document).ready(function(){ + $('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"]').each(function(i,h3){ + if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){ + $(h3).after("
") + } + }) +}) \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/13/13.jpg b/app/assets/stylesheets/seminar/content_style/13/13.jpg new file mode 100644 index 0000000..4feacbc Binary files /dev/null and b/app/assets/stylesheets/seminar/content_style/13/13.jpg differ diff --git a/app/assets/stylesheets/seminar/content_style/13/css/menu.css b/app/assets/stylesheets/seminar/content_style/13/css/menu.css new file mode 100644 index 0000000..ea481e6 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/13/css/menu.css @@ -0,0 +1,34 @@ +@media (min-width: 768px){ + .modules-menu-level-0, #main-nav{ + display: inline-block; + } + .modules-menu-level-0 > li { + float: left; + } +} +.mobile-menu .modules-menu.collapse.in{ + height: 100%; +} +img.site-logo{ + display: none; +} +.layout-slide{ + padding: 0; +} +@media (min-width: 768px){ + .modules-menu .modules-menu-level-0 > li > a { + color: #c2c8bd; + } + .layout-header > .container{ + padding: 0; + } + .navbar-collapse.collapse{ + padding: 0; + } + .modules-menu .modules-menu-level-0{ + background: #4a4a4a; + margin-bottom: 0; + padding: 0 1em; + } +} + diff --git a/app/assets/stylesheets/seminar/content_style/13/css/template.css b/app/assets/stylesheets/seminar/content_style/13/css/template.css new file mode 100644 index 0000000..6f0a317 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/13/css/template.css @@ -0,0 +1,19 @@ +.layout-content-inner{ + background: #ffffff; +} +.seminar_h3{ + font-weight: bold; +} +.seminar_hr{ + border-top: 0.1em dashed #acacac; + margin: 0.5em 0; +} +[class*=widget-title] { + margin: 0.5em 0; + line-height: 1.5; +} +@media (max-width: 767px){ + .layout-content{ + background: #ffffff; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/13/info.json b/app/assets/stylesheets/seminar/content_style/13/info.json new file mode 100644 index 0000000..fb15930 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/13/info.json @@ -0,0 +1 @@ +{ "template": "horizontal_13_main_left_annc_right_album_left" } \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/13/js/content.js b/app/assets/stylesheets/seminar/content_style/13/js/content.js new file mode 100644 index 0000000..1fb7a73 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/13/js/content.js @@ -0,0 +1,7 @@ +$(document).ready(function(){ + $('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"]').each(function(i,h3){ + if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){ + $(h3).after("
") + } + }) +}) \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/2/2.jpg b/app/assets/stylesheets/seminar/content_style/2/2.jpg new file mode 100644 index 0000000..aa22ae9 Binary files /dev/null and b/app/assets/stylesheets/seminar/content_style/2/2.jpg differ diff --git a/app/assets/stylesheets/seminar/content_style/2/css/menu.css b/app/assets/stylesheets/seminar/content_style/2/css/menu.css new file mode 100644 index 0000000..ca2537f --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/2/css/menu.css @@ -0,0 +1,52 @@ +.mobile-menu .modules-menu.collapse.in{ + height: 100%; +} +/*img.site-logo{ + display: none; +}*/ +.mobile-menu .modules-menu { + background: #2cafcc; +} +.mobile-menu .modules-menu .menu_text{ + display: none; +} +.layout-slide{ + padding: 0; +} +@media (min-width: 768px){ + .modules-menu-level-0, #main-nav{ + display: inline-block; + padding: 1em 0 2em 0; + } + .modules-menu-level-0 > li { + float: none; + } + .modules-menu .modules-menu-level-0 > li > a { + color: #333333; + border-left: 9px solid #969696; + } + .layout-header > .container{ + padding: 0; + } + .navbar-collapse.collapse{ + padding: 0; + } + .modules-menu .modules-menu-level-0{ + background: #e8e6e7; + margin-bottom: 0; + border-radius: 0.4em; + } + .modules-menu .modules-menu-level-0 > li{ + padding: 0.2em 0.3em; + text-align: center; + border-bottom: 0.1em solid #c2c0c0; + } + .modules-menu .modules-menu-level-0 > li:hover{ + background-color: #646464; + border-radius: unset; + } +} +.modules-menu .modules-menu-level-0 > li:hover > a { + color: #fff; + border-left: 9px solid #dbdada; +} diff --git a/app/assets/stylesheets/seminar/content_style/2/css/template.css b/app/assets/stylesheets/seminar/content_style/2/css/template.css new file mode 100644 index 0000000..3ab97a7 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/2/css/template.css @@ -0,0 +1,85 @@ +.layout-content-inner{ + background: #ffffff; +} +.seminar_hr{ + display: none; + +} +[class*=widget-title] , .seminar_h3{ + margin: 0.5em 0; + line-height: 1.5; + color: #333333; +} +[class*=widget-title] > * , #main-content [class*=page-title], #main-content .index-title{ + color: #333333; +} +.layout-content-inner a.btn-primary { + background: transparent; + color: #396992; + border: none; + text-decoration: none; +} +.layout-content-inner h1,.layout-content-inner h2,.layout-content-inner h3,.layout-content-inner h4,.layout-content-inner h5,.layout-content-inner h6{ + font-weight: bold; +} +h4.w-annc__entry-title{ + font-weight: 500; +} +.layout-content-inner [data-subpart-id] a, .layout-content-inner #main-content a{ + color: #333333; +} +.layout-content-inner [data-subpart-id] a:hover, .layout-content-inner #main-content a:hover{ + color: #888888; +} +.layout-content-inner a.btn-primary:hover,.layout-content-inner a.btn-primary:focus,.layout-content-inner a.btn-primary:active { + color: #033864; + background: transparent; + border: none; + text-decoration: underline; + outline: none; + font-weight: bold; +} +li.w-annc__item.row:before { + display: inline-block; + content: " "; + width: 0.5em; + height: 0.5em; + border-radius: 50px; + background-color: #888888; + position: absolute; + top: 12px; +} +span.w-annc__postdate, .i-annc__postdate { + color: #787878; +} +li.w-annc__item.row { + padding: 5px 0; + margin: 0; + border: none; +} +li.w-annc__item.row .w-annc__postdate-wrap { + display: none; +} +.w-annc{ + border-bottom: 1px dashed #888888; +} +.layout-footer-content , .footer-counter{ + color: #0f609a; +} +.widget-custom_gallery .row > .col-md-4{ + border: 0.1em solid #b3b2b2; +} +.widget-custom_gallery .row > .col-md-4:hover{ + border: 0.1em solid #396992; +} +@media (max-width: 767px){ + .layout-content{ + background: #ffffff; + } + .widget-custom_gallery .row > .col-md-4{ + padding: 1em; + } +} +[data-pp="200"]{ + padding: 0 0.9375em; +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/2/info.json b/app/assets/stylesheets/seminar/content_style/2/info.json new file mode 100644 index 0000000..c4e9c27 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/2/info.json @@ -0,0 +1,2 @@ +{ "template": "vertical_2_main_right_annc_left_album_bottom", + "read_more_position": "lower_right" } \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/2/js/content.js b/app/assets/stylesheets/seminar/content_style/2/js/content.js new file mode 100644 index 0000000..1fb7a73 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/2/js/content.js @@ -0,0 +1,7 @@ +$(document).ready(function(){ + $('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"]').each(function(i,h3){ + if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){ + $(h3).after("
") + } + }) +}) \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/3/3.jpg b/app/assets/stylesheets/seminar/content_style/3/3.jpg new file mode 100644 index 0000000..d45cbea Binary files /dev/null and b/app/assets/stylesheets/seminar/content_style/3/3.jpg differ diff --git a/app/assets/stylesheets/seminar/content_style/3/css/menu.css b/app/assets/stylesheets/seminar/content_style/3/css/menu.css new file mode 100644 index 0000000..b158340 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/3/css/menu.css @@ -0,0 +1,50 @@ +.mobile-menu .modules-menu.collapse.in{ + height: 100%; +} +/*img.site-logo{ + display: none; +}*/ +.mobile-menu .modules-menu { + background: #2cafcc; +} +.mobile-menu .modules-menu .menu_text{ + display: none; +} +.layout-slide{ + padding: 0; +} +@media (min-width: 768px){ + .modules-menu-level-0, #main-nav{ + display: inline-block; + padding: 1em 0 2em 0; + } + .modules-menu-level-0 > li { + float: none; + } + .modules-menu .modules-menu-level-0 > li > a { + color: #333333; + } + .layout-header > .container{ + padding: 0; + } + .navbar-collapse.collapse{ + padding: 0; + } + .modules-menu .modules-menu-level-0{ + background: #ffffff; + margin-bottom: 0; + border-radius: 0.4em; + } + .modules-menu .modules-menu-level-0 > li{ + padding: 0.2em 0.3em; + text-align: center; + border-bottom: 0.1em solid #c2c0c0; + } + .modules-menu .modules-menu-level-0 > li:hover{ + background-color: #e8e6e7; + border-radius: unset; + } +} +.modules-menu .modules-menu-level-0 > li:hover > a { + color: #35ae31; +} diff --git a/app/assets/stylesheets/seminar/content_style/3/css/template.css b/app/assets/stylesheets/seminar/content_style/3/css/template.css new file mode 100644 index 0000000..c289d57 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/3/css/template.css @@ -0,0 +1,98 @@ +.layout-content-inner{ + background: #e8e6e6; + padding-left: 0.9375em; +} +.layout-content.col-sm-9{ + padding-left: 0; +} +.seminar_hr{ + display: none; + +} +[class*=widget-title] , .seminar_h3{ + margin: 0.5em 0; + line-height: 1.5; + color: #333333; +} +[class*=widget-title] > * , #main-content [class*=page-title], #main-content .index-title{ + color: #333333; +} +.layout-content-inner [data-subpart-id] a.btn-primary, .layout-content-inner #main-content a.btn-primary { + background: transparent; + color: #0eb209; + border: none; + text-decoration: none; +} +.layout-content-inner h1,.layout-content-inner h2,.layout-content-inner h3,.layout-content-inner h4,.layout-content-inner h5,.layout-content-inner h6{ + font-weight: bold; +} +h4.w-annc__entry-title{ + font-weight: 500; +} +.layout-content-inner [data-subpart-id] a, .layout-content-inner #main-content a{ + color: #333333; +} +.layout-content-inner [data-subpart-id] a:hover, .layout-content-inner #main-content a:hover{ + color: #0eb209; +} +.layout-content-inner a.btn-primary:hover,.layout-content-inner a.btn-primary:focus,.layout-content-inner a.btn-primary:active { + color: #068a02; + background: transparent; + border: none; + text-decoration: underline; + outline: none; + font-weight: bold; +} +li.w-annc__item.row:before { + display: inline-block; + content: " "; + width: 0.5em; + height: 0.5em; + border-radius: 50px; + background-color: #888888; + position: absolute; + top: 12px; +} +span.w-annc__postdate, .i-annc__postdate { + color: #787878; +} +li.w-annc__item.row { + padding: 5px 0; + margin: 0; + border: none; +} +li.w-annc__item.row .w-annc__postdate-wrap { + display: none; +} +.w-annc{ + border-bottom: 1px dashed #888888; +} +.layout-footer-content , .footer-counter{ + color: #0f609a; +} +[data-pp="200"]{ + padding: 0 0.9375em; +} +.widget-custom_gallery .row > .col-md-4{ + border: 0.1em solid #b3b2b2; +} +.widget-custom_gallery .row > .col-md-4:hover{ + border: 0.1em solid #396992; +} +@media (max-width: 767px){ + .layout-content{ + background: #ffffff; + } + .layout-content-inner { + margin-left: 0.9375em; + } + .col-sm-6{ + padding-left: 0; + } + .widget-custom_gallery .row > .col-md-4{ + padding: 1em; + } +} +@media (min-width: 768px){ + +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/3/info.json b/app/assets/stylesheets/seminar/content_style/3/info.json new file mode 100644 index 0000000..72b2d0c --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/3/info.json @@ -0,0 +1,2 @@ +{"template": "vertical_3_main_top_annc_left_album_right", + "read_more_position": "lower_right" } \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/3/js/content.js b/app/assets/stylesheets/seminar/content_style/3/js/content.js new file mode 100644 index 0000000..1fb7a73 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/3/js/content.js @@ -0,0 +1,7 @@ +$(document).ready(function(){ + $('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"]').each(function(i,h3){ + if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){ + $(h3).after("
") + } + }) +}) \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/4/4.jpg b/app/assets/stylesheets/seminar/content_style/4/4.jpg new file mode 100644 index 0000000..0357f6d Binary files /dev/null and b/app/assets/stylesheets/seminar/content_style/4/4.jpg differ diff --git a/app/assets/stylesheets/seminar/content_style/4/css/menu.css b/app/assets/stylesheets/seminar/content_style/4/css/menu.css new file mode 100644 index 0000000..fe00aac --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/4/css/menu.css @@ -0,0 +1,50 @@ +.mobile-menu .modules-menu.collapse.in{ + height: 100%; +} +/*img.site-logo{ + display: none; +}*/ +.mobile-menu .modules-menu { + background: #2cafcc; +} +.mobile-menu .modules-menu .menu_text{ + display: none; +} +.layout-slide{ + padding: 0; +} +@media (min-width: 768px){ + .modules-menu-level-0, #main-nav{ + display: inline-block; + padding: 1em 0 2em 0; + } + .modules-menu-level-0 > li { + float: none; + } + .modules-menu .modules-menu-level-0 > li > a { + color: #09719c; + } + .layout-header > .container{ + padding: 0; + } + .navbar-collapse.collapse{ + padding: 0; + } + .modules-menu .modules-menu-level-0{ + background: #e8e6e7; + margin-bottom: 0; + border-radius: 0.4em; + } + .modules-menu .modules-menu-level-0 > li{ + padding: 0.2em 0.3em; + text-align: center; + border-bottom: 0.1em solid #c2c0c0; + } + .modules-menu .modules-menu-level-0 > li:hover{ + border-radius: unset; + background: #b7b7b7; + } +} +.modules-menu .modules-menu-level-0 > li:hover > a { + color: #ffffff; +} diff --git a/app/assets/stylesheets/seminar/content_style/4/css/template.css b/app/assets/stylesheets/seminar/content_style/4/css/template.css new file mode 100644 index 0000000..bcef7dd --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/4/css/template.css @@ -0,0 +1,125 @@ +.layout-content-inner{ + + padding-left: 0.9375em; +} +.layout-content-inner [data-subpart-id], .layout-content-inner #main-content{ + background: #e8e6e6; +} +[data-pp] .row{ + margin: 0; + padding: 0.5em; +} +.layout-content.col-sm-9{ + padding-left: 0; +} +.seminar_hr{ + display: none; + +} +.layout-content-inner [class*=widget-title] , #main-content [class*=page-title] , #main-content .index-title ,.layout-content-inner .seminar_h3{ + display: inline-block; + margin: 0; + line-height: 1.5; + color: #ffffff; + background: #fe681c; + padding: 0 0.5em; +} +.layout-content-inner [class*=widget-title] span{ + color: #ffffff; +} +[class*=widget-title] > * , #main-content [class*=page-title], #main-content .index-title{ + color: #ffffff; +} +.seminar_hr + *{ + margin-top: 1em; +} +.layout-content-inner [data-subpart-id] a.btn-primary, .layout-content-inner #main-content a.btn-primary { + background: transparent; + color: #2c8bb6; + border: none; + text-decoration: none; +} +.layout-content-inner h1,.layout-content-inner h2,.layout-content-inner h3,.layout-content-inner h4,.layout-content-inner h5,.layout-content-inner h6{ + font-weight: bold; +} +h4.w-annc__entry-title{ + font-weight: 500; +} +.layout-content-inner [data-subpart-id] a, .layout-content-inner #main-content a{ + color: #2c8bb6; +} +.layout-content-inner [data-subpart-id] a:hover, .layout-content-inner #main-content a:hover{ + color: #026c9c; + text-decoration: underline; +} +.layout-content-inner a.btn-primary:hover,.layout-content-inner a.btn-primary:focus,.layout-content-inner a.btn-primary:active { + color: #026c9c; + background: transparent; + border: none; + text-decoration: underline; + outline: none; + font-weight: bold; +} +li.w-annc__item.row:before { + display: inline-block; + color: #666; + content: "→"; + border-radius: 0; + background-color: transparent; + font-family: fantasy; + font-weight: bold; +} +span.w-annc__postdate, .i-annc__postdate { + color: #787878; +} +li.w-annc__item.row { + padding: 5px 0; + margin: 0; + border: none; + border-bottom: 1px dashed #888888; +} +li.w-annc__item.row .w-annc__postdate-wrap { + display: none; +} +.layout-footer-content , .footer-counter{ + color: #0f609a; +} +[data-pp="200"]{ + padding: 0 0.9375em; +} +[data-pp="201"]{ + background: #e8e6e6; +} +[data-pp="200"] [data-subpart-id],[data-pp="201"] [data-subpart-id]{ + border-top: 1px solid #a6a5a5; +} +@media (max-width: 767px){ + .layout-content{ + background: #ffffff; + } + .layout-content-inner { + margin-left: 0.9375em; + } + .col-sm-6{ + padding-left: 0; + } + + [data-pp="200"] [data-subpart-id]:last-of-type{ + border-bottom: 1px solid #a6a5a5; + } + .widget-custom_gallery .row > .col-md-4{ + padding: 1em; + } +} +[data-pp="200"] [data-subpart-id]:first-of-type{ + border-top: none; +} +.widget-custom_gallery .row > .col-md-4{ + border: 0.1em solid #b3b2b2; +} +.widget-custom_gallery .row > .col-md-4:hover{ + border: 0.1em solid #396992; +} +@media (min-width: 768px){ + +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/4/info.json b/app/assets/stylesheets/seminar/content_style/4/info.json new file mode 100644 index 0000000..6dcb456 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/4/info.json @@ -0,0 +1 @@ +{"template": "vertical_4_main_right_annc_left_album_right"} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/4/js/content.js b/app/assets/stylesheets/seminar/content_style/4/js/content.js new file mode 100644 index 0000000..00504f0 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/4/js/content.js @@ -0,0 +1,12 @@ +$(document).ready(function(){ + $("[data-subpart-id],#main-content").each(function(i,v){ + if($(v).html().trim() != ""){ + $(v).css("padding","1em"); + } + }) + $('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"]').each(function(i,h3){ + if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){ + $(h3).after("
") + } + }) +}) \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/5/5.jpg b/app/assets/stylesheets/seminar/content_style/5/5.jpg new file mode 100644 index 0000000..b05e7d8 Binary files /dev/null and b/app/assets/stylesheets/seminar/content_style/5/5.jpg differ diff --git a/app/assets/stylesheets/seminar/content_style/5/css/menu.css b/app/assets/stylesheets/seminar/content_style/5/css/menu.css new file mode 100644 index 0000000..828a742 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/5/css/menu.css @@ -0,0 +1,43 @@ +@media (min-width: 768px){ + .modules-menu-level-0, #main-nav{ + display: inline-block; + } + .modules-menu-level-0 > li { + float: left; + } +} +.mobile-menu .modules-menu.collapse.in{ + height: 100%; +} +/*img.site-logo{ + display: none; +}*/ +.mobile-menu .modules-menu { + background: #2cafcc; +} +.layout-slide{ + padding: 0; +} +@media (min-width: 768px){ + .modules-menu .modules-menu-level-0 > li > a { + color: #c2c8bd; + } + .layout-header > .container{ + padding: 0; + } + .navbar-collapse.collapse{ + padding: 0; + } + .modules-menu .modules-menu-level-0{ + background: #4a4a4a; + margin-bottom: 0; + padding: 0 1em; + } + .modules-menu .modules-menu-level-0 > li:hover { + background-color: #91BFEA; + border-radius: 0.5em; + } +} +.modules-menu .modules-menu-level-0 > li:hover > a { + color: #fff; +} diff --git a/app/assets/stylesheets/seminar/content_style/5/css/template.css b/app/assets/stylesheets/seminar/content_style/5/css/template.css new file mode 100644 index 0000000..5d9b47f --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/5/css/template.css @@ -0,0 +1,62 @@ +.layout-content-inner{ + background: #efefb2; +} +.seminar_h3{ + font-weight: bold; + color: #2ebf21; +} +.seminar_hr{ + display: none; +} +[class*=widget-title] { + margin: 0.5em 0; + line-height: 1.5; + color: #2ebf21; +} +[class*=widget-title] > * , #main-content [class*=page-title], #main-content .index-title{ + color: #2ebf21; +} +a.w-annc__more { + background: transparent; + border: none; + text-decoration: underline; +} +.layout-content-inner [data-subpart-id] a, .layout-content-inner #main-content a{ + color: #2ebf21; +} +.layout-content-inner [data-subpart-id] a:hover, .layout-content-inner #main-content a:hover{ + color: #0f7c04; +} +a.w-annc__more:hover, a.w-annc__more.btn-primary:focus, a.w-annc__more:active { + color: #0f7c04; + background: transparent; + border: none; + text-decoration: underline; + outline: none; +} +li.w-annc__item.row:before { + display: inline-block; + content: " "; + width: 10px; + height: 10px; + border-radius: 50px; + background-color: #108b17; + position: absolute; + top: 0.5em; +} +span.w-annc__postdate, .i-annc__postdate { + color: #787878; +} +li.w-annc__item.row { + border-bottom: 1px dashed #888888; + padding: 5px 0; + margin: 0; +} +.layout-footer-content , .footer-counter{ + color: #0f609a; +} +@media (max-width: 767px){ + .layout-content{ + background: #ffffff; + } +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/5/info.json b/app/assets/stylesheets/seminar/content_style/5/info.json new file mode 100644 index 0000000..42027dd --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/5/info.json @@ -0,0 +1 @@ +{"template": "horizontal_5_main_right_annc_left_album_right"} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/5/js/content.js b/app/assets/stylesheets/seminar/content_style/5/js/content.js new file mode 100644 index 0000000..1fb7a73 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/5/js/content.js @@ -0,0 +1,7 @@ +$(document).ready(function(){ + $('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"]').each(function(i,h3){ + if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){ + $(h3).after("
") + } + }) +}) \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/6/6.jpg b/app/assets/stylesheets/seminar/content_style/6/6.jpg new file mode 100644 index 0000000..eb8e0d0 Binary files /dev/null and b/app/assets/stylesheets/seminar/content_style/6/6.jpg differ diff --git a/app/assets/stylesheets/seminar/content_style/6/css/menu.css b/app/assets/stylesheets/seminar/content_style/6/css/menu.css new file mode 100644 index 0000000..ea481e6 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/6/css/menu.css @@ -0,0 +1,34 @@ +@media (min-width: 768px){ + .modules-menu-level-0, #main-nav{ + display: inline-block; + } + .modules-menu-level-0 > li { + float: left; + } +} +.mobile-menu .modules-menu.collapse.in{ + height: 100%; +} +img.site-logo{ + display: none; +} +.layout-slide{ + padding: 0; +} +@media (min-width: 768px){ + .modules-menu .modules-menu-level-0 > li > a { + color: #c2c8bd; + } + .layout-header > .container{ + padding: 0; + } + .navbar-collapse.collapse{ + padding: 0; + } + .modules-menu .modules-menu-level-0{ + background: #4a4a4a; + margin-bottom: 0; + padding: 0 1em; + } +} + diff --git a/app/assets/stylesheets/seminar/content_style/6/css/template.css b/app/assets/stylesheets/seminar/content_style/6/css/template.css new file mode 100644 index 0000000..27a8918 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/6/css/template.css @@ -0,0 +1,51 @@ +.layout-content-inner{ + background: #ffffff; +} +.seminar_h3{ + font-weight: bold; + margin: 0.5em 0; +} +[class*=widget-title] { + margin: 0.5em 0; + line-height: 1.5; +} +@media (max-width: 767px){ + .layout-content{ + background: #ffffff; + } +} + +[class*=widget-title], .layout-content-box h3, .layout-content-box h1, .layout-content-box .w-annc__widget-title1{ + margin: 0.5em 0; + line-height: 1.5; + border: 0.1em solid #8a8a88; + border-left: 0.4em solid #8a8a88; + font-weight: bold; + padding: 0.2em; +} +.seminar_hr{ + display: none; +} +a[class*="more"],a.btn-primary { + background: transparent; + color: #9fca8f; + border: navajowhite; + font-weight: bold; +} +li.w-annc__item.row:before{ + display: none; +} +.layout-content-box a[class*="more"]:hover{ + color: #9fca8f; + background: #e9e9e9; +} +.layout-content-box [class*="annc__title"]:hover, a.btn-primary:hover, .layout-content-box a:hover{ + color: #9fca8f; + background: transparent; +} +.w-annc__postdate-wrap{ + line-height: 1.8; +} +.w-annc__postdate-wrap { + color: #c0c0c0; +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/6/info.json b/app/assets/stylesheets/seminar/content_style/6/info.json new file mode 100644 index 0000000..e04c137 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/6/info.json @@ -0,0 +1,2 @@ +{ "template": "horizontal_6_main_left_annc_right_album_right", + "read_more_position": "lower_right" } \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/6/js/content.js b/app/assets/stylesheets/seminar/content_style/6/js/content.js new file mode 100644 index 0000000..1fb7a73 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/6/js/content.js @@ -0,0 +1,7 @@ +$(document).ready(function(){ + $('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"]').each(function(i,h3){ + if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){ + $(h3).after("
") + } + }) +}) \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/7/7.jpg b/app/assets/stylesheets/seminar/content_style/7/7.jpg new file mode 100644 index 0000000..5992db6 Binary files /dev/null and b/app/assets/stylesheets/seminar/content_style/7/7.jpg differ diff --git a/app/assets/stylesheets/seminar/content_style/7/css/menu.css b/app/assets/stylesheets/seminar/content_style/7/css/menu.css new file mode 100644 index 0000000..60449b5 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/7/css/menu.css @@ -0,0 +1,45 @@ +.mobile-menu .modules-menu.collapse.in{ + height: 100%; +} +img.site-logo{ + display: none; +} +.layout-slide{ + padding: 0; +} +@media (min-width: 768px){ + .modules-menu-level-0, #main-nav{ + display: inline-block; + } + .modules-menu-level-0 > li { + float: left; + display: block; + width: 100%; + padding: 0.2em; + border-bottom: #e3e3e3 0.2em dotted !important; + } + .modules-menu .modules-menu-level-0 > li:hover { + background: #ededed; + color: #a4d29a; + border-radius: 0; + } + .modules-menu .modules-menu-level-0 > li > a { + color: #5c7e64; + font-weight: bold; + } + .modules-menu .modules-menu-level-0 > li:hover > a { + color: inherit; + } + .layout-header > .container{ + padding: 0; + } + .navbar-collapse.collapse{ + padding: 0; + } + .modules-menu .modules-menu-level-0{ + margin-bottom: 0; + padding: 0 1em; + background: transparent; + } +} + diff --git a/app/assets/stylesheets/seminar/content_style/7/css/template.css b/app/assets/stylesheets/seminar/content_style/7/css/template.css new file mode 100644 index 0000000..dbd61d9 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/7/css/template.css @@ -0,0 +1,77 @@ +.layout-content-inner{ + background: #ffffff; +} +.seminar_h3{ + font-weight: bold; +} +.seminar_hr{ + border-top: 0.1em dashed #ecd4cf; + margin: 0.5em 0; +} +[class*=widget-title] { + margin: 0.5em 0; + line-height: 1.5; +} +@media (max-width: 767px){ + .layout-content{ + background: #ffffff; + } +} +.layout-content-box h3, .layout-content-box h1,.layout-content-box .i-annc .i-annc__th{ + background: #a52d14; + color: #ecd4cf !important; + padding: 0.2em; + padding-left: 0.5em; + margin-bottom: 0em !important; + margin-top: 0em !important; + +} +.layout-content-box .i-annc .i-annc__th{ + border-top: 0.1em solid #de9485; +} +h1.i-annc__page-title:not(:empty) { + border-bottom: 0.1em dashed #de9485; +} +.layout-content-box h3{ + font-size: 1.3em !important; +} +.layout-content-box h3,.layout-content-box h1{ + font-weight: bold; +} +.seminar_hr{ + display: none; +} +a[class*="more"],a.btn-primary { + background: #a52d14; + color: #ffebe7; +} +li.w-annc__item.row:before{ + display: none; +} +.layout-content-box a:hover, .layout-content-box .w-annc__title:hover{ + color: #a52d14; +} +.layout-content-box .w-annc__title{ + text-decoration: underline; +} +.w-annc__postdate-wrap{ + line-height: 1.8; +} +a[class*="more"]:hover,a.btn-primary:hover { + background: #781703; + color: #ffebe7; +} +.layout-content-box li.w-annc__item.row{ + border-bottom: 0em; + margin: 0; + padding: 0.4em; +} +.layout-content-box li.w-annc__item.row:nth-child(2n+2),.layout-content-box .table-striped>tbody>tr:nth-child(2n+2){ + background: #e9e9e9; +} +.layout-content-box .table-striped>tbody>tr:nth-of-type(odd){ + background: transparent; +} +tbody td, tbody td a, .i-annc a.i-annc__title{ + color: #9b9b9b; +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/7/info.json b/app/assets/stylesheets/seminar/content_style/7/info.json new file mode 100644 index 0000000..5b900c4 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/7/info.json @@ -0,0 +1,2 @@ +{ "template": "vertical_7_main_right_annc_left_album_bottom", + "read_more_position": "lower_right" } \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/7/js/content.js b/app/assets/stylesheets/seminar/content_style/7/js/content.js new file mode 100644 index 0000000..1fb7a73 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/7/js/content.js @@ -0,0 +1,7 @@ +$(document).ready(function(){ + $('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"]').each(function(i,h3){ + if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){ + $(h3).after("
") + } + }) +}) \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/8/8.jpg b/app/assets/stylesheets/seminar/content_style/8/8.jpg new file mode 100644 index 0000000..2198d3e Binary files /dev/null and b/app/assets/stylesheets/seminar/content_style/8/8.jpg differ diff --git a/app/assets/stylesheets/seminar/content_style/8/css/menu.css b/app/assets/stylesheets/seminar/content_style/8/css/menu.css new file mode 100644 index 0000000..60449b5 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/8/css/menu.css @@ -0,0 +1,45 @@ +.mobile-menu .modules-menu.collapse.in{ + height: 100%; +} +img.site-logo{ + display: none; +} +.layout-slide{ + padding: 0; +} +@media (min-width: 768px){ + .modules-menu-level-0, #main-nav{ + display: inline-block; + } + .modules-menu-level-0 > li { + float: left; + display: block; + width: 100%; + padding: 0.2em; + border-bottom: #e3e3e3 0.2em dotted !important; + } + .modules-menu .modules-menu-level-0 > li:hover { + background: #ededed; + color: #a4d29a; + border-radius: 0; + } + .modules-menu .modules-menu-level-0 > li > a { + color: #5c7e64; + font-weight: bold; + } + .modules-menu .modules-menu-level-0 > li:hover > a { + color: inherit; + } + .layout-header > .container{ + padding: 0; + } + .navbar-collapse.collapse{ + padding: 0; + } + .modules-menu .modules-menu-level-0{ + margin-bottom: 0; + padding: 0 1em; + background: transparent; + } +} + diff --git a/app/assets/stylesheets/seminar/content_style/8/css/template.css b/app/assets/stylesheets/seminar/content_style/8/css/template.css new file mode 100644 index 0000000..88f2b4b --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/8/css/template.css @@ -0,0 +1,69 @@ +.layout-content-inner{ + background: #ffffff; +} +.seminar_h3{ + font-weight: bold; +} +.seminar_hr{ + border-top: 0.1em dashed #ecd4cf; + margin: 0.5em 0; +} +[class*=widget-title] { + margin: 0.5em 0; + line-height: 1.5; +} +@media (max-width: 767px){ + .layout-content{ + background: #ffffff; + } +} +.layout-content-box h3, .layout-content-box h1,.layout-content-box .i-annc .i-annc__th{ + padding: 0.2em; + padding-left: 0; + margin-bottom: 0em !important; + margin-top: 0em !important; + +} +.layout-content-box .i-annc .i-annc__th{ + border-top: 0.1em solid #de9485; +} +.layout-content-box h3{ + font-size: 1.3em !important; +} +.layout-content-box h3,.layout-content-box h1{ + font-weight: bold; +} +.seminar_hr{ + display: none; +} +a[class*="more"],a.btn-primary { + background: #a52d14; + color: #ffebe7; +} +li.w-annc__item.row:before{ + display: none; +} +.layout-content-box a:hover, .layout-content-box .w-annc__title:hover{ + color: #a52d14; +} +.layout-content-box .w-annc__title{ + text-decoration: underline; +} +.w-annc__postdate-wrap{ + line-height: 1.8; +} +a[class*="more"]:hover,a.btn-primary:hover { + background: #781703; + color: #ffebe7; +} +.layout-content-box li.w-annc__item.row{ + border-bottom: 0em; + margin: 0; + padding: 0.4em; +} +.layout-content-box li.w-annc__item.row:nth-child(2n+2),.layout-content-box .table-striped>tbody>tr:nth-child(2n+2){ + background: #e9e9e9; +} +.layout-content-box .table-striped>tbody>tr:nth-of-type(odd){ + background: transparent; +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/8/info.json b/app/assets/stylesheets/seminar/content_style/8/info.json new file mode 100644 index 0000000..5b900c4 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/8/info.json @@ -0,0 +1,2 @@ +{ "template": "vertical_7_main_right_annc_left_album_bottom", + "read_more_position": "lower_right" } \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/8/js/content.js b/app/assets/stylesheets/seminar/content_style/8/js/content.js new file mode 100644 index 0000000..1fb7a73 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/8/js/content.js @@ -0,0 +1,7 @@ +$(document).ready(function(){ + $('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"]').each(function(i,h3){ + if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){ + $(h3).after("
") + } + }) +}) \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/9/9.jpg b/app/assets/stylesheets/seminar/content_style/9/9.jpg new file mode 100644 index 0000000..043f552 Binary files /dev/null and b/app/assets/stylesheets/seminar/content_style/9/9.jpg differ diff --git a/app/assets/stylesheets/seminar/content_style/9/css/menu.css b/app/assets/stylesheets/seminar/content_style/9/css/menu.css new file mode 100644 index 0000000..ea481e6 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/9/css/menu.css @@ -0,0 +1,34 @@ +@media (min-width: 768px){ + .modules-menu-level-0, #main-nav{ + display: inline-block; + } + .modules-menu-level-0 > li { + float: left; + } +} +.mobile-menu .modules-menu.collapse.in{ + height: 100%; +} +img.site-logo{ + display: none; +} +.layout-slide{ + padding: 0; +} +@media (min-width: 768px){ + .modules-menu .modules-menu-level-0 > li > a { + color: #c2c8bd; + } + .layout-header > .container{ + padding: 0; + } + .navbar-collapse.collapse{ + padding: 0; + } + .modules-menu .modules-menu-level-0{ + background: #4a4a4a; + margin-bottom: 0; + padding: 0 1em; + } +} + diff --git a/app/assets/stylesheets/seminar/content_style/9/css/template.css b/app/assets/stylesheets/seminar/content_style/9/css/template.css new file mode 100644 index 0000000..d7ae879 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/9/css/template.css @@ -0,0 +1,63 @@ +.layout-content-inner{ + background: #ffffff; +} +.seminar_h3{ + margin: 0.5em 0; +} +.seminar_hr{ + border-top: 0.1em dashed #acacac; + margin: 0.5em 0; +} +[class*=widget-title], .layout-content-box h3, .layout-content-box h1, .layout-content-box .w-annc__widget-title1{ + margin: 0.5em 0; + line-height: 1.5; + font-weight: bold; + color: #be9bb3 !important; +} +@media (max-width: 767px){ + .layout-content{ + background: #ffffff; + } +} +.layout-content-box h3,.layout-content-box h1 { + overflow: hidden; + position: relative; +} +.seminar_hr{ + display: none; +} +a[class*="more"],a.btn-primary { + background: transparent; + color: #a5a5a5; + border: #a5a5a5 0.2em solid; + font-weight: bold; +} +li.w-annc__item.row:before{ + display: none; +} +.layout-content-box [class*="annc__title"]:hover, .layout-content-box a:hover{ + color: #6d76dd; + background: transparent; +} +a.btn-primary:hover, .layout-content-box .w-annc__title:hover{ + color: #ffffff; + background: #2f3361; +} +.w-annc__postdate-wrap{ + line-height: 1.8; +} +.w-annc__postdate-wrap { + color: #c0c0c0; +} +.slash-background{ + background: linear-gradient(-45deg, #ffffff 0.45em, #efecef 0.5em, #ffffff 0.45em ); + position: absolute; + z-index: 0; + width: 100%; + height: 1em; + top: 0.15em; + left: 100%; + right: 0; + transform: scaleY(2); + background-size: 0.5em 100%; +} \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/9/info.json b/app/assets/stylesheets/seminar/content_style/9/info.json new file mode 100644 index 0000000..5557604 --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/9/info.json @@ -0,0 +1,2 @@ +{ "template": "horizontal_9_main_left_annc_right_album_right", + "read_more_position": "lower_right" } \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/content_style/9/js/content.js b/app/assets/stylesheets/seminar/content_style/9/js/content.js new file mode 100644 index 0000000..236e10f --- /dev/null +++ b/app/assets/stylesheets/seminar/content_style/9/js/content.js @@ -0,0 +1,14 @@ +$(document).ready(function(){ + $('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"]').each(function(i,h3){ + if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){ + $(h3).after("
") + } + }) + $.each($('.layout-content-box h3,.layout-content-box h1 '),function(){ + var $ele = $(this) + var w = $ele.text().trim().length+0.5 + var slash_background = $('
') + $ele.append(slash_background) + slash_background.css('left',w+'em') + }) +}) \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal/footer.html.erb b/app/assets/stylesheets/seminar/templates/horizontal/footer.html.erb new file mode 100644 index 0000000..3b2397b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal/footer.html.erb @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal/header.html.erb b/app/assets/stylesheets/seminar/templates/horizontal/header.html.erb new file mode 100644 index 0000000..e9eff8c --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal/header.html.erb @@ -0,0 +1,43 @@ +
+ + + +
+ +
+
+ \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal/index.html.erb b/app/assets/stylesheets/seminar/templates/horizontal/index.html.erb new file mode 100644 index 0000000..984c6c7 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal/index.html.erb @@ -0,0 +1,55 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+ /accesskey" title="Content">::: +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal/menu.html.erb b/app/assets/stylesheets/seminar/templates/horizontal/menu.html.erb new file mode 100644 index 0000000..9f1f55b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal/menu.html.erb @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal/page.html.erb b/app/assets/stylesheets/seminar/templates/horizontal/page.html.erb new file mode 100644 index 0000000..f4c8b59 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal/page.html.erb @@ -0,0 +1,43 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+ + +
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+ +
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal/pagination.html.erb b/app/assets/stylesheets/seminar/templates/horizontal/pagination.html.erb new file mode 100644 index 0000000..0c22683 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal/pagination.html.erb @@ -0,0 +1,5 @@ + diff --git a/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/footer.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/footer.html.erb new file mode 100644 index 0000000..3b2397b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/footer.html.erb @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/header.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/header.html.erb new file mode 100644 index 0000000..e9eff8c --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/header.html.erb @@ -0,0 +1,43 @@ +
+ + + +
+ +
+
+ \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/index.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/index.html.erb new file mode 100644 index 0000000..c3b8154 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/index.html.erb @@ -0,0 +1,43 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+ + +
+
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+ +
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/menu.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/menu.html.erb new file mode 100644 index 0000000..9f1f55b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/menu.html.erb @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/page.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/page.html.erb new file mode 100644 index 0000000..f4c8b59 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/page.html.erb @@ -0,0 +1,43 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+ + +
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+ +
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/pagination.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/pagination.html.erb new file mode 100644 index 0000000..0c22683 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_13_main_left_annc_right_album_left/pagination.html.erb @@ -0,0 +1,5 @@ + diff --git a/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/footer.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/footer.html.erb new file mode 100644 index 0000000..3b2397b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/footer.html.erb @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/header.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/header.html.erb new file mode 100644 index 0000000..e9eff8c --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/header.html.erb @@ -0,0 +1,43 @@ +
+ + + +
+ +
+
+ \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/index.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/index.html.erb new file mode 100644 index 0000000..cf40290 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/index.html.erb @@ -0,0 +1,43 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+ +
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/menu.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/menu.html.erb new file mode 100644 index 0000000..9f1f55b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/menu.html.erb @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/page.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/page.html.erb new file mode 100644 index 0000000..f4c8b59 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/page.html.erb @@ -0,0 +1,43 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+ + +
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+ +
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/pagination.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/pagination.html.erb new file mode 100644 index 0000000..0c22683 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_5_main_right_annc_left_album_right/pagination.html.erb @@ -0,0 +1,5 @@ + diff --git a/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/footer.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/footer.html.erb new file mode 100644 index 0000000..3b2397b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/footer.html.erb @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/header.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/header.html.erb new file mode 100644 index 0000000..e9eff8c --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/header.html.erb @@ -0,0 +1,43 @@ +
+ + + +
+ +
+
+ \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/index.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/index.html.erb new file mode 100644 index 0000000..f0fdc37 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/index.html.erb @@ -0,0 +1,43 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+ + +
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+ +
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/menu.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/menu.html.erb new file mode 100644 index 0000000..9f1f55b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/menu.html.erb @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/page.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/page.html.erb new file mode 100644 index 0000000..f4c8b59 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/page.html.erb @@ -0,0 +1,43 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+ + +
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+ +
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/pagination.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/pagination.html.erb new file mode 100644 index 0000000..0c22683 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_6_main_left_annc_right_album_right/pagination.html.erb @@ -0,0 +1,5 @@ + diff --git a/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/footer.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/footer.html.erb new file mode 100644 index 0000000..3b2397b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/footer.html.erb @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/header.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/header.html.erb new file mode 100644 index 0000000..e9eff8c --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/header.html.erb @@ -0,0 +1,43 @@ +
+ + + +
+ +
+
+ \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/index.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/index.html.erb new file mode 100644 index 0000000..808ce14 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/index.html.erb @@ -0,0 +1,43 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+ + +
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+ +
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/menu.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/menu.html.erb new file mode 100644 index 0000000..9f1f55b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/menu.html.erb @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/page.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/page.html.erb new file mode 100644 index 0000000..f4c8b59 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/page.html.erb @@ -0,0 +1,43 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+ + +
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+ +
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/pagination.html.erb b/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/pagination.html.erb new file mode 100644 index 0000000..0c22683 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/horizontal_9_main_left_annc_right_album_right/pagination.html.erb @@ -0,0 +1,5 @@ + diff --git a/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/footer.html.erb b/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/footer.html.erb new file mode 100644 index 0000000..3b2397b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/footer.html.erb @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/header.html.erb b/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/header.html.erb new file mode 100644 index 0000000..9f8bbaf --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/header.html.erb @@ -0,0 +1,40 @@ +
+ + + +
+ +
+
+ \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/index.html.erb b/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/index.html.erb new file mode 100644 index 0000000..981bf2b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/index.html.erb @@ -0,0 +1,55 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+
+
+
+
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/menu.html.erb b/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/menu.html.erb new file mode 100644 index 0000000..266519f --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/menu.html.erb @@ -0,0 +1,18 @@ + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/page.html.erb b/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/page.html.erb new file mode 100644 index 0000000..9061877 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/page.html.erb @@ -0,0 +1,55 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+
+
+
+
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/pagination.html.erb b/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/pagination.html.erb new file mode 100644 index 0000000..0c22683 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_1_main_left_annc_top_album_right/pagination.html.erb @@ -0,0 +1,5 @@ + diff --git a/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/footer.html.erb b/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/footer.html.erb new file mode 100644 index 0000000..3b2397b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/footer.html.erb @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/header.html.erb b/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/header.html.erb new file mode 100644 index 0000000..9f8bbaf --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/header.html.erb @@ -0,0 +1,40 @@ +
+ + + +
+ +
+
+ \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/index.html.erb b/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/index.html.erb new file mode 100644 index 0000000..37183ab --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/index.html.erb @@ -0,0 +1,55 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+
+
+
+
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/menu.html.erb b/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/menu.html.erb new file mode 100644 index 0000000..9f1f55b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/menu.html.erb @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/page.html.erb b/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/page.html.erb new file mode 100644 index 0000000..9061877 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/page.html.erb @@ -0,0 +1,55 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+
+
+
+
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/pagination.html.erb b/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/pagination.html.erb new file mode 100644 index 0000000..0c22683 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_2_main_right_annc_left_album_bottom/pagination.html.erb @@ -0,0 +1,5 @@ + diff --git a/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/footer.html.erb b/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/footer.html.erb new file mode 100644 index 0000000..3b2397b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/footer.html.erb @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/header.html.erb b/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/header.html.erb new file mode 100644 index 0000000..9f8bbaf --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/header.html.erb @@ -0,0 +1,40 @@ +
+ + + +
+ +
+
+ \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/index.html.erb b/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/index.html.erb new file mode 100644 index 0000000..9061877 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/index.html.erb @@ -0,0 +1,55 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+
+
+
+
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/menu.html.erb b/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/menu.html.erb new file mode 100644 index 0000000..9f1f55b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/menu.html.erb @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/page.html.erb b/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/page.html.erb new file mode 100644 index 0000000..9061877 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/page.html.erb @@ -0,0 +1,55 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+
+
+
+
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/pagination.html.erb b/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/pagination.html.erb new file mode 100644 index 0000000..0c22683 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_3_main_top_annc_left_album_right/pagination.html.erb @@ -0,0 +1,5 @@ + diff --git a/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/footer.html.erb b/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/footer.html.erb new file mode 100644 index 0000000..3b2397b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/footer.html.erb @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/header.html.erb b/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/header.html.erb new file mode 100644 index 0000000..9f8bbaf --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/header.html.erb @@ -0,0 +1,40 @@ +
+ + + +
+ +
+
+ \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/index.html.erb b/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/index.html.erb new file mode 100644 index 0000000..e7e3ae6 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/index.html.erb @@ -0,0 +1,55 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+
+
+
+
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/menu.html.erb b/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/menu.html.erb new file mode 100644 index 0000000..9f1f55b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/menu.html.erb @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/page.html.erb b/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/page.html.erb new file mode 100644 index 0000000..9061877 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/page.html.erb @@ -0,0 +1,55 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+
+
+
+
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/pagination.html.erb b/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/pagination.html.erb new file mode 100644 index 0000000..0c22683 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_4_main_right_annc_left_album_right/pagination.html.erb @@ -0,0 +1,5 @@ + diff --git a/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/footer.html.erb b/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/footer.html.erb new file mode 100644 index 0000000..3b2397b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/footer.html.erb @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/header.html.erb b/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/header.html.erb new file mode 100644 index 0000000..9f8bbaf --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/header.html.erb @@ -0,0 +1,40 @@ +
+ + + +
+ +
+
+ \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/index.html.erb b/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/index.html.erb new file mode 100644 index 0000000..2d1c1ad --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/index.html.erb @@ -0,0 +1,55 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+
+
+
+
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/menu.html.erb b/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/menu.html.erb new file mode 100644 index 0000000..9f1f55b --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/menu.html.erb @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/page.html.erb b/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/page.html.erb new file mode 100644 index 0000000..9061877 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/page.html.erb @@ -0,0 +1,55 @@ + + + + <%= render_partial("head") %> + + + <%= render_orbit_bar %> +
+ <%= render_header %> +
+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+
+
+
+
+ <%= yield %> +
+
+
+
+
+
+
+
+ <%= render_every_page_sharer %> +
+
+
+
+
+
+
+
+
+ <%= render_footer %> + + \ No newline at end of file diff --git a/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/pagination.html.erb b/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/pagination.html.erb new file mode 100644 index 0000000..0c22683 --- /dev/null +++ b/app/assets/stylesheets/seminar/templates/vertical_7_main_right_annc_left_album_bottom/pagination.html.erb @@ -0,0 +1,5 @@ + diff --git a/app/controllers/admin/seminars_controller.rb b/app/controllers/admin/seminars_controller.rb index a0ec7b5..39c635d 100644 --- a/app/controllers/admin/seminars_controller.rb +++ b/app/controllers/admin/seminars_controller.rb @@ -5,10 +5,10 @@ class Admin::SeminarsController < OrbitAdminController include Admin::SeminarsHelper helper Admin::SeminarsFieldHelper before_action ->(module_app = @app_title) { set_variables module_app } - before_action :set_seminar, only: [:edit, :set_write_off, :seminar_signup, :destroy,:seminar_signup_admin_setting,:update_seminar_signup_admin_setting,:get_reviewer_block,:get_session_block,:update_seminar_review,:update_seminar_session,:reviewer_setting,:update_reviewer_setting] + before_action :set_seminar, only: [:edit, :set_write_off, :seminar_signup, :destroy,:seminar_signup_admin_setting,:update_seminar_signup_admin_setting,:get_reviewer_block,:get_session_block,:update_seminar_review,:update_seminar_session,:reviewer_setting,:update_reviewer_setting,:template_setting,:update_template_setting,:sub_page_setting] before_action :set_seminar_signup_admin_setting, only: [:seminar_signup,:seminar_signup_admin_setting,:update_seminar_signup_admin_setting,:get_reviewer_block,:get_session_block] before_action :check_permission_for_seminar, only: [:seminar_signup,:get_reviewer_block,:get_session_block] - before_action :check_manager_for_seminar, only: [:seminar_signup_admin_setting,:update_seminar_signup_admin_setting,:update_seminar_review,:update_seminar_session,:reviewer_setting,:update_reviewer_setting] + before_action :check_manager_for_seminar, only: [:seminar_signup_admin_setting,:update_seminar_signup_admin_setting,:update_seminar_review,:update_seminar_session,:reviewer_setting,:update_reviewer_setting,:template_setting,:update_template_setting] def initialize super @app_title = "seminar" @@ -37,6 +37,52 @@ class Admin::SeminarsController < OrbitAdminController end end end + def template_setting + @seminar_template_setting = @seminar.seminar_template_setting + if @seminar_template_setting.nil? + @seminar_template_setting = SeminarTemplateSetting.create(:seminar_main=>@seminar) + end + if (CustomBulletinConfig.where(:module=>"seminar").count == 0 rescue false) + CustomBulletinConfig.create(:module=>"seminar",:bind_model=>"SeminarMain",:custom_record_callback=>"manage_announcement_count") + end + if (CustomAlbumConfig.where(:module=>"seminar").count == 0 rescue false) + CustomAlbumConfig.create(:module=>"seminar",:bind_model=>"SeminarMain",:custom_record_callback=>"manage_album_count") + end + end + def update_template_setting + @seminar_template_setting = SeminarTemplateSetting.find(params[:id]) + @seminar_template_setting.update_attributes(seminar_template_setting_params) + redirect_to admin_seminars_path + end + def sub_page_setting + @seminar_page_root = Page.where(:parent_page_id=>params[:id]).first + available_locales = I18n.available_locales.map{|l| l.to_s} + if @seminar_page_root.nil? + @seminar_page_root = Page.create(:parent_page_id=>params[:id],:module=>"seminars_home",:name_translations=>@seminar.title_translations,:url=>"/home",:page_id=>"home",:enabled_for=>available_locales,:bind_uid=>@seminar.uid,:bind_module_app=>"seminar",:bind_model=>"SeminarMain",:menu_enabled_for=>available_locales) + else + @seminar_page_root.update(:name_translations=>@seminar.title_translations,:module=>"seminars_home",:url=>"/home",:page_id=>"home",:enabled_for=>available_locales,:bind_uid=>@seminar.uid,:bind_module_app=>"seminar",:bind_model=>"SeminarMain",:menu_enabled_for=>available_locales) + end + pages_info = {"introduction" => "seminars_page", + "news" => "custom_announcement", + "registration" => "seminar_registration", + "submission" => "seminar_submission", + "album" => "custom_gallery"} + pages_info.each do |page_id , page_module| + seminar_page = @seminar_page_root.child_page.where(:page_id=>page_id).first + page_trans = available_locales.map{|l| [l,I18n.with_locale(l){I18n.t("seminar.menu.#{page_id}")}]}.to_h + if seminar_page.nil? + seminar_page = @seminar_page_root.child_page.create(:name_translations=>page_trans,:page_id=>page_id,:url=>"/home/#{page_id}",:enabled_for=>available_locales,:module=>page_module,:menu_enabled_for=>available_locales) + else + seminar_page.update(:name_translations=>page_trans,:page_id=>page_id,:url=>"/home/#{page_id}",:enabled_for=>available_locales,:module=>page_module,:menu_enabled_for=>available_locales) + end + end + @items = @seminar_page_root.child_page + @parent_pages = [] + # exceptions = ["personal_book","personal_conference","personal_diploma","personal_experience","personal_journal","personal_lab","personal_patent","personal_project","personal_research"] + exceptions = [] + @modules = ModuleApp.where(:key.nin => exceptions).frontend_enabled.order_by(:key=>'asc') + @searchfilter = @modules.collect{|m|[t('module_name.'+m.key),m.key]} + end def reviewer_setting @seminar_reviews = @seminar.seminar_reviews @fields = [] @@ -671,7 +717,9 @@ class Admin::SeminarsController < OrbitAdminController @seminar_signup = SeminarSignup.find(params[:signup_id]) rescue nil end end - + def seminar_template_setting_params + params.require(:seminar_template_setting).permit! + end def seminar_params params.require(:seminar_main).permit! end diff --git a/app/controllers/seminars_controller.rb b/app/controllers/seminars_controller.rb index fdf0d49..047cb8a 100644 --- a/app/controllers/seminars_controller.rb +++ b/app/controllers/seminars_controller.rb @@ -1,6 +1,7 @@ class SeminarsController < ApplicationController helper MemberHelper + include MemberHelper include ActionView::Context #vary important (only add this can access @@session from view) include Admin::SeminarsHelper # include SimpleCaptcha::ControllerHelpers @@ -16,7 +17,182 @@ class SeminarsController < ApplicationController } end - + def custom_frontend_data + params = OrbitHelper.params + seminar = SeminarMain.find_by(:uid=>params[:uid]) + @seminar = seminar + seminar_template_setting = seminar.seminar_template_setting + home_page = Page.where(:parent_page_id=>seminar.id).first + prefix_url = OrbitHelper.request.path.split("-").first + "-#{params[:uid]}" + @prefix_url = prefix_url + header_data = "Home | " + + "Main Site" + content_style = seminar_template_setting.content_style + background_style = seminar_template_setting.background_style + background_style_info = SeminarTemplateSetting.background_style_infos[background_style].to_h + content_style_info = SeminarTemplateSetting.content_style_infos[content_style].to_h + extra_css = content_style_info["css"].to_a + background_style_info["css"].to_a + extra_js = content_style_info["js"].to_a + background_style_info["js"].to_a + template_path = content_style_info["template"] + custom_footer = seminar_template_setting.footer_info + if seminar_template_setting.seminar_banner_images.count != 0 + banner_title = seminar.title + external_link = prefix_url + "/home" + images = seminar_template_setting.seminar_banner_images.map.with_index do |image,i| + caption = (i == 0 ? '
' : "") + klass = (i == 0 ? "active" : "") + alt_title = image.description + context = "" + image_link = image.file.url + { + "image_link" => image_link, + "image_alt" => alt_title, + "title" => "", + "alt_title" => alt_title, + "class" => klass, + "height" => 0, + "width" => 0, + "caption" => caption, + "context" => context, + "link" => external_link, + "target" => "" + } + end + custom_banner = { + "extras" => { + "ad_fx" => "fade", + "speed" => 500, + "title" => banner_title, + "banner-height" => 0, + "banner-width" => 0, + "base_image" => 0, + "timeout" => (5 * 1000), + "more" => "More" + }, + "images" => images + } + else + custom_banner = nil + end + @@session = OrbitHelper.request.session + @@session[:seminar_main_id] = @seminar.id + if params[:method].present? + main_content = render_other_method + elsif params[:current_page_module] == "seminars_home" + seminar = SeminarMain.where(uid: params[:uid]).first + time_now = Time.now + data = { + "seminar" => seminar, + "time_now" => time_now + } + @_request = OrbitHelper.request + main_content = render_to_string("seminars/custom_home",:locals=>{:seminar=>seminar, + :params=>params,:session=>OrbitHelper.request.session},:layout=>false) + elsif params[:current_page_module] == "seminars_page" + time_now = Time.now + params = OrbitHelper.params + seminar = SeminarMain.find_by(uid: params[:uid]) + if !seminar.registration_status.blank? && seminar.signup_start_date <= time_now && ( seminar.signup_end_date.nil? || seminar.signup_end_date+1 >= time_now ) + sign_up = ('' + t('seminar.signup') + '').html_safe + elsif seminar.registration_status.blank? + sign_up = t('seminar.sign_up_not_open') + elsif seminar.signup_start_date > time_now + sign_up = t('seminar.sign_up_not_yet') + else + sign_up = t('seminar.sign_up_overdue') + end + if !seminar.registration_status.blank? && seminar.registration_status.include?('C') && seminar.contribute_start_date <= time_now && ( seminar.contribute_end_date.nil? || seminar.contribute_end_date+1 >= time_now ) + if !@@session[:seminar_signup_id].blank? + if @@session[:seminar_main_id] == seminar.id + contribute_action = ('' + t('seminar_signup.uploads') + '').html_safe + else + contribute_action = ('' + t('seminar_signup.con_login') + '').html_safe + end + else + contribute_action = ('' + t('seminar_signup.con_login') + '').html_safe + end + end + data = { + 'seminar' => seminar, + 'sign_up' => sign_up, + 'contribute_action' => contribute_action, + 'time_now' => time_now, + 'contribute_time_range' => SeminarMain.time_range(seminar.contribute_start_date, seminar.contribute_end_date), + 'sign_up_time_range' => SeminarMain.time_range(seminar.signup_start_date, seminar.signup_end_date), + 'seminar_time_range' => SeminarMain.time_range(seminar.seminar_start_date, seminar.seminar_end_date) + } + @_request = OrbitHelper.request + main_content = render_to_string("seminars/show_data",:locals=>{:action_data=>data, + :request=>OrbitHelper.request,:flash=>OrbitHelper.request.flash, + :params=>params,:session=>OrbitHelper.request.session},:layout=>false) + elsif params[:current_page_module] == "seminar_registration" + main_content = render_seminar_registration + elsif params[:current_page_module] == "seminar_submission" + main_content = render_seminar_submission + else + main_content = nil + end + custom_datapp_data = {} + if custom_banner + custom_banner["custom_widget_type"] = "module_widget" + custom_banner["custom_widget_module"] = "ad_banner" + if custom_banner["images"].count > 1 + custom_banner["custom_widget_file"] = "ad_banner_widget1" + else + custom_banner["custom_widget_file"] = "ad_banner_widget4" + end + custom_datapp_data["300"] = [custom_banner] + end + return {"main_content"=>main_content, + "extra_css"=>extra_css, + "extra_js"=>extra_js, + "header_data" => header_data, + "prefix_url" => prefix_url, + "template_path" => template_path, + "custom_datapp_data" => custom_datapp_data, + "custom_footer" => (custom_footer.blank? ? nil : custom_footer) + } + end + def render_seminar_registration + action_data = show + @_request = OrbitHelper.request + action_data["prefix_url"] = @prefix_url + render_to_string("seminars/show",:locals=>{:action_data=>action_data, + :request=>OrbitHelper.request,:flash=>OrbitHelper.request.flash, + :params=>params,:session=>OrbitHelper.request.session},:layout=>false) + end + def render_other_method + params = OrbitHelper.params + action_data = eval(params[:method]) + @seminar_main_url = @prefix_url + '/home/introduction' + if action_data + if params[:method] == "con_upload" || params[:method] == "signup_ok" + action_data["prefix_url"] = @prefix_url + '/home/submission' + else + action_data["prefix_url"] = @prefix_url + end + end + @_request = OrbitHelper.request + render_to_string("seminars/#{params[:method]}",:locals=>{:action_data=>action_data, + :request=>OrbitHelper.request,:flash=>OrbitHelper.request.flash, + :params=>params,:session=>OrbitHelper.request.session},:layout=>false).html_safe + end + def render_seminar_submission + if @@session[:seminar_signup_id] + action_data = con_upload + action_data["prefix_url"] = @prefix_url + '/home/submission' + @_request = OrbitHelper.request + render_to_string("seminars/con_upload",:locals=>{:action_data=>action_data, + :request=>OrbitHelper.request,:flash=>OrbitHelper.request.flash, + :params=>params,:session=>@@session},:layout=>false).html_safe + else + action_data = con_login + @_request = OrbitHelper.request + render_to_string("seminars/con_login",:locals=>{:action_data=>action_data, + :request=>OrbitHelper.request,:flash=>OrbitHelper.request.flash, + :params=>params,:session=>@@session},:layout=>false).html_safe + end + end def show_privacy params = OrbitHelper.params @@ -376,7 +552,7 @@ class SeminarsController < ApplicationController seminar = SeminarMain.find_by(id: @@session[:seminar_main_id]) - seminar_signup = SeminarSignup.find_by(_id: @@session[:seminar_signup_id], seminar_main_id: @@session[:seminar_main_id] ) + seminar_signup = SeminarSignup.find_by(_id: @@session[:seminar_signup_id], seminar_main_id: @@session[:seminar_main_id] ) rescue nil else diff --git a/app/helpers/admin/seminars_helper.rb b/app/helpers/admin/seminars_helper.rb index d49a841..57e7457 100644 --- a/app/helpers/admin/seminars_helper.rb +++ b/app/helpers/admin/seminars_helper.rb @@ -42,8 +42,12 @@ module Admin::SeminarsHelper return can_edit_or_delete?(seminar) || (seminar.organizer_id == current_user.member_profile_id rescue false) end def page_for_seminar_url - page = Pag.where(:module => 'seminar').first - return request.protocol+(request.host_with_port+"/#{I18n.locale}#{page.url}").gsub('//','/') rescue "/" + if @seminar_main_url + return @seminar_main_url + else + page = Page.where(:module => 'seminar').first + return request.protocol+(request.host_with_port+"/#{I18n.locale}#{(page.get_url rescue page.url)}").gsub('//','/') rescue "/" + end # return "/#{I18n.locale}#{page.url}/#{seminar.to_param}" end module MultiLang diff --git a/app/models/seminar_banner_image.rb b/app/models/seminar_banner_image.rb new file mode 100644 index 0000000..7283d10 --- /dev/null +++ b/app/models/seminar_banner_image.rb @@ -0,0 +1,15 @@ +# encoding: utf-8 +class SeminarBannerImage + + include Mongoid::Document + include Mongoid::Timestamps + + mount_uploader :file, AssetUploader + + field :description, localize: true + + belongs_to :seminar_template_setting + def description_text + Nokogiri::HTML(self.description.to_s).css("body").text() rescue "" + end +end diff --git a/app/models/seminar_main.rb b/app/models/seminar_main.rb index 10373dc..114ee0a 100644 --- a/app/models/seminar_main.rb +++ b/app/models/seminar_main.rb @@ -8,6 +8,8 @@ class SeminarMain include OrbitCategory::Categorizable include Slug ChoiceTypes = ["checkbox","radio","select"] + field :annc_count, :type => Integer, :default => 0 + field :album_count, :type => Integer, :default => 0 field :copy_id field :except_clone_relations, :type=>Array, :default => [] field :signup_note, localize: true @@ -61,6 +63,7 @@ class SeminarMain has_many :seminar_submission_field_sets, autosave: true, dependent: :destroy has_many :seminar_email_sets, autosave: true, dependent: :destroy has_many :seminar_signup_field_customs, :autosave => true, :dependent => :destroy + has_one :seminar_template_setting, :autosave => true, :dependent => :destroy accepts_nested_attributes_for :seminar_sessions, :allow_destroy => true accepts_nested_attributes_for :seminar_links, :allow_destroy => true accepts_nested_attributes_for :seminar_files, :allow_destroy => true @@ -73,6 +76,7 @@ class SeminarMain accepts_nested_attributes_for :seminar_submission_field_sets, :allow_destroy => true accepts_nested_attributes_for :seminar_email_sets, :allow_destroy => true accepts_nested_attributes_for :seminar_signup_field_customs, :allow_destroy => true + accepts_nested_attributes_for :seminar_template_setting, :allow_destroy => true before_save do module_app_key = "seminar" add_module_app_member_ids = [] @@ -235,7 +239,79 @@ class SeminarMain end end - + def manage_announcement_count(num) + if defined?(@@in_use_locales).nil? + @@in_use_locales = Site.first.in_use_locales.map{|l| l.to_s} + end + self.annc_count += num + home_page = Page.where(:parent_page_id=>self.id).first + page_part = home_page.page_parts.where(:part_id=>annc_part_id).first + if self.annc_count <= 0 + if page_part + page_part.sub_parts.where(kind: "module_widget",module: "custom_announcement").destroy + end + self.annc_count = 0 + home_page.find_page(:page_id=>"news").update_all(:enabled_for=>[],:enabled_for_mobile=>[],:menu_enabled_for => []) + else + if page_part.nil? + page_part = home_page.page_parts.create(:part_id=>annc_part_id) + end + if page_part.sub_parts.where(kind: "module_widget",module: "custom_announcement").count == 0 + sub_part = page_part.sub_parts.create(kind: "module_widget",module: "custom_announcement", + title_translations: {"zh_tw"=>"公告", "en"=>"News"},read_more_page_id: "news", + widget_type: "annc_widget11",widget_method: "widget", + data_count: annc_data_count,custom_data_field: {"bind_module_app"=>"seminar", "bind_uid"=>self.uid}) + sub_part.select_options.create(annc_default_select_option_attr) + end + home_page.find_page(:page_id=>"news").update_all(:enabled_for=>@@in_use_locales,:enabled_for_mobile=>@@in_use_locales,:menu_enabled_for => @@in_use_locales) + end + self.save + end + def annc_default_select_option_attr + module_app = ModuleApp.where(:key=>'custom_announcement').first + field_name = module_app.show_option_keys.first.all[2].to_s + value = module_app.show_option_values.first.all[2][3].to_yaml + return {field_name: field_name, value: value} + end + def annc_data_count + self.seminar_template_setting.announcement_limit rescue 4 + end + def album_data_count + self.seminar_template_setting.album_limit rescue 4 + end + def annc_part_id + 200 + end + def album_part_id + 201 + end + def manage_album_count(num) + if defined?(@@in_use_locales).nil? + @@in_use_locales = Site.first.in_use_locales.map{|l| l.to_s} + end + self.album_count += num + home_page = Page.where(:parent_page_id=>self.id).first + page_part = home_page.page_parts.where(:part_id=>album_part_id).first + if self.annc_count <= 0 + if page_part + page_part.sub_parts.where(kind: "module_widget",module: "custom_gallery").destroy + end + home_page.find_page(:page_id=>"album").update_all(:enabled_for=>[],:enabled_for_mobile=>[],:menu_enabled_for => []) + self.annc_count = 0 + else + if page_part.nil? + page_part = home_page.page_parts.create(:part_id=>annc_part_id) + end + if page_part.sub_parts.where(kind: "module_widget",module: "custom_gallery").count == 0 + page_part.sub_parts.create(kind: "module_widget",module: "custom_gallery", + title_translations: {"zh_tw"=>"相簿", "en"=>"Album"},read_more_page_id: "album", + widget_type: "custom_gallery_widget2",widget_method: "widget", + data_count: album_data_count,custom_data_field: {"bind_module_app"=>"seminar", "bind_uid"=>self.uid}) + end + home_page.find_page(:page_id=>"album").update_all(:enabled_for=>@@in_use_locales,:enabled_for_mobile=>@@in_use_locales,:menu_enabled_for => @@in_use_locales) + end + self.save + end def get_attribute_value(attribute_field, signup_id) SeminarSignupValue.find_by(seminar_signup_field_id: attribute_field.id, seminar_signup_id: signup_id) end @@ -498,6 +574,9 @@ class SeminarMain self.update(:update_old_flag=>true) end end + def enable_custom_template + self.seminar_template_setting && self.seminar_template_setting.enable_custom_template + end def enable_review_result self.assign_mode == 2 end diff --git a/app/models/seminar_template_setting.rb b/app/models/seminar_template_setting.rb new file mode 100644 index 0000000..542f5a1 --- /dev/null +++ b/app/models/seminar_template_setting.rb @@ -0,0 +1,58 @@ +class SeminarTemplateSetting + include Mongoid::Document + include Mongoid::Timestamps + DefaultMenu = ["introduction","news","registration","submission","album"] + belongs_to :seminar_main + field :enable_custom_template, type: Boolean, default: false + field :display_menu, type: Array, default: ["introduction","news","registration","submission","album"] + field :announcement_limit, type: Integer , default: 4 + field :album_limit, type: Integer , default: 4 + field :website_title, type: String , default: "", localize: true + field :footer_info, type: String , default: "", localize: true + field :introduction, type: String , default: "", localize: true + field :background_style, type: String , default: "" + field :content_style, type: String , default: "" + has_many :seminar_banner_images, :autosave => true, :dependent => :destroy + accepts_nested_attributes_for :seminar_banner_images, :allow_destroy => true + def self.initialize_variables + app_path = Pathname.new(__FILE__).dirname.dirname + @@background_style_infos = {} + Dir.glob("#{app_path}/assets/stylesheets/seminar/background_style/*/").each do |folder| + files = Dir.glob("#{folder}/*") + image_file = files.select{|f| File.basename(f).match(/jpg|gif|png|jpeg/i)}.first + key = File.basename(folder) + image_path = "/assets/seminar/background_style/#{key}/#{File.basename(image_file) rescue ''}" + @@background_style_infos[key] = { + "image"=>image_path, + "css"=> get_folder_content(folder,"css"), + "js"=> get_folder_content(folder,"js") + } + end + @@background_style_infos = @@background_style_infos.sort_by {|k, v| (k.match(/\d+/)[0].to_i rescue 0)}.to_h + @@content_style_infos = {} + Dir.glob("#{app_path}/assets/stylesheets/seminar/content_style/*/").each do |folder| + files = Dir.glob("#{folder}/*") + image_file = files.select{|f| File.basename(f).match(/jpg|gif|png|jpeg/i)}.first + key = File.basename(folder) + image_path = "/assets/seminar/content_style/#{key}/#{File.basename(image_file) rescue ''}" + template_info = (JSON.parse(File.read("#{folder}/info.json")) rescue {"template"=> "horizontal"}) + @@content_style_infos[key] = { + "image"=>image_path, + "css"=> get_folder_content(folder,"css"), + "js"=> get_folder_content(folder,"js"), + "template"=>"#{app_path}/assets/stylesheets/seminar/templates/#{template_info["template"]}/" + } + end + @@content_style_infos = @@content_style_infos.sort_by {|k, v| (k.match(/\d+/)[0].to_i rescue 0)}.to_h + end + def self.get_folder_content(folder,content) + return Dir.glob("#{folder}#{content}/*").map{|content| content.split("app")[1..-1].join("app").sub("/stylesheets/",'/')} + end + def self.background_style_infos + @@background_style_infos + end + def self.content_style_infos + @@content_style_infos + end + initialize_variables +end \ No newline at end of file diff --git a/app/views/admin/seminars/_form_image.html.erb b/app/views/admin/seminars/_form_image.html.erb new file mode 100644 index 0000000..160d4d8 --- /dev/null +++ b/app/views/admin/seminars/_form_image.html.erb @@ -0,0 +1,49 @@ + +
+
+ +
+
+
+ <% if form_image && form_image.file.file %> + <%= image_tag form_image.file %> + <% else %> + + <% end %> +
+
+ + <%= t(:select_image) %> + <%= t(:change) %> + <%= f.file_field :file %> + + <%= t(:cancel) %> +
+ +
+
+
+
+ <% @site_in_use_locales.each do |locale| %> + <%= f.fields_for :description_translations do |f| %> +
+ +
+ <%= f.text_field locale, value: (form_image.description_translations[locale.to_s] rescue nil) %> +
+
+ <% end %> + <% end %> +
\ No newline at end of file diff --git a/app/views/admin/seminars/_index.html.erb b/app/views/admin/seminars/_index.html.erb index 4d46839..d3da35d 100644 --- a/app/views/admin/seminars/_index.html.erb +++ b/app/views/admin/seminars/_index.html.erb @@ -19,7 +19,7 @@ <%= seminar.category.title %> - <%= seminar.title %> + " target="_blank"><%= seminar.title %>
diff --git a/app/views/admin/seminars/_node.html.erb b/app/views/admin/seminars/_node.html.erb new file mode 100644 index 0000000..d07e507 --- /dev/null +++ b/app/views/admin/seminars/_node.html.erb @@ -0,0 +1,56 @@ + \ No newline at end of file diff --git a/app/views/admin/seminars/_node_and_children.html.erb b/app/views/admin/seminars/_node_and_children.html.erb new file mode 100644 index 0000000..ef35a73 --- /dev/null +++ b/app/views/admin/seminars/_node_and_children.html.erb @@ -0,0 +1,19 @@ +<% unless node.root? %> +
  • " data-level="<%= level.to_s %>" data-page-module="<%= node.module rescue "" %>" data-page-title="<%= node.name rescue "" %>" class="<%= 'disabled' unless !node.enabled_for.empty? %> <%= 'collapsed' unless node.child_page.blank? %>" > +<% end %> + <%= render 'node', {node: node, level: level} rescue render 'admin/items/node', {node: node, level: level} %> + <% unless node.child_page.blank? %> + <% unless node.root? %> +
      + <% end %> + <% node.child_page.asc(:number).each do |child| %> + <%= render 'node_and_children', {node: child, level: level + 1} rescue render 'admin/items/node_and_children', {node: child, level: level + 1} %> + <% end %> + <% unless node.root? %> +
    + <% end %> + <% end %> + +<% unless node.root? %> +
  • +<% end %> diff --git a/app/views/admin/seminars/sub_page_setting.html.erb b/app/views/admin/seminars/sub_page_setting.html.erb new file mode 100644 index 0000000..ad1941a --- /dev/null +++ b/app/views/admin/seminars/sub_page_setting.html.erb @@ -0,0 +1,155 @@ +
    + + <%= stylesheet_link_tag "structure" %> + <%= stylesheet_link_tag "lib/items" %> + <%= javascript_include_tag "lib/jquery.mjs.nestedSortable.js" %> + <%= stylesheet_link_tag "select2/select2" %> + <%= javascript_include_tag 'validator' %> + <%= javascript_include_tag "select2/select2.min" %> + + <% node = @seminar_page_root %> + <% root_page = node %> + <% @page_root_id = node.id %> + <% bind_module_app = root_page.bind_module_app %> + <% @prefix_url = "" %> + <% if bind_module_app %> + <% link_page_url = Page.where(:module=>bind_module_app).first.url rescue "" %> + <% if link_page_url.present? %> + <% bind_model = root_page.bind_model %> + <% bind_uid = root_page.bind_uid %> + <% target_model = bind_model.constantize.find_by(:uid=>bind_uid) rescue nil %> + <% title = target_model.title rescue "" %> + <% @prefix_url = "/#{I18n.locale}#{link_page_url}/#{title}-#{bind_uid}"%> + <% end %> + <% end %> + <% unless node.nil? %> +
      + <%= render 'node_and_children', {node: node, level: 0} %> +
    + <% end %> + <%= render :partial => "pages/modify_member_frontend_fields" %> + <%= render :partial => "pages/modify_plugin_frontend_fields" %> + <%##= render 'layouts/delete_modal', delete_options: {remote: true} %> + <%#= render 'form_page' %> + <%#= render 'form_link' %> + <%= javascript_include_tag "lib/pageslide.js" %> + <%= javascript_include_tag "lib/items/items" %> + + +
    \ No newline at end of file diff --git a/app/views/admin/seminars/template_setting.html.erb b/app/views/admin/seminars/template_setting.html.erb new file mode 100644 index 0000000..de75f4a --- /dev/null +++ b/app/views/admin/seminars/template_setting.html.erb @@ -0,0 +1,265 @@ +
    "> + +
    +<%= form_for @seminar_template_setting, url: update_template_setting_admin_seminar_path(@seminar_template_setting), html: {class: "form-horizontal main-forms"} do |f| %> +
    + <% + multi_helper = Admin::SeminarsHelper::MultiLang + new_record = @seminar.new_record? && @seminar.copy_id.nil? + %> + <% content_for :page_specific_css do %> + <%= stylesheet_link_tag "lib/main-forms" %> + <%= stylesheet_link_tag "lib/fileupload" %> + <%= stylesheet_link_tag "lib/main-list" %> + <% end %> + <% content_for :page_specific_javascript do %> + <%= javascript_include_tag "lib/bootstrap-fileupload" %> + <%= javascript_include_tag "lib/bootstrap-datetimepicker" %> + <%= javascript_include_tag "lib/datetimepicker/datetimepicker.js" %> + <%= javascript_include_tag "lib/file-type" %> + <%= javascript_include_tag "lib/module-area" %> + <% end %> + + +
    + + + + + + +
    + +
    + +
    + +
    + +
    +
    + +
    +
    +
    + + + +
    +

    <%=t("seminar.background_style")%>

    +
    + <% last_idx = SeminarTemplateSetting.background_style_infos.count - 1 %> + <% SeminarTemplateSetting.background_style_infos.each_with_index do |(key,info),i| %> + <%= "
    ".html_safe if i % 5 == 0 %> +
    + "> + " alt="<%=key%>"> + + +
    + <%= "
    ".html_safe if i % 5 == 4 || i == last_idx %> + <% end %> +
    +
    +

    <%=t("seminar.content_style")%>

    +
    + <% last_idx = SeminarTemplateSetting.content_style_infos.count - 1 %> + <% SeminarTemplateSetting.content_style_infos.each_with_index do |(key,info),i| %> + <%= "
    ".html_safe if i % 5 == 0 %> +
    + "> + " alt="<%=key%>"> + + +
    + <%= "
    ".html_safe if i % 5 == 4 || i == last_idx %> + <% end %> +
    +
    + +
    + +
    + +
    + <%= f.number_field :announcement_limit,{min: 0,max: 30} %> +
    +
    + +
    + +
    + <%= f.number_field :album_limit,{min: 0,max: 30} %> +
    +
    +
    +
    + + + + + + +
    + <% @site_in_use_locales.each_with_index do |locale, i| %> + +
    "> + + +
    + +
    + <%= f.fields_for :website_title_translations do |f| %> + <%= f.text_field locale, class: "input-block-level", placeholder: t('seminar.website_title'), value: (@seminar_template_setting.website_title_translations[locale] rescue nil) %> + <% end %> +
    +
    + + + + +
    + +
    + <%= f.fields_for :footer_info_translations do |f| %> + <%= f.text_field locale, class: "input-block-level", placeholder: t('seminar.footer_info'), value: (@seminar_template_setting.footer_info_translations[locale] rescue nil) %> + <% end %> +
    +
    +
    + <% end %> +
    +
    + +
    + <% if @seminar_template_setting && !@seminar_template_setting.seminar_banner_images.blank? %> +
    + <% @seminar_template_setting.seminar_banner_images.each_with_index do |seminar_banner_image, i| %> + <%= f.fields_for :seminar_banner_images, seminar_banner_image do |f| %> + <%= render :partial => 'form_image', :object => seminar_banner_image, :locals => {:f => f, :i => i} %> + <% end %> + <% end %> +
    +
    + <% end %> + +
    +
    +

    + <%= hidden_field_tag 'seminar_banner_image_count', @seminar_template_setting.seminar_banner_images.count %> + <%= t(:add) %> +

    +
    +
    +
    + + +
    + <%= get_referer_url[:seminarion] rescue "" %> + <%= f.submit t('submit'), class: 'btn btn-primary' %> + + <%= link_to t('cancel'), admin_seminars_path, :class=>"btn" %> +
    + + +
    +<% end %> \ No newline at end of file diff --git a/app/views/seminars/con_upload.html.erb b/app/views/seminars/con_upload.html.erb index 44fd22e..f127979 100644 --- a/app/views/seminars/con_upload.html.erb +++ b/app/views/seminars/con_upload.html.erb @@ -16,12 +16,17 @@ name2 = data2['name'][I18n.locale] name3 = data3['name'][I18n.locale] seminar_submission_field = @seminar.seminar_submission_fields.where(:markup=>"seminar_preferred_session").first + if data["prefix_url"] + prefix_url = data["prefix_url"] + else + prefix_url = OrbitHelper.url_to_show(@seminar.to_param) + end %> <% if @seminar.contribute_start_date <= @time_now and ( @seminar.contribute_end_date.nil? or @seminar.contribute_end_date+1 >= @time_now ) %> <% begin %> <% if !session[:seminar_signup_id].blank? %> <%=t('seminar_signup.serial_number') %>: <%=@seminar_signup.display_serial_number rescue ""%> - <%= t('seminar_signup.logout') %> + <%= t('seminar_signup.logout') %> <% end %> - +
    @@ -64,7 +69,7 @@
    <%= seminar_signup_contribute.seminar_submission_values.where(:seminar_submission_field=>seminar_submission_field).first.get_value_by_locale(I18n.locale) %> - <%= link_to t(:edit), OrbitHelper.url_to_show(@seminar.to_param) + '?method=edit_file&con_no=' + seminar_signup_contribute.id, :class => 'btn btn-primary' %> + <%= link_to t(:edit), prefix_url + '?method=edit_file&con_no=' + seminar_signup_contribute.id, :class => 'btn btn-primary' %>
    <%= submit_tag t(:delete_), class: "btn btn-primary" %> "> @@ -79,7 +84,7 @@ <% if ( @seminar.contribute_file_count.blank? or @seminar_signup.seminar_signup_contributes.count < @seminar.contribute_file_count.to_i ) %> - <%= link_to content_tag(:i, nil, :class => 'icon-plus') +' '+ t('seminar_signup.new_'), OrbitHelper.url_to_show(@seminar.to_param) + '?method=add_file', :class => 'btn btn-primary' %> + <%= link_to content_tag(:i, nil, :class => 'icon-plus') +' '+ t('seminar_signup.new_'), prefix_url + '?method=add_file', :class => 'btn btn-primary' %> <% end %>
    diff --git a/app/views/seminars/custom_home.html.erb b/app/views/seminars/custom_home.html.erb new file mode 100644 index 0000000..023e3ba --- /dev/null +++ b/app/views/seminars/custom_home.html.erb @@ -0,0 +1,11 @@ +
    +

    <%=t("seminar.about")%>

    +
    + <%= seminar.content.html_safe %> +
    + \ No newline at end of file diff --git a/app/views/seminars/index.html.erb b/app/views/seminars/index.html.erb index 2c6071b..cfe4561 100644 --- a/app/views/seminars/index.html.erb +++ b/app/views/seminars/index.html.erb @@ -35,7 +35,13 @@ %>
    <%= seminar.category.title %><%= ('' + seminar.title + '').html_safe %> + <% if (seminar.enable_custom_template rescue false) %> + <%= ('' + seminar.title + '').html_safe %> + <% else %> + <%= ('' + seminar.title + '').html_safe %> + <% end %> + <%= SeminarMain.time_range(seminar.seminar_start_date, seminar.seminar_end_date) %> <%= seminar.act_place %> diff --git a/app/views/seminars/show.html.erb b/app/views/seminars/show.html.erb index 3fc1494..167023f 100644 --- a/app/views/seminars/show.html.erb +++ b/app/views/seminars/show.html.erb @@ -4,6 +4,11 @@ @seminar_signup = data["seminar_signup"] @time_now = data["time_now"] @form_index = 0 + if data["prefix_url"] + prefix_url = data["prefix_url"] + else + prefix_url = OrbitHelper.url_to_show + end %> <% if !@seminar.registration_status.blank? and @seminar.signup_start_date < @time_now and ( @seminar.signup_end_date.nil? or @seminar.signup_end_date+1 > @time_now ) %> @@ -94,7 +99,7 @@ <% elsif signup_field.field_name == 'email' %>
    - <%= f.email_field :email, :class=>"input-medium form-control availibility", :placeholder=> signup_field.placeholder[I18n.locale], :required => true %> check mail + <%= f.email_field :email, :class=>"input-medium form-control availibility", :placeholder=> signup_field.placeholder[I18n.locale], :required => true %> check mail
    <% elsif signup_field.field_name == 'note' %>
    @@ -160,7 +165,7 @@
    - <%= f.email_field :email, :class=>"input-medium form-control availibility", :placeholder=> t(:email), :required => true %> check mail + <%= f.email_field :email, :class=>"input-medium form-control availibility", :placeholder=> t(:email), :required => true %> check mail
    @@ -210,7 +215,7 @@
    @@ -282,7 +287,7 @@ value = $(this).val() || null; var checkAvailability = function(){ $.ajax({ - url : "<%= "#{OrbitHelper.url_to_show(@seminar.to_param)}?method=check_availability&no=#{@seminar.id}" %>", + url : "<%= "#{prefix_url}?method=check_availability&no=#{@seminar.id}" %>", data : {"type" : type, "value" : value}, dataType : "json", type : "get", diff --git a/app/views/seminars/signup_ok.html.erb b/app/views/seminars/signup_ok.html.erb index 999558a..3262582 100644 --- a/app/views/seminars/signup_ok.html.erb +++ b/app/views/seminars/signup_ok.html.erb @@ -1,6 +1,11 @@ <% # encoding: utf-8 %> <% data = action_data + if data["prefix_url"] + prefix_url = data["prefix_url"] + else + prefix_url = OrbitHelper.url_to_show(params[:slug]) + end %> <%= t('seminar_signup.success_message') %> @@ -8,7 +13,7 @@ <%=t('seminar_signup.serial_number') %>: <%=data["serial_number"] rescue ""%> <% if !params['status'].nil? %>
    - + <%= t('seminar.click_to_contribute') %> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 331b8b2..a8dedb2 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -27,6 +27,35 @@ en: abstract_number: Abstract number presentation_type: Presentation seminar: + announcement_manage: Announcement Manage + album_manage: Album Manage + about: About + edit_page_content: Edit page content + footer_info: Footer info + original_image: Original Image + custom_feature: + enable: Enable + disable: Disable + background_style: Background Style + content_style: Content Style + home_setting: Home Setting + sub_page_setting: Sub Page Setting + menu: + introduction: Introduction + news: News + registration: Registration + submission: Submission + album: Album + introduction: Introduction + announcement_limit: Announcement ;imit + album_limit: Album limit + upload_banner: Upload Banner + menu_setting: Menu Setting + display_menu: Display Menu + website_title: Website Title + custom_template: Custom Template + template_setting: Template Setting + click_to_view_original_image: Click to view original image view_original_image: View original image assigned_session: Assigned Session abstract_number: Abstract number diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index 74acb13..73ef116 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -28,7 +28,36 @@ zh_tw: abstract_number: 摘要編號 presentation_type: 發表方式 seminar: - view_original_image: 查看原圖 + announcement_manage: 公告管理 + album_manage: 相簿管理 + about: 關於 + edit_page_content: 編輯頁面內容 + footer_info: 網站頁尾 + original_image: 原圖 + custom_feature: + enable: 啟用 + disable: 停用 + background_style: 背景樣式 + content_style: 內容樣式 + home_setting: 首頁設定 + sub_page_setting: 內頁設定 + menu: + introduction: 介紹 + news: 公告 + registration: 註冊 + submission: 投稿 + album: 相簿 + introduction: 介紹 + announcement_limit: 公告上限 + album_limit: 相簿上限 + upload_banner: 上傳Banner + menu_setting: 選單設定 + display_menu: 選單呈現 + website_title: 網站標題 + custom_template: 客製化樣式 + template_setting: 樣式設定 + click_to_view_original_image: 點擊查看原圖 + view_original_image: 查看原圖 assigned_session: Assigned Session abstract_number: 摘要編號 review: 審查 diff --git a/config/routes.rb b/config/routes.rb index 27f69c1..d8902b3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -24,6 +24,10 @@ Rails.application.routes.draw do post 'update_reviewer_setting' patch 'update_reviewer_setting' post 'update_seminar_session' + get 'template_setting' + post 'update_template_setting' + patch 'update_template_setting' + get 'sub_page_setting' end end get 'seminar/enquiry_for_applicants' => "seminars#enquiry_for_applicants" diff --git a/seminar.gemspec b/seminar.gemspec index a1ce638..9b18dd2 100644 --- a/seminar.gemspec +++ b/seminar.gemspec @@ -1,6 +1,7 @@ # -*- encoding: utf-8 -*- # stub: seminar 0.0.1 ruby lib require "yaml" +require "erb" data = File.open(File.join(File.dirname(__FILE__), 'config', 'list.yml')).read $seminar_list = YAML.safe_load(ERB.new(data).result(binding)) Gem::Specification.new do |s|