diff --git a/app/controllers/student_work_controller.rb b/app/controllers/student_work_controller.rb index a368f88b..dd9b1bda 100644 --- a/app/controllers/student_work_controller.rb +++ b/app/controllers/student_work_controller.rb @@ -1677,7 +1677,8 @@ class StudentWorkController < ApplicationController def student_work_project project = Project.where(:id => params[:projectName].to_i).first if project.present? - @work = @homework.student_works.where("user_id = #{User.current.id} and work_status = 0").first + @work = @homework.student_works.where("user_id = #{User.current.id} and work_status = 0").first || + StudentWork.create(homework_common_id: @homework.id, user_id: User.current.id) if @work @work.update_column('project_id', params[:projectName].to_i) end diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index e5409bbe..707ff571 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -6922,148 +6922,154 @@ def quote_resource_bank resource, course end def quote_homework_bank homework, course - new_homework = HomeworkCommon.new(:name => homework.name, :user_id => User.current.id, :description => homework.description, :homework_type => homework.homework_type, :late_penalty => 5, - :course_id => course.id, :teacher_priority => 1, :anonymous_comment => 1, :quotes => 0, :is_open => 0, :homework_bank_id => homework.id, :score_open => 1, - :anonymous_appeal => 0, :is_public => 0, :reference_answer => homework.reference_answer, :answer_public => 1, :allow_late => 1) - - new_homework.homework_detail_manual = HomeworkDetailManual.new - new_homework_detail_manual = new_homework.homework_detail_manual - new_homework_detail_manual.te_proportion = 1.0 - new_homework_detail_manual.ta_proportion = 0 - new_homework_detail_manual.comment_status = 0 - - new_homework_detail_manual.evaluation_num = 0 - new_homework_detail_manual.absence_penalty = 0 - - if new_homework.homework_type == 2 - new_homework.homework_detail_programing = HomeworkDetailPrograming.new - new_homework.homework_detail_programing.ta_proportion = 0 - new_homework.homework_detail_programing.language = homework.language - homework.homework_bank_tests.each_with_index do |homework_test| - new_homework.homework_tests << HomeworkTest.new( - input: homework_test.input, - output: homework_test.output - ) + ActiveRecord::Base.transaction do + new_homework = HomeworkCommon.new(:name => homework.name, :user_id => User.current.id, :description => homework.description, :homework_type => homework.homework_type, :late_penalty => 5, + :course_id => course.id, :teacher_priority => 1, :anonymous_comment => 1, :quotes => 0, :is_open => 0, :homework_bank_id => homework.id, :score_open => 1, + :anonymous_appeal => 0, :is_public => 0, :reference_answer => homework.reference_answer, :answer_public => 1, :allow_late => 1) + + new_homework.homework_detail_manual = HomeworkDetailManual.new + new_homework_detail_manual = new_homework.homework_detail_manual + new_homework_detail_manual.te_proportion = 1.0 + new_homework_detail_manual.ta_proportion = 0 + new_homework_detail_manual.comment_status = 0 + + new_homework_detail_manual.evaluation_num = 0 + new_homework_detail_manual.absence_penalty = 0 + + if new_homework.homework_type == 2 + new_homework.homework_detail_programing = HomeworkDetailPrograming.new + new_homework.homework_detail_programing.ta_proportion = 0 + new_homework.homework_detail_programing.language = homework.language + homework.homework_bank_tests.each_with_index do |homework_test| + new_homework.homework_tests << HomeworkTest.new( + input: homework_test.input, + output: homework_test.output + ) + end + homework.homework_bank_samples.each_with_index do |homework_test| + new_homework.homework_samples << HomeworkSample.new( + input: homework_test.input, + output: homework_test.output + ) + end end - homework.homework_bank_samples.each_with_index do |homework_test| - new_homework.homework_samples << HomeworkSample.new( - input: homework_test.input, - output: homework_test.output - ) + + if new_homework.homework_type == 3 + new_homework.homework_detail_group = HomeworkDetailGroup.new + new_homework.homework_detail_group.min_num = homework.min_num + new_homework.homework_detail_group.max_num = homework.max_num + new_homework.homework_detail_group.base_on_project = homework.base_on_project end - end - if new_homework.homework_type == 3 - new_homework.homework_detail_group = HomeworkDetailGroup.new - new_homework.homework_detail_group.min_num = homework.min_num - new_homework.homework_detail_group.max_num = homework.max_num - new_homework.homework_detail_group.base_on_project = homework.base_on_project - end + homework.attachments.each do |attachment| + att = attachment.copy + att.container_id = nil + att.container_type = nil + att.author_id = homework.user_id + att.copy_from = attachment.id + att.save + new_homework.attachments << att + end - homework.attachments.each do |attachment| - att = attachment.copy - att.container_id = nil - att.container_type = nil - att.author_id = homework.user_id - att.copy_from = attachment.id - att.save - new_homework.attachments << att - end + if new_homework.save + if new_homework.homework_type == 4 + HomeworkCommonsShixuns.create(:homework_common_id => new_homework.id, :shixun_id => homework.homework_bank_shixun.shixun_id) + end + new_homework_detail_manual.save if new_homework_detail_manual + new_homework.homework_detail_programing.save if new_homework.homework_detail_programing + new_homework.homework_detail_group.save if new_homework.homework_detail_group + create_works_list new_homework - if new_homework.save - if new_homework.homework_type == 4 - HomeworkCommonsShixuns.create(:homework_common_id => new_homework.id, :shixun_id => homework.homework_bank_shixun.shixun_id) + homework.update_column(:quotes, homework.quotes+1) + QuestionBank.where(:container_id => homework.id, :container_type => ["Common", "Shixun", "Group"]).update_all(:quotes => homework.quotes) end - new_homework_detail_manual.save if new_homework_detail_manual - new_homework.homework_detail_programing.save if new_homework.homework_detail_programing - new_homework.homework_detail_group.save if new_homework.homework_detail_group - create_works_list new_homework - - homework.update_column(:quotes, homework.quotes+1) - QuestionBank.where(:container_id => homework.id, :container_type => ["Common", "Shixun", "Group"]).update_all(:quotes => homework.quotes) + return new_homework end - return new_homework end def quote_exercise_bank exercise, course - new_exercise = Exercise.new(:exercise_name => exercise.name, :exercise_description => exercise.description, :user_id => User.current.id, :is_public => 0, - :exercise_status => 1, :show_result => 1, :course_id => course.id, :time => -1, :exercise_bank_id => exercise.id) - - exercise.exercise_bank_questions.each do |q| - option = { - :question_title => q[:question_title], - :question_type => q[:question_type] || 1, - :question_number => q[:question_number], - :question_score => q[:question_score], - :shixun_id => q[:shixun_id] - } - exercise_question = new_exercise.exercise_questions.new option - - if q.question_type != 5 - for i in 1..q.exercise_bank_choices.count - choice_option = { - :choice_position => i, - :choice_text => q.exercise_bank_choices[i-1][:choice_text] - } - exercise_question.exercise_choices.new choice_option - end + ActiveRecord::Base.transaction do + new_exercise = Exercise.new(:exercise_name => exercise.name, :exercise_description => exercise.description, :user_id => User.current.id, :is_public => 0, + :exercise_status => 1, :show_result => 1, :course_id => course.id, :time => -1, :exercise_bank_id => exercise.id) + + exercise.exercise_bank_questions.each do |q| + option = { + :question_title => q[:question_title], + :question_type => q[:question_type] || 1, + :question_number => q[:question_number], + :question_score => q[:question_score], + :shixun_id => q[:shixun_id] + } + exercise_question = new_exercise.exercise_questions.new option + + if q.question_type != 5 + for i in 1..q.exercise_bank_choices.count + choice_option = { + :choice_position => i, + :choice_text => q.exercise_bank_choices[i-1][:choice_text] + } + exercise_question.exercise_choices.new choice_option + end - for i in 1..q.exercise_bank_standard_answers.count - standard_answer_option = { - :exercise_choice_id => q.exercise_bank_standard_answers[i-1][:exercise_bank_choice_id], - :answer_text => q.exercise_bank_standard_answers[i-1][:answer_text] - } - exercise_question.exercise_standard_answers.new standard_answer_option - end - else - for i in 1..q.exercise_bank_shixun_challenges.count - challenge_option = { - :position => i, - :challenge_id => q.exercise_bank_shixun_challenges[i-1][:challenge_id], - :shixun_id => q.exercise_bank_shixun_challenges[i-1][:shixun_id], - :question_score => q.exercise_bank_shixun_challenges[i-1][:question_score] - } - exercise_question.exercise_shixun_challenges.new challenge_option + for i in 1..q.exercise_bank_standard_answers.count + standard_answer_option = { + :exercise_choice_id => q.exercise_bank_standard_answers[i-1][:exercise_bank_choice_id], + :answer_text => q.exercise_bank_standard_answers[i-1][:answer_text] + } + exercise_question.exercise_standard_answers.new standard_answer_option + end + else + for i in 1..q.exercise_bank_shixun_challenges.count + challenge_option = { + :position => i, + :challenge_id => q.exercise_bank_shixun_challenges[i-1][:challenge_id], + :shixun_id => q.exercise_bank_shixun_challenges[i-1][:shixun_id], + :question_score => q.exercise_bank_shixun_challenges[i-1][:question_score] + } + exercise_question.exercise_shixun_challenges.new challenge_option + end end end + if new_exercise.save + create_exercises_list new_exercise + exercise.update_column(:quotes, exercise.quotes+1) + QuestionBank.where(:container_id => exercise.id, :container_type => "Exercise").update_all(:quotes => exercise.quotes) + end + return new_exercise end - if new_exercise.save - create_exercises_list new_exercise - exercise.update_column(:quotes, exercise.quotes+1) - QuestionBank.where(:container_id => exercise.id, :container_type => "Exercise").update_all(:quotes => exercise.quotes) - end - return new_exercise end def quote_poll_bank poll, course - new_poll = Poll.new(:polls_name => poll.name, :polls_description => poll.description, :user_id => User.current.id, :is_public => 0, - :polls_status => 1, :show_result => 1, :polls_type => 'Course', :course_id => course.id, :exercise_bank_id => poll.id) - - poll.exercise_bank_questions.each do |q| - option = { - :question_title => q[:question_title], - :question_type => q[:question_type] || 1, - :is_necessary => q[:is_necessary], - :question_number => q[:question_number], - :max_choices => q[:max_choices], - :min_choices => q[:min_choices] - } - poll_question = new_poll.poll_questions.new option - - for i in 1..q.exercise_bank_choices.count - choice_option = { - :answer_position => i, - :answer_text => q.exercise_bank_choices[i-1][:choice_text] + ActiveRecord::Base.transaction do + new_poll = Poll.new(:polls_name => poll.name, :polls_description => poll.description, :user_id => User.current.id, :is_public => 0, + :polls_status => 1, :show_result => 1, :polls_type => 'Course', :course_id => course.id, :exercise_bank_id => poll.id) + + poll.exercise_bank_questions.each do |q| + option = { + :question_title => q[:question_title], + :question_type => q[:question_type] || 1, + :is_necessary => q[:is_necessary], + :question_number => q[:question_number], + :max_choices => q[:max_choices], + :min_choices => q[:min_choices] } - poll_question.poll_answers.new choice_option + poll_question = new_poll.poll_questions.new option + + for i in 1..q.exercise_bank_choices.count + choice_option = { + :answer_position => i, + :answer_text => q.exercise_bank_choices[i-1][:choice_text] + } + poll_question.poll_answers.new choice_option + end end + if new_poll.save + create_polls_list new_poll + poll.update_column(:quotes, poll.quotes+1) + QuestionBank.where(:container_id => poll.id, :container_type => "Poll").update_all(:quotes => poll.quotes) + end + return new_poll end - if new_poll.save - create_polls_list new_poll - poll.update_column(:quotes, poll.quotes+1) - QuestionBank.where(:container_id => poll.id, :container_type => "Poll").update_all(:quotes => poll.quotes) - end - return new_poll end def major_level_option diff --git a/app/models/homework_common.rb b/app/models/homework_common.rb index 314f604e..0b7aa420 100644 --- a/app/models/homework_common.rb +++ b/app/models/homework_common.rb @@ -15,7 +15,7 @@ class HomeworkCommon < ActiveRecord::Base belongs_to :homework_bank has_many :homework_group_settings, :dependent => :destroy has_one :homework_detail_manual, :dependent => :destroy - # has_one :homework_detail_programing, :dependent => :destroy + has_one :homework_detail_programing, :dependent => :destroy has_one :homework_detail_group, :dependent => :destroy has_one :homework_commons_shixuns, :dependent => :destroy has_many :homework_challenge_settings, :dependent => :destroy diff --git a/app/views/homework_common/_homework_index_list.html.erb b/app/views/homework_common/_homework_index_list.html.erb index 9a2e8b38..865f7adf 100644 --- a/app/views/homework_common/_homework_index_list.html.erb +++ b/app/views/homework_common/_homework_index_list.html.erb @@ -113,7 +113,7 @@ <% elsif work.present? && work.try(:work_status) != 0 %> <%= link_to "查看作品", student_work_path(work), :class => 'white-btn orange-btn fr mr20 mt8', :target => "_blank" %> <% elsif ((work.present? && work.try(:work_status) == 0) || work.nil?) && setting_time.end_time > Time.now %> - <% if homework_common.homework_type == 3 && homework_common.homework_detail_group.base_on_project == 1 && (work.project_id.nil? || work.project_id == 0 || work.project_id = -1) %> + <% if homework_common.homework_type == 3 && homework_common.homework_detail_group.base_on_project == 1 && (work.try(:project_id).nil? || work.try(:project_id) == 0 || work.try(:project_id) == -1) %> <%= link_to "关联项目", new_student_work_project_student_work_index_path(:homework => homework_common.id, :user_activity_id=> homework_common.id, :hw_status => 1), :remote => true, :class=> 'white-btn orange-btn fr mr20 mt8', :title=> '请各组长关联作业项目' %> <% else %> <%= link_to "提交作品", new_student_work_path(:homework => homework_common.id), :class => 'white-btn orange-btn fr mr20 mt8', :target => "_blank" %> diff --git a/app/views/layouts/_logined_header.html.erb b/app/views/layouts/_logined_header.html.erb index 6e239e5d..9c8f4a8d 100644 --- a/app/views/layouts/_logined_header.html.erb +++ b/app/views/layouts/_logined_header.html.erb @@ -53,6 +53,9 @@
  • <%= link_to '我的实训', user_path(User.current, :type => 'a_shixun') %>
  • <%= link_to '我的实训课程', user_path(User.current, :type => 'a_path') %>
  • <%= link_to '我的项目', user_path(User.current, :type => 'a_project') %>
  • + +
  • 客户管理
  • + <% if User.current.department_members.count > 0 %>
  • <%= link_to '学院统计', statistics_college_path(User.current.department_members.first.try(:department)) %>
  • <% end %> diff --git a/app/views/managements/_add_auto_users_trial.html.erb b/app/views/managements/_add_auto_users_trial.html.erb index 2de606dc..ea67bba3 100644 --- a/app/views/managements/_add_auto_users_trial.html.erb +++ b/app/views/managements/_add_auto_users_trial.html.erb @@ -1,8 +1,5 @@
    -
    -

    新增自动授权单位

    - -
    +
    新增自动授权单位
    单位名称: diff --git a/app/views/managements/_partner_addManage.html.erb b/app/views/managements/_partner_addManage.html.erb new file mode 100644 index 00000000..818a4777 --- /dev/null +++ b/app/views/managements/_partner_addManage.html.erb @@ -0,0 +1,84 @@ +
    +
    添加管理员
    +
    +
    +
  • + + +

    + 姓名: + 单位: +

    +
    + 职业: +
    + + +
    +

    请选择职业

    +

    教师

    +

    学生

    +

    专业人士

    +
    +
    + 搜索 +
    +
  • +
    +
    +

    + 姓名 + 职称 + 单位 + 手机号 +

    +
    +

    + + + + + 学生 + 湖北工业大学 + 156****9087 +

    +

    + + + + + 学生 + 湖北工业大学 + +

    +
    +
    +

    +
  • + 取消 + 确定 +
  • +
    +
    + \ No newline at end of file diff --git a/app/views/managements/_partner_addUnit.html.erb b/app/views/managements/_partner_addUnit.html.erb new file mode 100644 index 00000000..1001d32c --- /dev/null +++ b/app/views/managements/_partner_addUnit.html.erb @@ -0,0 +1,71 @@ +
    +
    添加合作伙伴
    +
    +
    +
    +
    + 地区: + +
    +
    + 单位: + +
    +
    + 搜索 +
    +
    +

    + 单位 + 地区 +

    +
    +

    + + + + + + + 湖南 +

    +

    + + + + + + + 湖南 +

    +

    + + + + + + + 湖南 +

    +
    +

    +
    +
  • + 取消 + 确定 +
  • +
    +
    + \ No newline at end of file diff --git a/app/views/managements/_unit_cooperativePartner.html.erb b/app/views/managements/_unit_cooperativePartner.html.erb new file mode 100644 index 00000000..4106dfa9 --- /dev/null +++ b/app/views/managements/_unit_cooperativePartner.html.erb @@ -0,0 +1,75 @@ +
    +
    + + 搜索 + 清除 +
    +
    + +
    +
    +
    +
    +

    添加时间2019-04-03 15:40

    +
    + 管理员 +
      +
    • +
    • +
    • +
    +
    +
    +
    +
  • + 序号 + 客户名称 + +添加 + 添加时间 +
  • +
  • + 1 + 国防科技大学 + + 删除 + + + 2019-04-03 16:04 + +
  • +
    +
    +
    +
    +
    +
    + \ No newline at end of file diff --git a/app/views/managements/_users_list.html.erb b/app/views/managements/_users_list.html.erb new file mode 100644 index 00000000..993c6db3 --- /dev/null +++ b/app/views/managements/_users_list.html.erb @@ -0,0 +1,42 @@ +

    + 序号 + 单位名称 + 教师 + 学生 + 课堂 + 发布实训 + 实训报告 + 使用详情 +

    + +
    +
    +
      + <%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => true, :flag => true, :is_new => true %> +
    +
    +
    +
    \ No newline at end of file diff --git a/app/views/managements/users_list.html.erb b/app/views/managements/users_list.html.erb new file mode 100644 index 00000000..f990cca8 --- /dev/null +++ b/app/views/managements/users_list.html.erb @@ -0,0 +1,86 @@ +
    +
    +
    + + + + + + + + + + + + + + + + + + + +
    + +
    + + + + +
    + +
    + + <%= @obj_count %> + 个检索结果(<%= @major_count %> 单位) + +
    + + +
    +
    + +
    + <%= render :partial => "department_list" %> +
    +
    + +
    + + \ No newline at end of file diff --git a/public/stylesheets/educoder/edu-all.css b/public/stylesheets/educoder/edu-all.css index a0a9aebe..9a18a93a 100644 --- a/public/stylesheets/educoder/edu-all.css +++ b/public/stylesheets/educoder/edu-all.css @@ -2973,6 +2973,29 @@ a.singlepublishtwo{ /*合作伙伴*/ .edu-cooperation li{height: 60px;width: 210px;padding: 10px 0px;margin-left: 20px;float: left;margin-bottom: 20px;text-align: center;line-height: 40px;box-sizing: border-box} .edu-cooperation li img{height: 40px;width: 210px;} +/*单位-合作伙伴*/ +.addOperation{width: 100%;display: block;height: 56px;line-height: 56px;text-align: center;border-bottom: 1px solid #eee;} +.partnerList li a{ + display: block;height: 40px;line-height: 40px;padding:0px 10px;width: 100%;overflow:hidden; white-space: nowrap; text-overflow:ellipsis; + box-sizing: border-box;position: relative; +} +.partnerList li a.active:after{ + position: absolute;left: 0px;height: 100%;width: 2px;content: '';background: #4cacff; +} +.partnerList{max-height: 500px;overflow-y: auto;} +.manageList{float: left} +.manageList li{width: 60px;height: 60px;float: left;margin-right: 15px;border-radius: 50%;text-align: center;position: relative;margin-bottom: 10px;} +.manageList li>a.addManage,.manageList li>img{width: 60px;height: 60px;line-height: 49px;float: left;margin-right: 10px;border-radius: 50%;} +.addManage{display: block;background: #cdcdcd;color: #fff!important;font-size: 55px;} +.removeImg{position: absolute;right: 1px;top: -12px;} +.tableList .tableHead{background: #fafafa} +.tableList{min-height: 400px;} +.tableList li{height: 45px;line-height: 45px;} +.tableList li span{float: left;display: block;text-align: center} +.tableList li span:nth-child(1){width: 10%} +.tableList li span:nth-child(2){width: 60%;text-align: left} +.tableList li span:nth-child(3){width: 10%;float: right} +.tableList li span:nth-child(4){width: 20%;float: right} /* 兼容(小屏幕)手机浏览器 */ @@ -3110,3 +3133,40 @@ line-height: 20px;display: inline-block;color: rgba(65, 140, 205, 1) !important; width: calc( 100% ) } #requireTable thead .td-head-child:last-child{border-right: none;} + + +/*用户列表*/ +.managerPanels a{margin-right:24px;} +.managerPanels a:nth-child(16n){margin-right: 0px;} +.managerPanels a span{display: block;text-align: center;max-width: 70px;overflow:hidden; white-space: nowrap; text-overflow:ellipsis;color: #666;} +.managerPanels a:hover span{color: #4cacff!important;} +.userimg{position: absolute;top: -16px;right: -5px;} +.useradd{font-size: 42px !important; position: absolute; top: -16px;} +.ListTableLines .column-2{ + width: 150px; + text-align: center; + padding-left: 5px; + box-sizing: border-box; + color:#999999; +} +.ListTableLines .column-No{ + color:#999999; +} +.courselist .column-2{ + width: 150px; + text-align: center; + padding-left: 5px; + box-sizing: border-box; + color:#656565; +} +.courselist .column-No{ + color:#999999; +} +.poll_list a { + display: inline-block; + padding: 20px; + font-size: 18px; + text-align: center; + position: relative; + color: #05101a; +} \ No newline at end of file diff --git a/public/stylesheets/educoder/edu-main.css b/public/stylesheets/educoder/edu-main.css index c4c10a29..019b94e3 100644 --- a/public/stylesheets/educoder/edu-main.css +++ b/public/stylesheets/educoder/edu-main.css @@ -100,7 +100,7 @@ a.decoration{text-decoration: underline} .panel-form-label{ display:inline-block; width:10%; min-width:90px; text-align:right; line-height:40px; font-weight: normal; } /*通用内外边距*/ -.mt-10{ margin-top:-10px;}.mt-3{ margin-top:-3px;}.mt0{ margin-top:0px!important;} .mt1{ margin-top:1px;}.mt2{ margin-top:2px;}.mt3{ margin-top:3px;}.mt4{ margin-top:4px;}.mt5{ margin-top:5px!important;}.mt6{ margin-top:6px;}.mt7{ margin-top:7px!important;}.mt8{ margin-top:8px;}.mt9{ margin-top:9px;}.mt10{ margin-top:10px!important;}.mt12{ margin-top:12px;}.mt13{ margin-top:13px;}.mt14{ margin-top:14px;}.mt15{ margin-top:15px!important;}.mt16{ margin-top:16px;}.mt17{ margin-top:17px;}.mt18{ margin-top:18px;}.mt20{ margin-top:20px!important;}.mt22{ margin-top:22px!important;}.mt23{ margin-top:23px!important;}.mt24{ margin-top:24px!important;}.mt25{ margin-top:25px;}.mt28{ margin-top:28px;}.mt30{ margin-top:30px!important;}.mt34{ margin-top:34px!important;}.mt35{ margin-top:35px!important;}.mt36{ margin-top:36px!important;}.mt40{ margin-top:40px;}.mt45{ margin-top:45px;}.mt46{ margin-top:46px;}.mt50{ margin-top:50px;!important;}.mt56{ margin-top:56px;!important;}.mt60{ margin-top:60px;}.mt70{ margin-top:70px;}.mt80{ margin-top:80px;}.mt95{ margin-top:95px;}.mt100{ margin-top:100px;}.mt110{ margin-top:110px;}.mt120{ margin-top:120px;}.mt130{ margin-top:130px;}.mt140{ margin-top:140px;}.mt150{ margin-top:150px;}.mt160{ margin-top:160px;} +.mt-10{ margin-top:-10px;}.mt-3{ margin-top:-3px;}.mt0{ margin-top:0px!important;} .mt1{ margin-top:1px;}.mt2{ margin-top:2px;}.mt3{ margin-top:3px;}.mt4{ margin-top:4px;}.mt5{ margin-top:5px!important;}.mt6{ margin-top:6px;}.mt7{ margin-top:7px!important;}.mt8{ margin-top:8px;}.mt9{ margin-top:9px;}.mt10{ margin-top:10px!important;}.mt12{ margin-top:12px;}.mt13{ margin-top:13px;}.mt14{ margin-top:14px;}.mt15{ margin-top:15px!important;}.mt16{ margin-top:16px;}.mt17{ margin-top:17px;}.mt18{ margin-top:18px;}.mt20{ margin-top:20px!important;}.mt22{ margin-top:22px!important;}.mt23{ margin-top:23px!important;}.mt24{ margin-top:24px!important;}.mt25{ margin-top:25px;}.mt28{ margin-top:28px;}.mt30{ margin-top:30px!important;}.mt34{ margin-top:34px!important;}.mt35{ margin-top:35px!important;}.mt36{ margin-top:36px!important;}.mt40{ margin-top:40px;}.mt45{ margin-top:45px;}.mt46{ margin-top:46px;}.mt50{ margin-top:50px;!important;}.mt55{ margin-top:55px;!important;}.mt56{ margin-top:56px;!important;}.mt60{ margin-top:60px;}.mt70{ margin-top:70px;}.mt80{ margin-top:80px;}.mt95{ margin-top:95px;}.mt100{ margin-top:100px;}.mt110{ margin-top:110px;}.mt120{ margin-top:120px;}.mt130{ margin-top:130px;}.mt140{ margin-top:140px;}.mt150{ margin-top:150px;}.mt160{ margin-top:160px;} .mb3{ margin-bottom: 3px;}.mb5{ margin-bottom: 5px;}.mb7{ margin-bottom: 7px;}.mb9{ margin-bottom: 9px;}.mb10{ margin-bottom: 10px;}.mb11{ margin-bottom: 11px;}.mb14{ margin-bottom: 14px;}.mb15{ margin-bottom: 15px;}.mb16{ margin-bottom: 16px;}.mb20{ margin-bottom: 20px!important;}.mb25{ margin-bottom: 25px;}.mb26{ margin-bottom: 26px;}.mb28{ margin-bottom: 28px;}.mb30{ margin-bottom: 30px!important;}.mb40{ margin-bottom: 40px!important;}.mb50{ margin-bottom: 50px!important;}.mb60{ margin-bottom: 60px!important;}.mb70{ margin-bottom: 70px!important;}.mb80{ margin-bottom: 80px!important;}.mb90{ margin-bottom: 90px!important;}.mb100{ margin-bottom: 100px!important;}.mb110{ margin-bottom: 110px;} .ml-3{ margin-left: -3px;}.ml1{margin-left: 1px;}.ml2{margin-left: 2px;}.ml3{margin-left: 3px;}.ml4{margin-left: 4px;}.ml5{ margin-left: 5px;}.ml6{ margin-left: 6px;}.ml10{ margin-left: 10px;}.ml12{ margin-left:12px!important;}.ml13{ margin-left:13px!important;}.ml15{ margin-left: 15px;}.ml18{ margin-left: 18px;}.ml20{ margin-left: 20px;}.ml22{ margin-left: 22px;}.ml25{ margin-left: 25px;}.ml30{ margin-left: 30px;}.ml33{ margin-left: 33px;}.ml35{ margin-left:35px;}.ml40{margin-left:40px;}.ml42{margin-left:42px;}.ml45{ margin-left: 45px;}.ml50{ margin-left: 50px;}.ml55{ margin-left: 55px;}.ml60{ margin-left: 60px;}.ml72{ margin-left: 72px;}.ml73{ margin-left: 73px;}.ml75{ margin-left: 75px;}.ml80{ margin-left: 80px;}.ml95{ margin-left: 95px;}.ml115{margin-left: 115px}.ml123{ margin-left: 123px;}.ml150{ margin-left: 150px;}.ml180{ margin-left: 180px;}.ml230{ margin-left: 230px;} .mr3{margin-right: 3px}.mr4{margin-right: 4px}.mr5{ margin-right: 5px;}.mr8{ margin-right: 8px;}.mr10{ margin-right: 10px;}.mr12{ margin-right:12px!important;}.mr15{ margin-right: 15px;}.mr18{ margin-right: 18px;}.mr20{ margin-right: 20px;}.mr24{ margin-right: 24px;}.mr25{ margin-right: 25px;}.mr30{ margin-right:30px;}.mr35{margin-right:35px;}.mr40{margin-right:40px;}.mr45{margin-right:45px;}.mr50{ margin-right: 50px;}.mr60{ margin-right:60px;}.mr70{ margin-right: 70px;}.mr75{ margin-right: 75px;}.mr80{ margin-right:80px;}.mr90{ margin-right:90px;}.mr100{ margin-right: 100px;}.mr110{ margin-right:110px;}.mr350{ margin-right:350px;}