diff --git a/Gemfile b/Gemfile index 1950993..1cc6191 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source "https://rubygems.org" -# Declare your gem's dependencies in seminar.gemspec. +# Declare your gem's dependencies in application_form.gemspec. # Bundler will treat runtime dependencies like base dependencies, and # development dependencies will be added by default to the :development group. gemspec diff --git a/Gemfile.lock b/Gemfile.lock index 9709fbc..97c1ef3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - seminar (0.0.1) + application_form (0.0.1) rails (~> 4.1.9) remote: custom_announcement specs: @@ -88,7 +88,7 @@ PLATFORMS ruby DEPENDENCIES - seminar! + application_form! custom_announcement! custom_gallery! sqlite3 diff --git a/README.rdoc b/README.rdoc index 53399c4..8209597 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,3 +1,3 @@ -= Seminar += ApplicationForm This project rocks and uses MIT-LICENSE. \ No newline at end of file diff --git a/Rakefile b/Rakefile index d4cf079..af2dc2c 100644 --- a/Rakefile +++ b/Rakefile @@ -8,7 +8,7 @@ require 'rdoc/task' RDoc::Task.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' - rdoc.title = 'Seminar' + rdoc.title = 'ApplicationForm' rdoc.options << '--line-numbers' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') diff --git a/app/assets/javascripts/seminar-field-forms-submission.js b/app/assets/javascripts/application_form-field-forms-submission.js similarity index 97% rename from app/assets/javascripts/seminar-field-forms-submission.js rename to app/assets/javascripts/application_form-field-forms-submission.js index c64b9fc..dc8301c 100644 --- a/app/assets/javascripts/seminar-field-forms-submission.js +++ b/app/assets/javascripts/application_form-field-forms-submission.js @@ -96,7 +96,7 @@ function inputAppendLength() { // Role Attribute Template Data function setData(l, type, ol) { - var fields = $('#info').length ? "info[seminar_submission_fields]" : $('#sub_seminar_main').length ? "sub_seminar_main[seminar_submission_fields]" : "seminar_main[seminar_submission_fields]", + var fields = $('#info').length ? "info[application_form_submission_fields]" : $('#sub_application_form_main').length ? "sub_application_form_main[application_form_submission_fields]" : "application_form_main[application_form_submission_fields]", data = { _add_more: ["add_more_" +l, fields+"["+l+"]["+type+"][add_more]"], _calendar: ["calendar_" +l, fields+"["+l+"]["+type+"][calendar]"], @@ -195,7 +195,7 @@ $(function() { addressVal = []; addressArray = []; addressInputId = []; - seminar_mainType = null; + application_form_mainType = null; returnDecide = false; $('.attributes').each(function() { if($(this).find('.toggle-check').attr('value') == "true") { @@ -222,7 +222,7 @@ $(function() { }); $('#user-forms').delegate('.togglebox, .delete, .trigger, .remove-input', clickEvent, function(event) { if($(this).hasClass('togglebox')) { - var seminar_main_staus = []; + var application_form_main_staus = []; if($(this).hasClass('disable')) { $(this).find('.toggle-check') .attr('value', 'false') @@ -239,7 +239,7 @@ $(function() { .fadeOut(300) .find('.check') .attr("checked",false) - .attr("value",seminar_main_staus); + .attr("value",application_form_main_staus); } $(this).toggleClass('disable'); }; @@ -253,7 +253,7 @@ $(function() { appendIndex = $(this).closest('.controls').find('.input-append').length; nameNumber = $(this).closest('.controls').find('.input-append:eq(0)').find('input').eq(0).attr('name'); nameNumber = nameNumber.match(/[^[\D\]]+(?=])/g)[0]; - seminar_mainType = $(this).data('seminar_mains') + application_form_mainType = $(this).data('application_form_mains') if($(this).hasClass('textInput')) { $("#template-text").tmpl().appendTo($(this).closest('.controls').find('.add-target')); } else if ($(this).hasClass('textLengInput')) { diff --git a/app/assets/javascripts/seminar-field-forms.js b/app/assets/javascripts/application_form-field-forms.js similarity index 97% rename from app/assets/javascripts/seminar-field-forms.js rename to app/assets/javascripts/application_form-field-forms.js index 455fad3..7479292 100644 --- a/app/assets/javascripts/seminar-field-forms.js +++ b/app/assets/javascripts/application_form-field-forms.js @@ -96,7 +96,7 @@ function inputAppendLength() { // Role Attribute Template Data function setData(l, type, ol) { - var fields = $('#info').length ? "info[seminar_signup_fields]" : $('#sub_seminar_main').length ? "sub_seminar_main[seminar_signup_fields]" : "seminar_main[seminar_signup_fields]", + var fields = $('#info').length ? "info[application_form_signup_fields]" : $('#sub_application_form_main').length ? "sub_application_form_main[application_form_signup_fields]" : "application_form_main[application_form_signup_fields]", data = { _add_more: ["add_more_" +l, fields+"["+l+"]["+type+"][add_more]"], _calendar: ["calendar_" +l, fields+"["+l+"]["+type+"][calendar]"], @@ -195,7 +195,7 @@ $(function() { addressVal = []; addressArray = []; addressInputId = []; - seminar_mainType = null; + application_form_mainType = null; returnDecide = false; $('.attributes').each(function() { if($(this).find('.toggle-check').attr('value') == "true") { @@ -222,7 +222,7 @@ $(function() { }); $('#user-forms').delegate('.togglebox, .delete, .trigger, .remove-input', clickEvent, function(event) { if($(this).hasClass('togglebox')) { - var seminar_main_staus = []; + var application_form_main_staus = []; if($(this).hasClass('disable')) { $(this).find('.toggle-check') .attr('value', 'false') @@ -239,7 +239,7 @@ $(function() { .fadeOut(300) .find('.check') .attr("checked",false) - .attr("value",seminar_main_staus); + .attr("value",application_form_main_staus); } $(this).toggleClass('disable'); }; @@ -253,7 +253,7 @@ $(function() { appendIndex = $(this).closest('.controls').find('.input-append').length; nameNumber = $(this).closest('.controls').find('.input-append:eq(0)').find('input').eq(0).attr('name'); nameNumber = nameNumber.match(/[^[\D\]]+(?=])/g)[0]; - seminar_mainType = $(this).data('seminar_mains') + application_form_mainType = $(this).data('application_form_mains') if($(this).hasClass('textInput')) { $("#template-text").tmpl().appendTo($(this).closest('.controls').find('.add-target')); } else if ($(this).hasClass('textLengInput')) { diff --git a/app/assets/javascripts/seminar.js.coffee b/app/assets/javascripts/application_form.js.coffee similarity index 100% rename from app/assets/javascripts/seminar.js.coffee rename to app/assets/javascripts/application_form.js.coffee diff --git a/app/assets/javascripts/seminar_sets.js b/app/assets/javascripts/application_form_sets.js similarity index 100% rename from app/assets/javascripts/seminar_sets.js rename to app/assets/javascripts/application_form_sets.js diff --git a/app/assets/javascripts/check_seminar_set_items.js.erb b/app/assets/javascripts/check_application_form_set_items.js.erb old mode 100755 new mode 100644 similarity index 78% rename from app/assets/javascripts/check_seminar_set_items.js.erb rename to app/assets/javascripts/check_application_form_set_items.js.erb index bc793f5..f2ea3c0 --- a/app/assets/javascripts/check_seminar_set_items.js.erb +++ b/app/assets/javascripts/check_application_form_set_items.js.erb @@ -26,7 +26,7 @@ function checkedLength() { if(_checked > 0) { $('#deselect').removeClass('hide'); $('#deselect').on('click', deselect); - $('#deleteItems').attr('rel', "<%= Rails.application.routes.url_helpers.delete_items_admin_seminar_items_path %>" + "?ids=" + ids); + $('#deleteItems').attr('rel', "<%= Rails.application.routes.url_helpers.delete_items_admin_application_form_items_path %>" + "?ids=" + ids); $('#deleteItems').removeClass('hide'); } else { @@ -45,19 +45,19 @@ function checkedLength() { reload_links(); }); $('#deleteItems').on('click', function() { - $('#delete_seminar_items .tags-groups').empty(); - $('#delete_seminar_items a.delete-tags').attr("href", $(this).attr("rel")); + $('#delete_application_form_items .tags-groups').empty(); + $('#delete_application_form_items a.delete-tags').attr("href", $(this).attr("rel")); if(ids.length) { $('.filter-item').children('.card.active').each(function(i, e) { console.log($(e)) - $(e).parents('.filter-item').clone().appendTo('#delete_seminar_items .tags-groups'); - $('#delete_seminar_items .tags-groups .filter-item').addClass('def'); + $(e).parents('.filter-item').clone().appendTo('#delete_application_form_items .tags-groups'); + $('#delete_application_form_items .tags-groups .filter-item').addClass('def'); }); } - $('#delete_seminar_items').modal('show', cleanTagInputs()); + $('#delete_application_form_items').modal('show', cleanTagInputs()); function cleanTagInputs(){ - var $tagsDelete = $('#delete_seminar_items'), + var $tagsDelete = $('#delete_application_form_items'), $filterItem = $tagsDelete.find('.filter-item'); $filterItem.find('.card, .amount').remove(); $filterItem.find('a').removeAttr('class'); diff --git a/app/assets/stylesheets/seminar.css b/app/assets/stylesheets/application_form.css similarity index 100% rename from app/assets/stylesheets/seminar.css rename to app/assets/stylesheets/application_form.css diff --git a/app/assets/stylesheets/seminar/background_style/1/1.jpg b/app/assets/stylesheets/application_form/background_style/1/1.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/1/1.jpg rename to app/assets/stylesheets/application_form/background_style/1/1.jpg diff --git a/app/assets/stylesheets/seminar/background_style/1/css/background.css b/app/assets/stylesheets/application_form/background_style/1/css/background.css similarity index 97% rename from app/assets/stylesheets/seminar/background_style/1/css/background.css rename to app/assets/stylesheets/application_form/background_style/1/css/background.css index 57481ba..487823b 100644 --- a/app/assets/stylesheets/seminar/background_style/1/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/1/css/background.css @@ -20,7 +20,7 @@ body, .layout-footer, .layout-footer-inner { .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/1/js/layout.js b/app/assets/stylesheets/application_form/background_style/1/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/1/js/layout.js rename to app/assets/stylesheets/application_form/background_style/1/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/1/logo.jpg b/app/assets/stylesheets/application_form/background_style/1/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/1/logo.jpg rename to app/assets/stylesheets/application_form/background_style/1/logo.jpg diff --git a/app/assets/stylesheets/seminar/background_style/10/10.jpg b/app/assets/stylesheets/application_form/background_style/10/10.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/10/10.jpg rename to app/assets/stylesheets/application_form/background_style/10/10.jpg diff --git a/app/assets/stylesheets/seminar/background_style/10/css/background.css b/app/assets/stylesheets/application_form/background_style/10/css/background.css similarity index 89% rename from app/assets/stylesheets/seminar/background_style/10/css/background.css rename to app/assets/stylesheets/application_form/background_style/10/css/background.css index 4370e21..f739e1e 100644 --- a/app/assets/stylesheets/seminar/background_style/10/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/10/css/background.css @@ -5,7 +5,7 @@ body{ background: #0b0c0f; } header{ - background: url("/assets/seminar/background_style/10/pageheader.jpg") no-repeat scroll left top #0b0c0f; + background: url("/assets/application_form/background_style/10/pageheader.jpg") no-repeat scroll left top #0b0c0f; } .layout-footer-content, .layout-footer-inner,.layout-footer-content, .footer-counter{ color: #ffffff; @@ -32,7 +32,7 @@ header{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/10/js/layout.js b/app/assets/stylesheets/application_form/background_style/10/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/10/js/layout.js rename to app/assets/stylesheets/application_form/background_style/10/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/10/pageheader.jpg b/app/assets/stylesheets/application_form/background_style/10/pageheader.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/10/pageheader.jpg rename to app/assets/stylesheets/application_form/background_style/10/pageheader.jpg diff --git a/app/assets/stylesheets/seminar/background_style/11/11.jpg b/app/assets/stylesheets/application_form/background_style/11/11.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/11/11.jpg rename to app/assets/stylesheets/application_form/background_style/11/11.jpg diff --git a/app/assets/stylesheets/seminar/background_style/11/body.jpg b/app/assets/stylesheets/application_form/background_style/11/body.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/11/body.jpg rename to app/assets/stylesheets/application_form/background_style/11/body.jpg diff --git a/app/assets/stylesheets/seminar/background_style/11/css/background.css b/app/assets/stylesheets/application_form/background_style/11/css/background.css similarity index 91% rename from app/assets/stylesheets/seminar/background_style/11/css/background.css rename to app/assets/stylesheets/application_form/background_style/11/css/background.css index 782a581..3c57f0d 100644 --- a/app/assets/stylesheets/seminar/background_style/11/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/11/css/background.css @@ -2,7 +2,7 @@ header, .layout-footer, .layout-footer-inner { background: transparent; } body{ - background: url("/assets/seminar/background_style/11/body.jpg") repeat-x 0 0 #fff; + background: url("/assets/application_form/background_style/11/body.jpg") repeat-x 0 0 #fff; /*background: linear-gradient(to bottom, #303030 50%, #d4d3d3 50%);*/ } .layout-footer-content, .layout-footer-inner,.layout-footer-content, .footer-counter{ @@ -27,7 +27,7 @@ body{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/11/js/layout.js b/app/assets/stylesheets/application_form/background_style/11/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/11/js/layout.js rename to app/assets/stylesheets/application_form/background_style/11/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/11/logo.jpg b/app/assets/stylesheets/application_form/background_style/11/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/11/logo.jpg rename to app/assets/stylesheets/application_form/background_style/11/logo.jpg diff --git a/app/assets/stylesheets/seminar/background_style/12/12.jpg b/app/assets/stylesheets/application_form/background_style/12/12.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/12/12.jpg rename to app/assets/stylesheets/application_form/background_style/12/12.jpg diff --git a/app/assets/stylesheets/seminar/background_style/12/css/background.css b/app/assets/stylesheets/application_form/background_style/12/css/background.css similarity index 98% rename from app/assets/stylesheets/seminar/background_style/12/css/background.css rename to app/assets/stylesheets/application_form/background_style/12/css/background.css index d85b17c..3faab54 100644 --- a/app/assets/stylesheets/seminar/background_style/12/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/12/css/background.css @@ -30,7 +30,7 @@ body{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/12/js/layout.js b/app/assets/stylesheets/application_form/background_style/12/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/12/js/layout.js rename to app/assets/stylesheets/application_form/background_style/12/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/12/logo.jpg b/app/assets/stylesheets/application_form/background_style/12/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/12/logo.jpg rename to app/assets/stylesheets/application_form/background_style/12/logo.jpg diff --git a/app/assets/stylesheets/seminar/background_style/13/13.jpg b/app/assets/stylesheets/application_form/background_style/13/13.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/13/13.jpg rename to app/assets/stylesheets/application_form/background_style/13/13.jpg diff --git a/app/assets/stylesheets/seminar/background_style/13/css/background.css b/app/assets/stylesheets/application_form/background_style/13/css/background.css similarity index 90% rename from app/assets/stylesheets/seminar/background_style/13/css/background.css rename to app/assets/stylesheets/application_form/background_style/13/css/background.css index 2f08483..4403524 100644 --- a/app/assets/stylesheets/seminar/background_style/13/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/13/css/background.css @@ -2,7 +2,7 @@ header, .layout-footer { background: transparent; } body{ - background: url("/assets/seminar/background_style/13/top_bg.jpg") top left repeat-x #ebeef7; + background: url("/assets/application_form/background_style/13/top_bg.jpg") top left repeat-x #ebeef7; } .layout-footer-inner{ padding: 1em; @@ -30,7 +30,7 @@ body{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/13/js/layout.js b/app/assets/stylesheets/application_form/background_style/13/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/13/js/layout.js rename to app/assets/stylesheets/application_form/background_style/13/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/13/top_bg.jpg b/app/assets/stylesheets/application_form/background_style/13/top_bg.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/13/top_bg.jpg rename to app/assets/stylesheets/application_form/background_style/13/top_bg.jpg diff --git a/app/assets/stylesheets/seminar/background_style/14/14.jpg b/app/assets/stylesheets/application_form/background_style/14/14.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/14/14.jpg rename to app/assets/stylesheets/application_form/background_style/14/14.jpg diff --git a/app/assets/stylesheets/seminar/background_style/14/css/background.css b/app/assets/stylesheets/application_form/background_style/14/css/background.css similarity index 91% rename from app/assets/stylesheets/seminar/background_style/14/css/background.css rename to app/assets/stylesheets/application_form/background_style/14/css/background.css index 2fc3ce7..fbc3cfa 100644 --- a/app/assets/stylesheets/seminar/background_style/14/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/14/css/background.css @@ -9,7 +9,7 @@ header{ background: #ffffff; } body{ - background: #f17655 url("/assets/seminar/background_style/14/top_bg.jpg") left top repeat-x; + background: #f17655 url("/assets/application_form/background_style/14/top_bg.jpg") left top repeat-x; background-position-y: 120px; } .layout-footer-content, .layout-footer-inner,.layout-footer-content, .footer-counter{ @@ -34,7 +34,7 @@ body{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/14/js/layout.js b/app/assets/stylesheets/application_form/background_style/14/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/14/js/layout.js rename to app/assets/stylesheets/application_form/background_style/14/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/14/logo.jpg b/app/assets/stylesheets/application_form/background_style/14/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/14/logo.jpg rename to app/assets/stylesheets/application_form/background_style/14/logo.jpg diff --git a/app/assets/stylesheets/seminar/background_style/14/top_bg.jpg b/app/assets/stylesheets/application_form/background_style/14/top_bg.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/14/top_bg.jpg rename to app/assets/stylesheets/application_form/background_style/14/top_bg.jpg diff --git a/app/assets/stylesheets/seminar/background_style/15/15.jpg b/app/assets/stylesheets/application_form/background_style/15/15.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/15/15.jpg rename to app/assets/stylesheets/application_form/background_style/15/15.jpg diff --git a/app/assets/stylesheets/seminar/background_style/15/css/background.css b/app/assets/stylesheets/application_form/background_style/15/css/background.css similarity index 91% rename from app/assets/stylesheets/seminar/background_style/15/css/background.css rename to app/assets/stylesheets/application_form/background_style/15/css/background.css index 2479730..63f0502 100644 --- a/app/assets/stylesheets/seminar/background_style/15/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/15/css/background.css @@ -6,7 +6,7 @@ header, .layout-content, .layout-footer{ padding: 1em; } body{ - background: #ffffff url("/assets/seminar/background_style/15/top_bg.jpg") left top repeat-x; + background: #ffffff url("/assets/application_form/background_style/15/top_bg.jpg") left top repeat-x; background-position-y: 120px; } .layout-footer-content, .layout-footer-inner,.layout-footer-content, .footer-counter{ @@ -31,7 +31,7 @@ body{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/15/js/layout.js b/app/assets/stylesheets/application_form/background_style/15/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/15/js/layout.js rename to app/assets/stylesheets/application_form/background_style/15/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/15/logo.jpg b/app/assets/stylesheets/application_form/background_style/15/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/15/logo.jpg rename to app/assets/stylesheets/application_form/background_style/15/logo.jpg diff --git a/app/assets/stylesheets/seminar/background_style/15/top_bg.jpg b/app/assets/stylesheets/application_form/background_style/15/top_bg.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/15/top_bg.jpg rename to app/assets/stylesheets/application_form/background_style/15/top_bg.jpg diff --git a/app/assets/stylesheets/seminar/background_style/16/16.jpg b/app/assets/stylesheets/application_form/background_style/16/16.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/16/16.jpg rename to app/assets/stylesheets/application_form/background_style/16/16.jpg diff --git a/app/assets/stylesheets/seminar/background_style/16/css/background.css b/app/assets/stylesheets/application_form/background_style/16/css/background.css similarity index 98% rename from app/assets/stylesheets/seminar/background_style/16/css/background.css rename to app/assets/stylesheets/application_form/background_style/16/css/background.css index c016470..ae87f5b 100644 --- a/app/assets/stylesheets/seminar/background_style/16/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/16/css/background.css @@ -31,7 +31,7 @@ body{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/16/js/layout.js b/app/assets/stylesheets/application_form/background_style/16/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/16/js/layout.js rename to app/assets/stylesheets/application_form/background_style/16/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/16/logo.jpg b/app/assets/stylesheets/application_form/background_style/16/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/16/logo.jpg rename to app/assets/stylesheets/application_form/background_style/16/logo.jpg diff --git a/app/assets/stylesheets/seminar/background_style/17/17.jpg b/app/assets/stylesheets/application_form/background_style/17/17.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/17/17.jpg rename to app/assets/stylesheets/application_form/background_style/17/17.jpg diff --git a/app/assets/stylesheets/seminar/background_style/17/bottom_bg.jpg b/app/assets/stylesheets/application_form/background_style/17/bottom_bg.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/17/bottom_bg.jpg rename to app/assets/stylesheets/application_form/background_style/17/bottom_bg.jpg diff --git a/app/assets/stylesheets/seminar/background_style/17/css/background.css b/app/assets/stylesheets/application_form/background_style/17/css/background.css similarity index 82% rename from app/assets/stylesheets/seminar/background_style/17/css/background.css rename to app/assets/stylesheets/application_form/background_style/17/css/background.css index d273ca2..6d20fe7 100644 --- a/app/assets/stylesheets/seminar/background_style/17/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/17/css/background.css @@ -2,14 +2,14 @@ background: transparent; } .layout-footer{ - background: url("/assets/seminar/background_style/17/bottom_bg.jpg") no-repeat scroll left top #1c2c46; + background: url("/assets/application_form/background_style/17/bottom_bg.jpg") no-repeat scroll left top #1c2c46; } body{ background: transparent; } header{ - background: url("/assets/seminar/background_style/17/pageheader.jpg") no-repeat scroll left top #5b6986; + background: url("/assets/application_form/background_style/17/pageheader.jpg") no-repeat scroll left top #5b6986; } .layout-footer-content, .layout-footer-inner,.layout-footer-content, .footer-counter{ color: #ffffff; @@ -33,7 +33,7 @@ header{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/17/js/layout.js b/app/assets/stylesheets/application_form/background_style/17/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/17/js/layout.js rename to app/assets/stylesheets/application_form/background_style/17/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/17/logo.jpg b/app/assets/stylesheets/application_form/background_style/17/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/17/logo.jpg rename to app/assets/stylesheets/application_form/background_style/17/logo.jpg diff --git a/app/assets/stylesheets/seminar/background_style/17/pageheader.jpg b/app/assets/stylesheets/application_form/background_style/17/pageheader.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/17/pageheader.jpg rename to app/assets/stylesheets/application_form/background_style/17/pageheader.jpg diff --git a/app/assets/stylesheets/seminar/background_style/17/top_bg.jpg b/app/assets/stylesheets/application_form/background_style/17/top_bg.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/17/top_bg.jpg rename to app/assets/stylesheets/application_form/background_style/17/top_bg.jpg diff --git a/app/assets/stylesheets/seminar/background_style/2/2.jpg b/app/assets/stylesheets/application_form/background_style/2/2.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/2/2.jpg rename to app/assets/stylesheets/application_form/background_style/2/2.jpg diff --git a/app/assets/stylesheets/seminar/background_style/2/body.gif b/app/assets/stylesheets/application_form/background_style/2/body.gif similarity index 100% rename from app/assets/stylesheets/seminar/background_style/2/body.gif rename to app/assets/stylesheets/application_form/background_style/2/body.gif diff --git a/app/assets/stylesheets/seminar/background_style/2/css/background.css b/app/assets/stylesheets/application_form/background_style/2/css/background.css similarity index 90% rename from app/assets/stylesheets/seminar/background_style/2/css/background.css rename to app/assets/stylesheets/application_form/background_style/2/css/background.css index 2f66629..af178e4 100644 --- a/app/assets/stylesheets/seminar/background_style/2/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/2/css/background.css @@ -2,7 +2,7 @@ header, .layout-footer, .layout-footer-inner { background: transparent; } body{ - background: #eaeaea url("/assets/seminar/background_style/2/body.gif") left top repeat-x; + background: #eaeaea url("/assets/application_form/background_style/2/body.gif") left top repeat-x; /*background: linear-gradient(to bottom, #303030 50%, #d4d3d3 50%);*/ } .layout-footer-content, .layout-footer-inner,.layout-footer-content, .footer-counter{ @@ -27,7 +27,7 @@ body{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/2/js/layout.js b/app/assets/stylesheets/application_form/background_style/2/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/2/js/layout.js rename to app/assets/stylesheets/application_form/background_style/2/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/2/logo.jpg b/app/assets/stylesheets/application_form/background_style/2/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/2/logo.jpg rename to app/assets/stylesheets/application_form/background_style/2/logo.jpg diff --git a/app/assets/stylesheets/seminar/background_style/3/3.jpg b/app/assets/stylesheets/application_form/background_style/3/3.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/3/3.jpg rename to app/assets/stylesheets/application_form/background_style/3/3.jpg diff --git a/app/assets/stylesheets/seminar/background_style/3/css/background.css b/app/assets/stylesheets/application_form/background_style/3/css/background.css similarity index 89% rename from app/assets/stylesheets/seminar/background_style/3/css/background.css rename to app/assets/stylesheets/application_form/background_style/3/css/background.css index 923a98f..ab1c7a3 100644 --- a/app/assets/stylesheets/seminar/background_style/3/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/3/css/background.css @@ -8,7 +8,7 @@ body{ background: transparent; } header{ - background: url("/assets/seminar/background_style/3/pageheader.jpg") no-repeat scroll left top 1.5em transparent; + background: url("/assets/application_form/background_style/3/pageheader.jpg") no-repeat scroll left top 1.5em transparent; } .layout-header > .container:before { background: #cc3303; @@ -37,7 +37,7 @@ header{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/3/js/layout.js b/app/assets/stylesheets/application_form/background_style/3/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/3/js/layout.js rename to app/assets/stylesheets/application_form/background_style/3/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/3/logo.jpg b/app/assets/stylesheets/application_form/background_style/3/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/3/logo.jpg rename to app/assets/stylesheets/application_form/background_style/3/logo.jpg diff --git a/app/assets/stylesheets/seminar/background_style/3/pageheader.jpg b/app/assets/stylesheets/application_form/background_style/3/pageheader.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/3/pageheader.jpg rename to app/assets/stylesheets/application_form/background_style/3/pageheader.jpg diff --git a/app/assets/stylesheets/seminar/background_style/4/4.jpg b/app/assets/stylesheets/application_form/background_style/4/4.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/4/4.jpg rename to app/assets/stylesheets/application_form/background_style/4/4.jpg diff --git a/app/assets/stylesheets/seminar/background_style/4/body.jpg b/app/assets/stylesheets/application_form/background_style/4/body.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/4/body.jpg rename to app/assets/stylesheets/application_form/background_style/4/body.jpg diff --git a/app/assets/stylesheets/seminar/background_style/4/css/background.css b/app/assets/stylesheets/application_form/background_style/4/css/background.css similarity index 90% rename from app/assets/stylesheets/seminar/background_style/4/css/background.css rename to app/assets/stylesheets/application_form/background_style/4/css/background.css index 72720ab..189dd12 100644 --- a/app/assets/stylesheets/seminar/background_style/4/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/4/css/background.css @@ -2,7 +2,7 @@ header, .layout-footer, .layout-footer-inner { background: transparent; } body{ - background: #ffffff url("/assets/seminar/background_style/4/body.jpg") left top repeat-x; + background: #ffffff url("/assets/application_form/background_style/4/body.jpg") left top repeat-x; } .layout-footer-content, .layout-footer-inner,.layout-footer-content, .footer-counter{ color: #606060; @@ -26,7 +26,7 @@ body{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/4/js/layout.js b/app/assets/stylesheets/application_form/background_style/4/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/4/js/layout.js rename to app/assets/stylesheets/application_form/background_style/4/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/4/logo.jpg b/app/assets/stylesheets/application_form/background_style/4/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/4/logo.jpg rename to app/assets/stylesheets/application_form/background_style/4/logo.jpg diff --git a/app/assets/stylesheets/seminar/background_style/5/5.jpg b/app/assets/stylesheets/application_form/background_style/5/5.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/5/5.jpg rename to app/assets/stylesheets/application_form/background_style/5/5.jpg diff --git a/app/assets/stylesheets/seminar/background_style/5/css/background.css b/app/assets/stylesheets/application_form/background_style/5/css/background.css similarity index 98% rename from app/assets/stylesheets/seminar/background_style/5/css/background.css rename to app/assets/stylesheets/application_form/background_style/5/css/background.css index 63b5898..84786c9 100644 --- a/app/assets/stylesheets/seminar/background_style/5/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/5/css/background.css @@ -29,7 +29,7 @@ header{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/5/js/layout.js b/app/assets/stylesheets/application_form/background_style/5/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/5/js/layout.js rename to app/assets/stylesheets/application_form/background_style/5/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/5/logo.jpg b/app/assets/stylesheets/application_form/background_style/5/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/5/logo.jpg rename to app/assets/stylesheets/application_form/background_style/5/logo.jpg diff --git a/app/assets/stylesheets/seminar/background_style/6/6.jpg b/app/assets/stylesheets/application_form/background_style/6/6.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/6/6.jpg rename to app/assets/stylesheets/application_form/background_style/6/6.jpg diff --git a/app/assets/stylesheets/seminar/background_style/6/body.jpg b/app/assets/stylesheets/application_form/background_style/6/body.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/6/body.jpg rename to app/assets/stylesheets/application_form/background_style/6/body.jpg diff --git a/app/assets/stylesheets/seminar/background_style/6/css/background.css b/app/assets/stylesheets/application_form/background_style/6/css/background.css similarity index 91% rename from app/assets/stylesheets/seminar/background_style/6/css/background.css rename to app/assets/stylesheets/application_form/background_style/6/css/background.css index 7c66551..b17cf1d 100644 --- a/app/assets/stylesheets/seminar/background_style/6/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/6/css/background.css @@ -6,7 +6,7 @@ header, .layout-footer{ padding: 1em; } body{ - background: #eaeef1 url("/assets/seminar/background_style/6/body.jpg") left top repeat-x; + background: #eaeef1 url("/assets/application_form/background_style/6/body.jpg") left top repeat-x; background-position-y: 120px; } .layout-footer-content, .layout-footer-inner,.layout-footer-content, .footer-counter{ @@ -31,7 +31,7 @@ body{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/6/js/layout.js b/app/assets/stylesheets/application_form/background_style/6/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/6/js/layout.js rename to app/assets/stylesheets/application_form/background_style/6/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/6/logo.jpg b/app/assets/stylesheets/application_form/background_style/6/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/6/logo.jpg rename to app/assets/stylesheets/application_form/background_style/6/logo.jpg diff --git a/app/assets/stylesheets/seminar/background_style/7/7.jpg b/app/assets/stylesheets/application_form/background_style/7/7.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/7/7.jpg rename to app/assets/stylesheets/application_form/background_style/7/7.jpg diff --git a/app/assets/stylesheets/seminar/background_style/7/body.jpg b/app/assets/stylesheets/application_form/background_style/7/body.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/7/body.jpg rename to app/assets/stylesheets/application_form/background_style/7/body.jpg diff --git a/app/assets/stylesheets/seminar/background_style/7/css/background.css b/app/assets/stylesheets/application_form/background_style/7/css/background.css similarity index 91% rename from app/assets/stylesheets/seminar/background_style/7/css/background.css rename to app/assets/stylesheets/application_form/background_style/7/css/background.css index c98ab9f..0721ecd 100644 --- a/app/assets/stylesheets/seminar/background_style/7/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/7/css/background.css @@ -8,7 +8,7 @@ header{ background: #ffffff; } body{ - background: #361c44 url("/assets/seminar/background_style/7/body.jpg") left top repeat-x; + background: #361c44 url("/assets/application_form/background_style/7/body.jpg") left top repeat-x; background-position-y: 120px; } .layout-footer-content, .layout-footer-inner,.layout-footer-content, .footer-counter{ @@ -33,7 +33,7 @@ body{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/7/js/layout.js b/app/assets/stylesheets/application_form/background_style/7/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/7/js/layout.js rename to app/assets/stylesheets/application_form/background_style/7/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/7/logo.jpg b/app/assets/stylesheets/application_form/background_style/7/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/7/logo.jpg rename to app/assets/stylesheets/application_form/background_style/7/logo.jpg diff --git a/app/assets/stylesheets/seminar/background_style/8/8.jpg b/app/assets/stylesheets/application_form/background_style/8/8.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/8/8.jpg rename to app/assets/stylesheets/application_form/background_style/8/8.jpg diff --git a/app/assets/stylesheets/seminar/background_style/8/css/background.css b/app/assets/stylesheets/application_form/background_style/8/css/background.css similarity index 98% rename from app/assets/stylesheets/seminar/background_style/8/css/background.css rename to app/assets/stylesheets/application_form/background_style/8/css/background.css index 1e85015..05c3e91 100644 --- a/app/assets/stylesheets/seminar/background_style/8/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/8/css/background.css @@ -35,7 +35,7 @@ body{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/8/js/layout.js b/app/assets/stylesheets/application_form/background_style/8/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/8/js/layout.js rename to app/assets/stylesheets/application_form/background_style/8/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/8/logo.jpg b/app/assets/stylesheets/application_form/background_style/8/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/8/logo.jpg rename to app/assets/stylesheets/application_form/background_style/8/logo.jpg diff --git a/app/assets/stylesheets/seminar/background_style/9/9.jpg b/app/assets/stylesheets/application_form/background_style/9/9.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/9/9.jpg rename to app/assets/stylesheets/application_form/background_style/9/9.jpg diff --git a/app/assets/stylesheets/seminar/background_style/9/body.jpg b/app/assets/stylesheets/application_form/background_style/9/body.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/9/body.jpg rename to app/assets/stylesheets/application_form/background_style/9/body.jpg diff --git a/app/assets/stylesheets/seminar/background_style/9/css/background.css b/app/assets/stylesheets/application_form/background_style/9/css/background.css similarity index 91% rename from app/assets/stylesheets/seminar/background_style/9/css/background.css rename to app/assets/stylesheets/application_form/background_style/9/css/background.css index 453b2f5..cdaf120 100644 --- a/app/assets/stylesheets/seminar/background_style/9/css/background.css +++ b/app/assets/stylesheets/application_form/background_style/9/css/background.css @@ -8,7 +8,7 @@ header{ background: #e3e3e3; } body{ - background: #141414 url("/assets/seminar/background_style/9/body.jpg") left top repeat-x; + background: #141414 url("/assets/application_form/background_style/9/body.jpg") left top repeat-x; background-position-y: 120px; } .layout-footer-content, .layout-footer-inner,.layout-footer-content, .footer-counter{ @@ -33,7 +33,7 @@ body{ .aside{ padding-left: 0; } -.seminar_hr{ +.application_form_hr{ border-top: 0.1em dashed #acacac; margin: 0.5em 0; } diff --git a/app/assets/stylesheets/seminar/background_style/9/js/layout.js b/app/assets/stylesheets/application_form/background_style/9/js/layout.js similarity index 100% rename from app/assets/stylesheets/seminar/background_style/9/js/layout.js rename to app/assets/stylesheets/application_form/background_style/9/js/layout.js diff --git a/app/assets/stylesheets/seminar/background_style/9/logo.jpg b/app/assets/stylesheets/application_form/background_style/9/logo.jpg similarity index 100% rename from app/assets/stylesheets/seminar/background_style/9/logo.jpg rename to app/assets/stylesheets/application_form/background_style/9/logo.jpg diff --git a/app/assets/stylesheets/seminar/content_style/1/1.jpg b/app/assets/stylesheets/application_form/content_style/1/1.jpg similarity index 100% rename from app/assets/stylesheets/seminar/content_style/1/1.jpg rename to app/assets/stylesheets/application_form/content_style/1/1.jpg diff --git a/app/assets/stylesheets/seminar/content_style/1/css/menu.css b/app/assets/stylesheets/application_form/content_style/1/css/menu.css similarity index 100% rename from app/assets/stylesheets/seminar/content_style/1/css/menu.css rename to app/assets/stylesheets/application_form/content_style/1/css/menu.css diff --git a/app/assets/stylesheets/seminar/content_style/1/css/template.css b/app/assets/stylesheets/application_form/content_style/1/css/template.css similarity index 95% rename from app/assets/stylesheets/seminar/content_style/1/css/template.css rename to app/assets/stylesheets/application_form/content_style/1/css/template.css index 775b948..dd71eac 100644 --- a/app/assets/stylesheets/seminar/content_style/1/css/template.css +++ b/app/assets/stylesheets/application_form/content_style/1/css/template.css @@ -1,11 +1,11 @@ .layout-content-inner{ background: #ffffff; } -.seminar_hr{ +.application_form_hr{ display: none; } -[class*=widget-title] , .seminar_h3{ +[class*=widget-title] , .application_form_h3{ margin: 0.5em 0; line-height: 1.5; color: #396992; diff --git a/app/assets/stylesheets/seminar/content_style/1/info.json b/app/assets/stylesheets/application_form/content_style/1/info.json similarity index 100% rename from app/assets/stylesheets/seminar/content_style/1/info.json rename to app/assets/stylesheets/application_form/content_style/1/info.json diff --git a/app/assets/stylesheets/seminar/content_style/1/js/content.js b/app/assets/stylesheets/application_form/content_style/1/js/content.js similarity index 70% rename from app/assets/stylesheets/seminar/content_style/1/js/content.js rename to app/assets/stylesheets/application_form/content_style/1/js/content.js index 323851c..dd0bbe5 100644 --- a/app/assets/stylesheets/seminar/content_style/1/js/content.js +++ b/app/assets/stylesheets/application_form/content_style/1/js/content.js @@ -1,7 +1,7 @@ $(document).ready(function(){ $('#main-content > * > [class*="-title"] ,[data-pp] > * > [class*="-title"], .page-module-title').each(function(i,h3){ - if($(h3).prop('tagName').match(/(h1|h2|h3|h4)/i) && $(h3).next(".seminar_hr").length == 0){ - $(h3).after("