fe 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +20 -0
- data/Rakefile +48 -0
- data/app/assets/images/fe/ajax-loader.gif +0 -0
- data/app/assets/images/fe/butgrad.png +0 -0
- data/app/assets/images/fe/icons/add.png +0 -0
- data/app/assets/images/fe/icons/application_form.png +0 -0
- data/app/assets/images/fe/icons/application_form_add.png +0 -0
- data/app/assets/images/fe/icons/arrow-move.png +0 -0
- data/app/assets/images/fe/icons/arrow_out.png +0 -0
- data/app/assets/images/fe/icons/asterisk_yellow.png +0 -0
- data/app/assets/images/fe/icons/book-open-list.png +0 -0
- data/app/assets/images/fe/icons/book_open.png +0 -0
- data/app/assets/images/fe/icons/briefcase.png +0 -0
- data/app/assets/images/fe/icons/calendar_view_day.png +0 -0
- data/app/assets/images/fe/icons/checkbox.png +0 -0
- data/app/assets/images/fe/icons/copy_paste.gif +0 -0
- data/app/assets/images/fe/icons/disk.png +0 -0
- data/app/assets/images/fe/icons/document--pencil.png +0 -0
- data/app/assets/images/fe/icons/document-copy.png +0 -0
- data/app/assets/images/fe/icons/map_magnify.png +0 -0
- data/app/assets/images/fe/icons/minus-button.png +0 -0
- data/app/assets/images/fe/icons/move.png +0 -0
- data/app/assets/images/fe/icons/page_error.png +0 -0
- data/app/assets/images/fe/icons/page_valid.png +0 -0
- data/app/assets/images/fe/icons/page_white.png +0 -0
- data/app/assets/images/fe/icons/page_white_add.png +0 -0
- data/app/assets/images/fe/icons/page_white_error.png +0 -0
- data/app/assets/images/fe/icons/paper-clip.png +0 -0
- data/app/assets/images/fe/icons/pencil-small.png +0 -0
- data/app/assets/images/fe/icons/pencil.png +0 -0
- data/app/assets/images/fe/icons/question-balloon.png +0 -0
- data/app/assets/images/fe/icons/radio.png +0 -0
- data/app/assets/images/fe/icons/star-small.png +0 -0
- data/app/assets/images/fe/icons/table.png +0 -0
- data/app/assets/images/fe/icons/text_align_left.png +0 -0
- data/app/assets/images/fe/icons/text_horizontalrule.png +0 -0
- data/app/assets/images/fe/icons/textfield.png +0 -0
- data/app/assets/images/fe/indent.png +0 -0
- data/app/assets/images/fe/overlay.png +0 -0
- data/app/assets/images/fe/selected_bg.jpg +0 -0
- data/app/assets/images/fe/status.gif +0 -0
- data/app/assets/images/fe/tooltip/black.png +0 -0
- data/app/assets/images/fe/tooltip/black_arrow.png +0 -0
- data/app/assets/images/fe/tooltip/black_arrow_big.png +0 -0
- data/app/assets/images/fe/tooltip/black_big.png +0 -0
- data/app/assets/images/fe/tooltip/white.png +0 -0
- data/app/assets/images/fe/tooltip/white_arrow.png +0 -0
- data/app/assets/images/fe/tooltip/white_arrow_big.png +0 -0
- data/app/assets/images/fe/tooltip/white_big.png +0 -0
- data/app/assets/images/fe/uploadify/cancel.png +0 -0
- data/app/assets/images/fe/uploadify/uploadify.swf +0 -0
- data/app/assets/javascripts/fe/admin.js +7 -0
- data/app/assets/javascripts/fe/jquery.metadata.js +122 -0
- data/app/assets/javascripts/fe/jquery.scrollTo-min.js +7 -0
- data/app/assets/javascripts/fe/jquery.uploadify.v2.1.0.js +258 -0
- data/app/assets/javascripts/fe/jquery.validate.pack.js +15 -0
- data/app/assets/javascripts/fe/qe.admin.js +115 -0
- data/app/assets/javascripts/fe/qe.common.js +57 -0
- data/app/assets/javascripts/fe/qe.public.js +331 -0
- data/app/assets/javascripts/fe/swfobject.js +4 -0
- data/app/assets/stylesheets/fe/qe.screen.css.scss.erb +552 -0
- data/app/assets/stylesheets/fe/reset.css +55 -0
- data/app/assets/stylesheets/fe/validation.css +91 -0
- data/app/controllers/fe/admin/elements_controller.rb +185 -0
- data/app/controllers/fe/admin/email_templates_controller.rb +61 -0
- data/app/controllers/fe/admin/question_pages_controller.rb +113 -0
- data/app/controllers/fe/admin/question_sheets_controller.rb +106 -0
- data/app/controllers/fe/answer_pages_controller.rb +3 -0
- data/app/controllers/fe/answer_sheets_controller.rb +3 -0
- data/app/controllers/fe/concerns/answer_pages_controller_concern.rb +80 -0
- data/app/controllers/fe/concerns/answer_sheets_controller_concern.rb +84 -0
- data/app/controllers/fe/reference_sheets_controller.rb +29 -0
- data/app/helpers/fe/answer_pages_helper.rb +19 -0
- data/app/helpers/fe/application_helper.rb +49 -0
- data/app/mailers/fe/notifier.rb +22 -0
- data/app/models/fe/answer.rb +13 -0
- data/app/models/fe/answer_pages_presenter.rb +13 -0
- data/app/models/fe/answer_sheet.rb +10 -0
- data/app/models/fe/answer_sheet_question_sheet.rb +7 -0
- data/app/models/fe/attachment_field.rb +7 -0
- data/app/models/fe/choice_field.rb +7 -0
- data/app/models/fe/concerns/answer_concern.rb +36 -0
- data/app/models/fe/concerns/answer_pages_presenter_concern.rb +99 -0
- data/app/models/fe/concerns/answer_sheet_concern.rb +61 -0
- data/app/models/fe/concerns/choice_field_concern.rb +131 -0
- data/app/models/fe/condition.rb +53 -0
- data/app/models/fe/date_field.rb +52 -0
- data/app/models/fe/element.rb +164 -0
- data/app/models/fe/email_template.rb +7 -0
- data/app/models/fe/option.rb +10 -0
- data/app/models/fe/option_group.rb +10 -0
- data/app/models/fe/page.rb +101 -0
- data/app/models/fe/page_element.rb +9 -0
- data/app/models/fe/page_link.rb +15 -0
- data/app/models/fe/paragraph.rb +10 -0
- data/app/models/fe/payment.rb +52 -0
- data/app/models/fe/payment_question.rb +22 -0
- data/app/models/fe/presenter.rb +23 -0
- data/app/models/fe/question.rb +256 -0
- data/app/models/fe/question_grid.rb +26 -0
- data/app/models/fe/question_grid_with_total.rb +11 -0
- data/app/models/fe/question_set.rb +82 -0
- data/app/models/fe/question_sheet.rb +73 -0
- data/app/models/fe/reference_question.rb +42 -0
- data/app/models/fe/reference_sheet.rb +149 -0
- data/app/models/fe/section.rb +12 -0
- data/app/models/fe/state_chooser.rb +10 -0
- data/app/models/fe/text_field.rb +29 -0
- data/app/views/fe/admin/elements/_errors.html.erb +1 -0
- data/app/views/fe/admin/elements/create.js.erb +11 -0
- data/app/views/fe/admin/elements/destroy.js.erb +4 -0
- data/app/views/fe/admin/elements/drop.js.erb +2 -0
- data/app/views/fe/admin/elements/duplicate.js.erb +2 -0
- data/app/views/fe/admin/elements/edit.js.erb +4 -0
- data/app/views/fe/admin/elements/error.js.erb +4 -0
- data/app/views/fe/admin/elements/new.js.erb +10 -0
- data/app/views/fe/admin/elements/reorder.js.erb +0 -0
- data/app/views/fe/admin/elements/update.js.erb +9 -0
- data/app/views/fe/admin/email_templates/_form.html.erb +8 -0
- data/app/views/fe/admin/email_templates/edit.html.erb +13 -0
- data/app/views/fe/admin/email_templates/index.html.erb +20 -0
- data/app/views/fe/admin/email_templates/new.html.erb +11 -0
- data/app/views/fe/admin/panels/_advanced_options.html.erb +16 -0
- data/app/views/fe/admin/panels/_common_fields.html.erb +24 -0
- data/app/views/fe/admin/panels/_condition.html.erb +6 -0
- data/app/views/fe/admin/panels/_insert.html.erb +39 -0
- data/app/views/fe/admin/panels/_nav_controls.html.erb +6 -0
- data/app/views/fe/admin/panels/_page.html.erb +3 -0
- data/app/views/fe/admin/panels/_pages_list.html.erb +16 -0
- data/app/views/fe/admin/panels/_prop_attachment_field.html.erb +2 -0
- data/app/views/fe/admin/panels/_prop_choice_field.html.erb +46 -0
- data/app/views/fe/admin/panels/_prop_date_field.html.erb +7 -0
- data/app/views/fe/admin/panels/_prop_element.html.erb +30 -0
- data/app/views/fe/admin/panels/_prop_page.html.erb +21 -0
- data/app/views/fe/admin/panels/_prop_paragraph.html.erb +32 -0
- data/app/views/fe/admin/panels/_prop_question_grid.html.erb +23 -0
- data/app/views/fe/admin/panels/_prop_question_grid_with_total.html.erb +14 -0
- data/app/views/fe/admin/panels/_prop_reference_question.html.erb +12 -0
- data/app/views/fe/admin/panels/_prop_section.html.erb +2 -0
- data/app/views/fe/admin/panels/_prop_sheet.html.erb +17 -0
- data/app/views/fe/admin/panels/_prop_text_field.html.erb +20 -0
- data/app/views/fe/admin/question_pages/_element.html.erb +18 -0
- data/app/views/fe/admin/question_pages/_element_show.html.erb +10 -0
- data/app/views/fe/admin/question_pages/_errors.html.erb +1 -0
- data/app/views/fe/admin/question_pages/_question_page.html.erb +13 -0
- data/app/views/fe/admin/question_pages/create.js.erb +11 -0
- data/app/views/fe/admin/question_pages/destroy.js.erb +5 -0
- data/app/views/fe/admin/question_pages/edit.js.erb +3 -0
- data/app/views/fe/admin/question_pages/error.js.erb +4 -0
- data/app/views/fe/admin/question_pages/show.js.erb +8 -0
- data/app/views/fe/admin/question_pages/show_panel.js.erb +3 -0
- data/app/views/fe/admin/question_pages/update.js.erb +2 -0
- data/app/views/fe/admin/question_sheets/_errors.html.erb +1 -0
- data/app/views/fe/admin/question_sheets/edit.js.erb +3 -0
- data/app/views/fe/admin/question_sheets/error.js.erb +5 -0
- data/app/views/fe/admin/question_sheets/index.html.erb +41 -0
- data/app/views/fe/admin/question_sheets/new.html.erb +15 -0
- data/app/views/fe/admin/question_sheets/show.html.erb +27 -0
- data/app/views/fe/admin/question_sheets/update.js.erb +2 -0
- data/app/views/fe/answer_pages/_answer_page.html.erb +56 -0
- data/app/views/fe/answer_pages/_element.html.erb +9 -0
- data/app/views/fe/answer_pages/update.js.erb +5 -0
- data/app/views/fe/answer_sheets/_answer_sheet.html.erb +24 -0
- data/app/views/fe/answer_sheets/_element.html.erb +54 -0
- data/app/views/fe/answer_sheets/_incomplete.html.erb +10 -0
- data/app/views/fe/answer_sheets/_page_link.html.erb +7 -0
- data/app/views/fe/answer_sheets/_pages_list.html.erb +11 -0
- data/app/views/fe/answer_sheets/_title.html.erb +1 -0
- data/app/views/fe/answer_sheets/edit.html.erb +60 -0
- data/app/views/fe/answer_sheets/incomplete.js.erb +5 -0
- data/app/views/fe/answer_sheets/index.html.erb +18 -0
- data/app/views/fe/answer_sheets/send_reference_invite.js.erb +8 -0
- data/app/views/fe/answer_sheets/show.html.erb +13 -0
- data/app/views/fe/help/builder.html +33 -0
- data/app/views/fe/help/question_grid.html +18 -0
- data/app/views/fe/questions/_acceptance.html.erb +13 -0
- data/app/views/fe/questions/_attachment_field.html.erb +42 -0
- data/app/views/fe/questions/_checkbox_field.html.erb +49 -0
- data/app/views/fe/questions/_country.html.erb +7 -0
- data/app/views/fe/questions/_date_field.html.erb +7 -0
- data/app/views/fe/questions/_date_field_mmyy.html.erb +9 -0
- data/app/views/fe/questions/_drop_down_field.html.erb +7 -0
- data/app/views/fe/questions/_paragraph.html.erb +1 -0
- data/app/views/fe/questions/_question_grid.html.erb +65 -0
- data/app/views/fe/questions/_question_grid_with_total.html.erb +57 -0
- data/app/views/fe/questions/_questions.html.erb +9 -0
- data/app/views/fe/questions/_radio_button_field.html.erb +41 -0
- data/app/views/fe/questions/_rating.html.erb +25 -0
- data/app/views/fe/questions/_reference_discipler.html.erb +1 -0
- data/app/views/fe/questions/_reference_friend.html.erb +1 -0
- data/app/views/fe/questions/_reference_parent.html.erb +1 -0
- data/app/views/fe/questions/_reference_peer.html.erb +1 -0
- data/app/views/fe/questions/_reference_question.html.erb +38 -0
- data/app/views/fe/questions/_reference_roommate.html.erb +1 -0
- data/app/views/fe/questions/_reference_spiritual.html.erb +1 -0
- data/app/views/fe/questions/_reference_staff.html.erb +1 -0
- data/app/views/fe/questions/_section.html.erb +1 -0
- data/app/views/fe/questions/_state_chooser.html.erb +7 -0
- data/app/views/fe/questions/_text_area_field.html.erb +6 -0
- data/app/views/fe/questions/_text_field.html.erb +8 -0
- data/app/views/fe/questions/_yes_no.html.erb +17 -0
- data/app/views/fe/questions/_yes_no_field.erb +17 -0
- data/app/views/fe/reference_sheets/not_found.html.erb +5 -0
- data/app/views/layouts/fe/application.html.erb +31 -0
- data/app/views/layouts/fe/qe.admin.html.erb +30 -0
- data/config/routes.rb +49 -0
- data/db/migrate/20131003041856_core.rb +91 -0
- data/db/migrate/20131003044250_create_reference_sheets.rb +23 -0
- data/db/migrate/20131003044436_add_element_and_answer_fields.rb +10 -0
- data/db/migrate/20131003044518_create_email_templates.rb +17 -0
- data/db/migrate/20131003044621_add_max_lengths.rb +8 -0
- data/db/migrate/20131003044714_create_join_table.rb +11 -0
- data/db/migrate/20131016162128_remove_question_id_from_element.rb +9 -0
- data/lib/fe.rb +22 -0
- data/lib/fe/engine.rb +19 -0
- data/lib/fe/version.rb +3 -0
- data/lib/generators/fe/install_generator.rb +132 -0
- data/lib/tasks/qe_tasks.rake +4 -0
- data/spec/controllers/fe/admin/elements_controller_spec.rb +4 -0
- data/spec/controllers/fe/admin/email_templates_controller_spec.rb +4 -0
- data/spec/controllers/fe/admin/question_pages_controller_spec.rb +4 -0
- data/spec/controllers/fe/admin/question_sheets_controller_spec.rb +4 -0
- data/spec/controllers/fe/answer_pages_controller_spec.rb +4 -0
- data/spec/controllers/fe/answer_sheets_controller_spec.rb +4 -0
- data/spec/controllers/fe/reference_sheets_controller_spec.rb +4 -0
- data/spec/factories/answer_sheets.rb +5 -0
- data/spec/factories/answers.rb +4 -0
- data/spec/factories/paragraphs.rb +4 -0
- data/spec/factories/question_sheet.rb +5 -0
- data/spec/factories/reference_questions.rb +4 -0
- data/spec/models/fe/answer_sheet_question_sheet_spec.rb +6 -0
- data/spec/models/fe/answer_sheet_spec.rb +8 -0
- data/spec/models/fe/answer_spec.rb +13 -0
- data/spec/models/fe/attachment_field_spec.rb +4 -0
- data/spec/models/fe/choice_field_spec.rb +5 -0
- data/spec/models/fe/condition_spec.rb +8 -0
- data/spec/models/fe/date_field_spec.rb +49 -0
- data/spec/models/fe/element_spec.rb +12 -0
- data/spec/models/fe/email_template_spec.rb +5 -0
- data/spec/models/fe/option_group_spec.rb +4 -0
- data/spec/models/fe/option_spec.rb +4 -0
- data/spec/models/fe/page_element_spec.rb +6 -0
- data/spec/models/fe/page_link_spec.rb +4 -0
- data/spec/models/fe/page_spec.rb +14 -0
- data/spec/models/fe/paragraph_spec.rb +17 -0
- data/spec/models/fe/question_grid_spec.rb +4 -0
- data/spec/models/fe/question_grid_with_total_spec.rb +4 -0
- data/spec/models/fe/question_set_spec.rb +4 -0
- data/spec/models/fe/question_sheet_spec.rb +8 -0
- data/spec/models/fe/question_spec.rb +20 -0
- data/spec/models/fe/reference_question_spec.rb +17 -0
- data/spec/models/fe/reference_sheet_spec.rb +11 -0
- data/spec/models/fe/section_spec.rb +4 -0
- data/spec/models/fe/state_chooser_spec.rb +4 -0
- data/spec/models/fe/text_field_spec.rb +17 -0
- data/spec/spec_helper.rb +66 -0
- data/spec/support/database.txt +28 -0
- metadata +508 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/* SWFObject v2.2 <http://code.google.com/p/swfobject/>
|
|
2
|
+
is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
|
|
3
|
+
*/
|
|
4
|
+
var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y<X;Y++){U[Y]()}}function K(X){if(J){X()}else{U[U.length]=X}}function s(Y){if(typeof O.addEventListener!=D){O.addEventListener("load",Y,false)}else{if(typeof j.addEventListener!=D){j.addEventListener("load",Y,false)}else{if(typeof O.attachEvent!=D){i(O,"onload",Y)}else{if(typeof O.onload=="function"){var X=O.onload;O.onload=function(){X();Y()}}else{O.onload=Y}}}}}function h(){if(T){V()}else{H()}}function V(){var X=j.getElementsByTagName("body")[0];var aa=C(r);aa.setAttribute("type",q);var Z=X.appendChild(aa);if(Z){var Y=0;(function(){if(typeof Z.GetVariable!=D){var ab=Z.GetVariable("$version");if(ab){ab=ab.split(" ")[1].split(",");M.pv=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}else{if(Y<10){Y++;setTimeout(arguments.callee,10);return}}X.removeChild(aa);Z=null;H()})()}else{H()}}function H(){var ag=o.length;if(ag>0){for(var af=0;af<ag;af++){var Y=o[af].id;var ab=o[af].callbackFn;var aa={success:false,id:Y};if(M.pv[0]>0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad<ac;ad++){if(X[ad].getAttribute("name").toLowerCase()!="movie"){ah[X[ad].getAttribute("name")]=X[ad].getAttribute("value")}}P(ai,ah,Y,ab)}else{p(ae);if(ab){ab(aa)}}}}}else{w(Y,true);if(ab){var Z=z(Y);if(Z&&typeof Z.SetVariable!=D){aa.success=true;aa.ref=Z}ab(aa)}}}}}function z(aa){var X=null;var Y=c(aa);if(Y&&Y.nodeName=="OBJECT"){if(typeof Y.SetVariable!=D){X=Y}else{var Z=Y.getElementsByTagName(r)[0];if(Z){X=Z}}}return X}function A(){return !a&&F("6.0.65")&&(M.win||M.mac)&&!(M.wk&&M.wk<312)}function P(aa,ab,X,Z){a=true;E=Z||null;B={success:false,id:X};var ae=c(X);if(ae){if(ae.nodeName=="OBJECT"){l=g(ae);Q=null}else{l=ae;Q=X}aa.id=R;if(typeof aa.width==D||(!/%$/.test(aa.width)&&parseInt(aa.width,10)<310)){aa.width="310"}if(typeof aa.height==D||(!/%$/.test(aa.height)&&parseInt(aa.height,10)<137)){aa.height="137"}j.title=j.title.slice(0,47)+" - Flash Player Installation";var ad=M.ie&&M.win?"ActiveX":"PlugIn",ac="MMredirectURL="+O.location.toString().replace(/&/g,"%26")+"&MMplayerType="+ad+"&MMdoctitle="+j.title;if(typeof ab.flashvars!=D){ab.flashvars+="&"+ac}else{ab.flashvars=ac}if(M.ie&&M.win&&ae.readyState!=4){var Y=C("div");X+="SWFObjectNew";Y.setAttribute("id",X);ae.parentNode.insertBefore(Y,ae);ae.style.display="none";(function(){if(ae.readyState==4){ae.parentNode.removeChild(ae)}else{setTimeout(arguments.callee,10)}})()}u(aa,ab,X)}}function p(Y){if(M.ie&&M.win&&Y.readyState!=4){var X=C("div");Y.parentNode.insertBefore(X,Y);X.parentNode.replaceChild(g(Y),X);Y.style.display="none";(function(){if(Y.readyState==4){Y.parentNode.removeChild(Y)}else{setTimeout(arguments.callee,10)}})()}else{Y.parentNode.replaceChild(g(Y),Y)}}function g(ab){var aa=C("div");if(M.win&&M.ie){aa.innerHTML=ab.innerHTML}else{var Y=ab.getElementsByTagName(r)[0];if(Y){var ad=Y.childNodes;if(ad){var X=ad.length;for(var Z=0;Z<X;Z++){if(!(ad[Z].nodeType==1&&ad[Z].nodeName=="PARAM")&&!(ad[Z].nodeType==8)){aa.appendChild(ad[Z].cloneNode(true))}}}}}return aa}function u(ai,ag,Y){var X,aa=c(Y);if(M.wk&&M.wk<312){return X}if(aa){if(typeof ai.id==D){ai.id=Y}if(M.ie&&M.win){var ah="";for(var ae in ai){if(ai[ae]!=Object.prototype[ae]){if(ae.toLowerCase()=="data"){ag.movie=ai[ae]}else{if(ae.toLowerCase()=="styleclass"){ah+=' class="'+ai[ae]+'"'}else{if(ae.toLowerCase()!="classid"){ah+=" "+ae+'="'+ai[ae]+'"'}}}}}var af="";for(var ad in ag){if(ag[ad]!=Object.prototype[ad]){af+='<param name="'+ad+'" value="'+ag[ad]+'" />'}}aa.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ah+">"+af+"</object>";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab<ac;ab++){I[ab][0].detachEvent(I[ab][1],I[ab][2])}var Z=N.length;for(var aa=0;aa<Z;aa++){y(N[aa])}for(var Y in M){M[Y]=null}M=null;for(var X in swfobject){swfobject[X]=null}swfobject=null})}}();return{registerObject:function(ab,X,aa,Z){if(M.w3&&ab&&X){var Y={};Y.id=ab;Y.swfVersion=X;Y.expressInstall=aa;Y.callbackFn=Z;o[o.length]=Y;w(ab,false)}else{if(Z){Z({success:false,id:ab})}}},getObjectById:function(X){if(M.w3){return z(X)}},embedSWF:function(ab,ah,ae,ag,Y,aa,Z,ad,af,ac){var X={success:false,id:ah};if(M.w3&&!(M.wk&&M.wk<312)&&ab&&ah&&ae&&ag&&Y){w(ah,false);K(function(){ae+="";ag+="";var aj={};if(af&&typeof af===r){for(var al in af){aj[al]=af[al]}}aj.data=ab;aj.width=ae;aj.height=ag;var am={};if(ad&&typeof ad===r){for(var ak in ad){am[ak]=ad[ak]}}if(Z&&typeof Z===r){for(var ai in Z){if(typeof am.flashvars!=D){am.flashvars+="&"+ai+"="+Z[ai]}else{am.flashvars=ai+"="+Z[ai]}}}if(F(Y)){var an=u(aj,am,ah);if(aj.id==ah){w(ah,true)}X.success=true;X.ref=an}else{if(aa&&A()){aj.data=aa;P(aj,am,ah,ac);return}else{w(ah,true)}}if(ac){ac(X)}})}else{if(ac){ac(X)}}},switchOffAutoHideShow:function(){m=false},ua:M,getFlashPlayerVersion:function(){return{major:M.pv[0],minor:M.pv[1],release:M.pv[2]}},hasFlashPlayerVersion:F,createSWF:function(Z,Y,X){if(M.w3){return u(Z,Y,X)}else{return undefined}},showExpressInstall:function(Z,aa,X,Y){if(M.w3&&A()){P(Z,aa,X,Y)}},removeSWF:function(X){if(M.w3){y(X)}},createCSS:function(aa,Z,Y,X){if(M.w3){v(aa,Z,Y,X)}},addDomLoadEvent:K,addLoadEvent:s,getQueryParamValue:function(aa){var Z=j.location.search||j.location.hash;if(Z){if(/\?/.test(Z)){Z=Z.split("?")[1]}if(aa==null){return L(Z)}var Y=Z.split("&");for(var X=0;X<Y.length;X++){if(Y[X].substring(0,Y[X].indexOf("="))==aa){return L(Y[X].substring((Y[X].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(a){var X=c(R);if(X&&l){X.parentNode.replaceChild(l,X);if(Q){w(Q,true);if(M.ie&&M.win){l.style.display="block"}}if(E){E(B)}}a=false}}}}();
|
|
@@ -0,0 +1,552 @@
|
|
|
1
|
+
/* *********************************************************** */
|
|
2
|
+
/* Summer Project Form Engines */
|
|
3
|
+
/* *********************************************************** */
|
|
4
|
+
|
|
5
|
+
/* RESET */
|
|
6
|
+
ul, li, body, p {
|
|
7
|
+
list-style: none;
|
|
8
|
+
padding: 0;
|
|
9
|
+
margin: 0;
|
|
10
|
+
line-height: 1.25em;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
p {
|
|
14
|
+
margin-bottom: 1em;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* GLOBAL */
|
|
18
|
+
|
|
19
|
+
.clear {clear: both;}
|
|
20
|
+
|
|
21
|
+
body {
|
|
22
|
+
margin: 0;
|
|
23
|
+
background: #fff;
|
|
24
|
+
padding: 0;
|
|
25
|
+
height: 100%;
|
|
26
|
+
font-family: Arial, Helvetica;
|
|
27
|
+
font-size: 12px;
|
|
28
|
+
font-weight: normal;
|
|
29
|
+
border: none;
|
|
30
|
+
line-height: 1.25em;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
a {
|
|
34
|
+
text-decoration: none;
|
|
35
|
+
color: #0B486B;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
#wrapper {
|
|
40
|
+
width: 1000px;
|
|
41
|
+
margin: 0 auto;
|
|
42
|
+
background: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
#controls {
|
|
46
|
+
padding: 10px 0 0 0;
|
|
47
|
+
margin: 0;
|
|
48
|
+
width: 290px;
|
|
49
|
+
border: none;
|
|
50
|
+
float: left;
|
|
51
|
+
position: absolute;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
#status {
|
|
55
|
+
/* background:url("fe/overlay.png") repeat scroll 0 0 transparent; */
|
|
56
|
+
height:100%;
|
|
57
|
+
margin:0 auto;
|
|
58
|
+
position:absolute;
|
|
59
|
+
width:100%;
|
|
60
|
+
z-index:10000;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.status_content {
|
|
64
|
+
-webkit-box-shadow:0 0 15px #000000;
|
|
65
|
+
-moz-box-shadow:0 0 15px #000000;
|
|
66
|
+
box-shadow:0 0 15px #000000;
|
|
67
|
+
background:none repeat scroll 0 0 #6699CC;
|
|
68
|
+
border:1px solid #FFFFFF;
|
|
69
|
+
color:#FFFFFF;
|
|
70
|
+
margin:92px auto;
|
|
71
|
+
padding:40px;
|
|
72
|
+
width:121px;
|
|
73
|
+
text-align: center;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
#status-msg {
|
|
77
|
+
display: block;
|
|
78
|
+
margin: 10px 0 0 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* PANEL */
|
|
82
|
+
|
|
83
|
+
p.instruction {
|
|
84
|
+
margin: 10px 10px 10px 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
ul#list-pages {
|
|
88
|
+
list-style: none;
|
|
89
|
+
padding: 0;
|
|
90
|
+
margin: 20px 0 0 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
#list-pages li a {
|
|
94
|
+
background: url("<%= asset_path('fe/icons/document--pencil.png') %>") no-repeat 4px 50%;
|
|
95
|
+
padding: 8px 0 8px 24px;
|
|
96
|
+
border-bottom: 1px dotted #999;
|
|
97
|
+
display: block;
|
|
98
|
+
margin-right: 8px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
#list-pages li.active {
|
|
102
|
+
background-color: #fff;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
#list-pages li.active a {
|
|
106
|
+
margin-right: 0;
|
|
107
|
+
border: 1px solid #F7931E;
|
|
108
|
+
border-right: none;
|
|
109
|
+
margin-top: -1px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
#link-page-add {
|
|
113
|
+
background: #f0f0f0 url("<%= asset_path('fe/icons/add.png') %>") no-repeat 4px 50%;
|
|
114
|
+
padding: 5px 0 5px 24px;
|
|
115
|
+
display: block;
|
|
116
|
+
margin-right: 8px;
|
|
117
|
+
font-size: 11px;
|
|
118
|
+
font-weight: bold;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
ul#nav-controls {
|
|
122
|
+
list-style: none;
|
|
123
|
+
padding: 0;
|
|
124
|
+
margin: 0 8px 0 0;
|
|
125
|
+
border-bottom: 3px solid #0B486B;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
ul#nav-controls li {
|
|
129
|
+
float: left;
|
|
130
|
+
margin-right: 2px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
ul#nav-controls li a {
|
|
134
|
+
padding: 8px 10px;
|
|
135
|
+
background: #F2F2F2;
|
|
136
|
+
-moz-border-radius: 4px 4px 0 0;
|
|
137
|
+
display: block;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
ul#nav-controls li.active a,
|
|
141
|
+
ul#nav-controls li a:hover {
|
|
142
|
+
background: #0B486B;
|
|
143
|
+
color: #fff;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
ul#nav-controls li a:hover {
|
|
147
|
+
background: #2f7eab;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.help {
|
|
151
|
+
-moz-border-radius: 4px;
|
|
152
|
+
-webkit-border-radius: 4px;
|
|
153
|
+
border-radius: 4px;
|
|
154
|
+
background:none repeat scroll 0 0 #0B486B;
|
|
155
|
+
color:#FFFFFF;
|
|
156
|
+
font-size:11px;
|
|
157
|
+
font-weight:bold;
|
|
158
|
+
padding:1px 4px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.list-elements li a {
|
|
162
|
+
background-color:#F5F5F5;
|
|
163
|
+
background-position:4px 50%;
|
|
164
|
+
background-repeat:no-repeat;
|
|
165
|
+
border:1px solid silver;
|
|
166
|
+
display:block;
|
|
167
|
+
float:left;
|
|
168
|
+
margin-bottom:4px;
|
|
169
|
+
margin-right:8px;
|
|
170
|
+
padding:2px 5px 2px 23px;
|
|
171
|
+
width:107px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.list-elements #qg a { background-image: url("<%= asset_path('fe/icons/table.png') %>"); }
|
|
175
|
+
.list-elements #qgt a { background-image: url("<%= asset_path('fe/icons/table.png') %>"); }
|
|
176
|
+
.list-elements #sl a {background-image: url("<%= asset_path('fe/icons/textfield.png') %>");}
|
|
177
|
+
.list-elements #ml a {background-image: url("<%= asset_path('fe/icons/textfield.png') %>");}
|
|
178
|
+
.list-elements #co a { background-image: url("<%= asset_path('fe/icons/radio.png') %>");}
|
|
179
|
+
.list-elements #cm a { background-image: url("<%= asset_path('fe/icons/checkbox.png') %>");}
|
|
180
|
+
.list-elements #dt a { background-image: url("<%= asset_path('fe/icons/calendar_view_day.png') %>");}
|
|
181
|
+
.list-elements #fu a {background-image: url("<%= asset_path('fe/icons/disk.png') %>");}
|
|
182
|
+
.list-elements #pa a { background-image: url("<%= asset_path('fe/icons/text_align_left.png') %>");}
|
|
183
|
+
.list-elements #sp a { background-image: url("<%= asset_path('fe/icons/text_horizontalrule.png') %>");}
|
|
184
|
+
.list-elements #sk a { background-image: url("<%= asset_path('fe/icons/book_open.png') %>");}
|
|
185
|
+
.list-elements #pp a { background-image: url("<%= asset_path('fe/icons/asterisk_yellow.png') %>");}
|
|
186
|
+
.list-elements #sc a { background-image: url("<%= asset_path('fe/icons/map_magnify.png') %>");}
|
|
187
|
+
.list-elements #at a { background-image: url("<%= asset_path('fe/icons/paper-clip.png') %>");}
|
|
188
|
+
.list-elements #ref a { background-image: url("<%= asset_path('fe/icons/book-open-list.png') %>");}
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
/* BODY SIDE */
|
|
193
|
+
#preview {
|
|
194
|
+
width: 689px;
|
|
195
|
+
float: right;
|
|
196
|
+
border: 1px solid #F7931E;
|
|
197
|
+
padding: 10px;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
#page-preview {
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
li.element {
|
|
204
|
+
border: 1px dashed silver;
|
|
205
|
+
margin-bottom: 8px;
|
|
206
|
+
background: #fff;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
li.ui-sortable-helper {
|
|
210
|
+
-moz-box-shadow: 0px 0px 12px #555;
|
|
211
|
+
-webkit-box-shadow: 0px 0px 12px #555;
|
|
212
|
+
box-shadow: 0px 0px 12px #555;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
li.element:hover {
|
|
216
|
+
background: #EBFCEB;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
li.element.active,
|
|
220
|
+
li.element.active:hover {
|
|
221
|
+
background: #FFFED2;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
li.element .q {
|
|
225
|
+
padding: 10px;
|
|
226
|
+
min-height: 21px;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
li.element .q .element {
|
|
230
|
+
margin-left: 35px;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
li.element .q_form {
|
|
234
|
+
display: none;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
span.required {
|
|
238
|
+
background: url("<%= asset_path('fe/icons/star-small.png') %>") no-repeat 50% 50%;
|
|
239
|
+
display:inline-block;
|
|
240
|
+
height:16px;
|
|
241
|
+
text-indent:-10000px;
|
|
242
|
+
width:16px;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
label {
|
|
246
|
+
min-width: 150px;
|
|
247
|
+
font-weight: bold;
|
|
248
|
+
font-size: 14px;
|
|
249
|
+
line-height: 21px;
|
|
250
|
+
display: block;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
label.desc {
|
|
254
|
+
margin-bottom: 10px;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
ul.questions ul.questions label.desc {
|
|
258
|
+
margin-bottom: 0;
|
|
259
|
+
font-weight: normal;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.field,
|
|
263
|
+
ul.questions li {
|
|
264
|
+
margin-bottom: .5em;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.field label {
|
|
268
|
+
font-weight: normal;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.field_check input[type=checkbox],
|
|
272
|
+
.field_check input[type=radio] {
|
|
273
|
+
float: left;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.choice_field.error label {
|
|
277
|
+
color: red;
|
|
278
|
+
font-weight: bold;
|
|
279
|
+
width: 50px;
|
|
280
|
+
background: #FFEAEA;
|
|
281
|
+
border: 1px solid red;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.choice_field.error label.error {
|
|
285
|
+
display: none;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
div.p_content p {
|
|
289
|
+
margin-bottom: 1em;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
div.p_content ul {
|
|
293
|
+
list-style: disc;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
div.p_content ul li {
|
|
297
|
+
list-style-type: disc;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
div.p_content ol {
|
|
301
|
+
list-style: decimal;
|
|
302
|
+
margin: 0;
|
|
303
|
+
padding: 0 0 0 2em;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
div.p_content ol li {
|
|
307
|
+
list-style: decimal;
|
|
308
|
+
margin-bottom: .5em;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.buttons {
|
|
312
|
+
padding: 10px 0;
|
|
313
|
+
border-top: 1px solid gray;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.buttons button {
|
|
317
|
+
-moz-border-radius:4px 4px 4px 4px;
|
|
318
|
+
-webkit-border-radius:4px 4px 4px 4px;
|
|
319
|
+
border-radius:4px 4px 4px 4px;
|
|
320
|
+
background:none repeat scroll 0 0 #0B486B;
|
|
321
|
+
border:1px solid #0B486B;
|
|
322
|
+
color:#FFFFFF;
|
|
323
|
+
font-size:14px;
|
|
324
|
+
font-weight:bold;
|
|
325
|
+
padding:5px 10px;
|
|
326
|
+
font-family: Arial;
|
|
327
|
+
cursor: pointer;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.buttons button:hover {
|
|
331
|
+
-moz-box-shadow: 0px 0px 5px #999;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
.sub_q {
|
|
337
|
+
clear: both;
|
|
338
|
+
margin-top: 15px;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/* CONTROLS */
|
|
342
|
+
.controls {
|
|
343
|
+
-moz-box-shadow:0 0 5px #CCCCCC;
|
|
344
|
+
-webkit-box-shadow:0 0 5px #CCCCCC;
|
|
345
|
+
box-shadow:0 0 5px #CCCCCC;
|
|
346
|
+
background:none repeat scroll 0 0 #EFEFEF;
|
|
347
|
+
border:1px solid silver;
|
|
348
|
+
float:right;
|
|
349
|
+
margin:5px;
|
|
350
|
+
padding:4px 5px 4px 0;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
ul.questions li .controls li {
|
|
354
|
+
float: left;
|
|
355
|
+
margin-bottom: 0;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.controls li a {
|
|
359
|
+
text-indent: -10000px;
|
|
360
|
+
overflow: hidden;
|
|
361
|
+
display: block;
|
|
362
|
+
height: 16px;
|
|
363
|
+
width: 16px;
|
|
364
|
+
margin-left: 5px;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.controls .edit {background: url("<%= asset_path('fe/icons/document--pencil.png') %>") no-repeat 50% 50%;}
|
|
368
|
+
.controls .duplicate {background: url("<%= asset_path('fe/icons/document-copy.png') %>") no-repeat 50% 50%;}
|
|
369
|
+
.controls .handle {background: url("<%= asset_path('fe/icons/arrow-move.png') %>") no-repeat 50% 50%;}
|
|
370
|
+
.controls .remove {background: url("<%= asset_path('fe/icons/arrow_out.png') %>") no-repeat 50% 50%;}
|
|
371
|
+
|
|
372
|
+
/* QUESTIONS MODAL */
|
|
373
|
+
#question_modal {
|
|
374
|
+
font-family: Arial;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
#questions_div ul {
|
|
378
|
+
border:1px solid silver;
|
|
379
|
+
font-family:Arial;
|
|
380
|
+
height:220px;
|
|
381
|
+
overflow:auto;
|
|
382
|
+
padding:8px;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
#questions_div ul li {
|
|
386
|
+
font-size: 12px;
|
|
387
|
+
line-height: 24px;
|
|
388
|
+
min-height: 25px;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
#questions_div ul li a{
|
|
392
|
+
cursor: pointer;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
#questions_div ul li a label{
|
|
396
|
+
cursor: pointer;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
#questions_div label {
|
|
400
|
+
display:block;
|
|
401
|
+
font-size:12px;
|
|
402
|
+
font-weight:normal;
|
|
403
|
+
margin-left:60px;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
#questions_div ul li a span {
|
|
407
|
+
-moz-border-radius:4px 4px 4px 4px;
|
|
408
|
+
-webkit-border-radius:4px 4px 4px 4px;
|
|
409
|
+
border-radius:4px 4px 4px 4px;
|
|
410
|
+
background:none repeat scroll 0 0 #0B486B;
|
|
411
|
+
color:#FFFFFF;
|
|
412
|
+
float:left;
|
|
413
|
+
font-size:10px;
|
|
414
|
+
font-weight:bold;
|
|
415
|
+
line-height:1em;
|
|
416
|
+
margin-right:10px;
|
|
417
|
+
padding:5px 4px;
|
|
418
|
+
text-transform:uppercase;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.add_type,
|
|
422
|
+
.ui-widget-content a.add_type {
|
|
423
|
+
-moz-border-radius:4px 4px 4px 4px;
|
|
424
|
+
-webkit-border-radius:4px 4px 4px 4px;
|
|
425
|
+
border-radius:4px 4px 4px 4px;
|
|
426
|
+
background:url("<%= asset_path('fe/butgrad.png') %>") repeat-x scroll 100% 50% transparent;
|
|
427
|
+
color:#0B486B;
|
|
428
|
+
display:inline-block;
|
|
429
|
+
font-size:14px;
|
|
430
|
+
font-weight:bold;
|
|
431
|
+
margin:5px 0;
|
|
432
|
+
padding:5px 10px;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
/* Home Screen */
|
|
437
|
+
|
|
438
|
+
table, tr, td {
|
|
439
|
+
text-align: left;
|
|
440
|
+
border-collapse: collapse;
|
|
441
|
+
padding: 0;
|
|
442
|
+
margin: 0;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.add-link {
|
|
446
|
+
background:url("<%= asset_path('fe/icons/add.png') %>") no-repeat scroll 4px 50% #F0F0F0;
|
|
447
|
+
display:inline;
|
|
448
|
+
font-size:11px;
|
|
449
|
+
font-weight:bold;
|
|
450
|
+
margin-right:8px;
|
|
451
|
+
padding:5px 5px 5px 23px;
|
|
452
|
+
width:127px;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
table.list {
|
|
456
|
+
width: 100%;
|
|
457
|
+
border-collapse: collapse;
|
|
458
|
+
margin: 1em 0;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
table.list th {
|
|
462
|
+
border-bottom: 1px dotted silver;
|
|
463
|
+
padding: 5px;
|
|
464
|
+
font-size: 14px;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
table.list td {
|
|
468
|
+
border-bottom: 1px dotted silver;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
table.list tr:hover {
|
|
472
|
+
background: #FFFED2;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
td.title {width: 90%; padding: 5px;}
|
|
476
|
+
td.actions {width: 100px;}
|
|
477
|
+
td.actions a {padding: 2px 10px 2px 20px;}
|
|
478
|
+
.duplicate {background: url("<%= asset_path('fe/icons/document-copy.png') %>") no-repeat 0% 50%;}
|
|
479
|
+
.archive {background: url("<%= asset_path('fe/icons/briefcase.png') %>") no-repeat 0% 50%;}
|
|
480
|
+
.delete {background: url("<%= asset_path('fe/icons/minus-button.png') %>") no-repeat 0% 50%;}
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
/* HEADER */
|
|
484
|
+
#header {
|
|
485
|
+
background: #0B486B;
|
|
486
|
+
padding: 0px;
|
|
487
|
+
-moz-border-radius: 0 0 5px 5px;
|
|
488
|
+
-webkit-border-radius: 0 0 5px 5px;
|
|
489
|
+
border-radius: 0 0 5px 5px;
|
|
490
|
+
border-top: 4px solid #000;
|
|
491
|
+
margin-bottom: 20px;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
#header li a {
|
|
495
|
+
color: #fff;
|
|
496
|
+
padding: 0px;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
#header li {
|
|
500
|
+
float: left;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
#header li.active a {
|
|
504
|
+
background: #2e7ba7;
|
|
505
|
+
padding: 6px;
|
|
506
|
+
display: block;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
#nav-main {
|
|
510
|
+
margin-left: 5px;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/* FOOTER */
|
|
514
|
+
|
|
515
|
+
#footer {
|
|
516
|
+
width: 1000px;
|
|
517
|
+
margin: 20px 0;
|
|
518
|
+
border-top: 4px solid #000;
|
|
519
|
+
padding-top: 20px;
|
|
520
|
+
text-align: right;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.ui-tooltip {
|
|
524
|
+
-moz-box-shadow:0 0 9px #555555;
|
|
525
|
+
background:none repeat scroll 0 0 #411E08;
|
|
526
|
+
border:3px solid #FFFFFF;
|
|
527
|
+
color:#FFFFFF;
|
|
528
|
+
font-size:12px;
|
|
529
|
+
padding:25px;
|
|
530
|
+
width:auto;
|
|
531
|
+
}
|
|
532
|
+
.droppable-active {
|
|
533
|
+
min-height: 200px;
|
|
534
|
+
border-width: 4px;
|
|
535
|
+
padding: 4px;
|
|
536
|
+
margin: -8px;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.inlinecheck {
|
|
540
|
+
float: left;
|
|
541
|
+
margin-right: 5px;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.submission_errors {
|
|
545
|
+
border:1px solid red;
|
|
546
|
+
padding: 5px;
|
|
547
|
+
|
|
548
|
+
ul {
|
|
549
|
+
color:red;
|
|
550
|
+
font-weight: bold;
|
|
551
|
+
}
|
|
552
|
+
}
|