Commit ed8f1c2370a4d4c52d1ce7975129a3c3a36a07ad

Authored by Antonio Terceiro
1 parent bc5e26d6
Exists in master and in 90 other branches 3.x, add_sisp_to_chef, add_super_archives_plugin, api_for_colab, automates_core_packing, backup, backup_not_prod, cdtc_configuration, changes_in_buttons_on_content_panel, colab_automated_login, colab_spb_plugin_recipe, colab_widgets_settings, design_validation, dev-lappis, dev_env_minimal, disable_email_dev, docs, fix_breadcrumbs_position, fix_categories_software_link, fix_edit_institution, fix_edit_software_with_another_license, fix_get_license_info, fix_gitlab_assets_permission, fix_list_style_inside_article, fix_list_style_on_folder_elements, fix_members_pagination, fix_merge_request_url, fix_models_translations, fix_no_license, fix_software_api, fix_software_block_migration, fix_software_communities_translations, fix_software_communities_unit_test, fix_style_create_institution_admin_panel, fix_superarchives_imports, fix_sym_links_noosfero, focus_search_field_theme, gov-user-refactoring, gov-user-refactoring-rails4, header_fix, institution_modal_on_rating, kalibro-conf-refactoring, kalibro-processor-package, lxc_settings, margin_fix, mezuro_cookbook, performance, prezento, r3, refactor_download_block, refactor_software_communities, refactor_software_for_sisp, register_page, release-process, release-process-v2, remove-unused-images, remove_backup_emails, remove_broken_theme, remove_secondary_email_from_user, remove_sisp_buttons, removing_super_archives_email, review_message, scope2method, signals_user_noosfero, sisp_catalog_header, sisp_colab_config, sisp_dev, sisp_dev_master, sisp_simple_version, software_as_organization, software_catalog_style_fix, software_communities_html_refactor, software_infos_api, spb_minimal_env, spb_to_rails4, spec_refactor, stable-4.1, stable-4.2, stable-4.x, stable-devel, support_docs, syslog, temp_soft_comm_refactoring, theme_header, theme_javascript_refactory, thread_dropdown, thread_page, update_search_by_categories, update_software_api, update_softwares_boxes

Replace colab logo

This is a bit brutal, but it was easier than figuring out how to
properly map the (variable) to the logo we want.
cookbooks/colab/files/default/logo.svg 0 → 100644
... ... @@ -0,0 +1,8 @@
  1 +<svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" width="752.21" height="105" viewBox="0 0 752.21 105" xml:space="preserve"><style type="text/css">
  2 + .st0{fill:none;stroke:#333333;stroke-width:2.0352;stroke-miterlimit:10;}
  3 + .st1{fill:#FF0066;stroke:#333333;stroke-width:2.0352;stroke-miterlimit:10;}
  4 + .st2{fill:#333333;stroke:#333333;stroke-width:2.0352;stroke-miterlimit:10;}
  5 + .st3{fill:#000000;}
  6 + .st4{fill:#CCFF00;stroke:#333333;stroke-width:2.0352;stroke-miterlimit:10;}
  7 + .st5{fill:none;stroke:#333333;stroke-width:2.0352;stroke-miterlimit:10;}
  8 +</style><line class="st5" x1="683.02" y1="21.68" x2="718.04" y2="21.64"/><line class="st0" x1="682.81" y1="21.83" x2="631.08" y2="13.32"/><line class="st0" x1="590.59" y1="30.33" x2="631.08" y2="13.32"/><path class="st1" d="M690.58 21.83c0 4.3-3.53 7.77-7.77 7.77 -4.23 0-7.77-3.47-7.77-7.77s3.54-7.77 7.77-7.77C687.05 14.06 690.58 17.53 690.58 21.83z"/><path class="st4" d="M642.86 13.32c0 6.52-5.37 11.79-11.78 11.79 -6.41 0-11.79-5.26-11.79-11.79 0-6.52 5.37-11.78 11.79-11.78C637.49 1.54 642.86 6.8 642.86 13.32z"/><path class="st3" d="M26.6 76.14c0-3.99-1.32-5.48-9.86-7.67C8.61 66.36 3.13 63.69 3.13 56.5c0-6.97 6.34-11.42 15.96-11.42 5.95 0 10.72 1.79 14.32 4.38l-3.21 4.85c-3.05-2.19-6.49-3.52-10.95-3.52 -6.42 0-8.7 1.96-8.7 5.24 0 3.44 2.5 4.7 10.57 6.97 7.91 2.19 13.22 4.62 13.22 12.59 0 9-8.61 12.6-17.61 12.6 -7.59 0-13.14-2.5-16.74-5.63l4-4.54c3.21 2.66 7.89 4.38 12.75 4.38C22.86 82.4 26.6 79.97 26.6 76.14z"/><path class="st3" d="M64.79 45.08c11.74 0 17.93 8.45 17.93 21.52 0 12.75-6.35 21.6-18 21.6 -11.75 0-18.01-8.45-18.01-21.52C46.71 53.91 53.06 45.08 64.79 45.08zM64.79 50.86c-6.88 0-10.41 5-10.41 15.81 0 10.72 3.44 15.73 10.33 15.73 6.89 0 10.33-5 10.33-15.8C75.05 55.86 71.6 50.86 64.79 50.86z"/><path class="st3" d="M130.89 30.83l-2.27 5.24c-2.66-1.18-5.71-1.72-8.84-1.72 -5.63 0-8.45 2.19-8.45 6.73v8.06h13.92l-0.78 5.56h-13.14v32.56h-7.21V54.7h-9.71v-5.56h9.71v-7.98c0-7.67 6.42-12.61 15.26-12.61C124 28.55 127.6 29.42 130.89 30.83z"/><path class="st3" d="M220.97 87.26h-9.79l-5.08-29.19h-0.31l-5.33 29.19h-9.55l-7.36-41.25h7.2l5.01 35.76h0.32l6.02-30.51h8.07l5.63 30.37h0.32l5.01-35.62h6.88L220.97 87.26z"/><path class="st3" d="M269.62 77.94c0 3.29 1.01 4.54 3.29 5.24l-1.72 5.01c-3.68-0.47-6.58-2.11-7.83-5.79 -2.89 3.91-7.98 5.79-12.98 5.79 -8.3 0-13.62-5.09-13.62-12.75 0-8.54 7.12-13.3 19.64-13.3h6.03v-3.21c0-5.79-3.61-7.98-9.63-7.98 -2.74 0-6.58 0.63-10.8 2.11l-1.88-5.32c5.09-1.88 9.71-2.66 13.78-2.66 10.49 0 15.73 5.08 15.73 13.46V77.94zM262.42 77.08V66.9h-5.64c-8.84 0-12.13 3.21-12.13 8.22 0 5.09 2.51 7.67 7.68 7.67C256.23 82.79 260.07 80.68 262.42 77.08z"/><path class="st3" d="M313 87.26h-28.17V81.7h9.47V51.57h-9.47v-5.56h15.73l0.86 7.91c2.35-5.79 6.89-8.84 11.74-8.84 1.96 0 3.13 0.15 5.48 0.62l-1.33 7.13c-2.03-0.55-3.29-0.71-5.01-0.71 -5.16 0-9.39 5.24-10.8 10.95V81.7H313V87.26z"/><path class="st3" d="M336.72 69.1c0.63 9.15 5.55 13.22 11.82 13.22 3.75 0 7.43-0.95 10.96-3.84l3.28 4.78c-3.84 3.04-9.07 4.93-14.4 4.93 -12.28 0-19.17-8.69-19.17-21.52 0-12.44 7.04-21.59 17.99-21.59 10.81 0 17.3 7.75 17.3 20.34 0 1.41-0.07 2.74-0.16 3.68H336.72zM336.72 63.78h20.82c-0.15-8.54-3.91-13-10.33-13C341.57 50.78 337.27 54.93 336.72 63.78z"/><path class="st3" d="M392.61 84.28v19.02l-12.52 1.33V45.69h11.12l0.54 4.62c3.37-4.31 7.6-6.03 11.51-6.03 10.8 0 15.19 8.54 15.19 22.07 0 12.83-5.87 22.22-15.96 22.22C398.39 88.58 395.11 87.17 392.61 84.28zM405.51 66.51c0-10.33-2.35-12.99-6.34-12.99 -2.66 0-4.78 1.8-6.57 4.78v17.45c1.72 2.5 3.36 3.68 5.95 3.68C402.93 79.43 405.51 75.83 405.51 66.51z"/><path class="st3" d="M439.82 45.69v28.41c0 3.99 1.57 5.24 4.16 5.24 2.5 0 5.24-1.72 6.96-4.46v-29.2h12.51v41.56H452.5l-0.55-4.86c-2.82 4.07-7.75 6.18-12.75 6.18 -8.07 0-11.9-5.01-11.9-12.91V45.69H439.82zM434.73 33.33l16.83-11.27 5.55 9.31 -18.62 8.29L434.73 33.33z"/><path class="st3" d="M489.99 49.93c2.59-3.45 6.5-5.64 10.57-5.64 10.8 0 15.41 8.54 15.41 22.07 0 12.83-5.86 22.22-16.66 22.22 -4.15 0-7.82-1.79-10.25-5.08l-0.47 3.76h-11.12V29.19l12.52-1.33V49.93zM503.07 66.51c0-10.33-2.58-12.99-6.51-12.99 -2.66 0-4.77 1.8-6.57 4.78v17.45c1.57 2.43 3.37 3.75 5.95 3.75C500.33 79.5 503.07 75.83 503.07 66.51z"/><path class="st3" d="M544.64 74.18c0 3.28 2.03 4.54 5.32 4.54 2.11 0 4.15-0.54 5.87-1.26l2.97 8.37c-2.81 1.49-6.73 2.74-12.05 2.74 -10.25 0-14.63-6.26-14.63-16.04V37.71h-12.21v-8.53h24.73V74.18z"/><path class="st3" d="M605.73 87.26H570.9v-8.54h11.73v-24.5h-11.34v-8.53h23.88v33.03h10.56V87.26zM581.47 30.9c0-3.99 3.13-7.04 7.43-7.04 4.31 0 7.44 3.05 7.44 7.04 0 3.99-3.13 7.04-7.44 7.04C584.6 37.95 581.47 34.89 581.47 30.9z"/><path class="st3" d="M647.05 75.59l5.64 7.98c-3.92 3.13-9.31 5.01-15.42 5.01 -13.54 0-21.59-8.83-21.59-21.83 0-13 8.37-22.46 21.75-22.46 6.34 0 11.26 1.88 15.26 5.24l-5.4 7.52c-2.81-2.2-6.18-3.13-9.08-3.13 -5.55 0-9.39 3.52-9.39 12.84 0 9.15 4.15 11.97 9.39 11.97C641.04 78.72 644.16 77.79 647.05 75.59z"/><path class="st3" d="M701.54 66.36c0 13.92-7.52 22.22-20.26 22.22 -12.76 0-20.28-8.13-20.28-22.14 0-13.23 7.53-22.15 20.28-22.15C694.1 44.29 701.54 53.05 701.54 66.36zM673.91 66.44c0 9.15 2.34 12.99 7.36 12.99 5 0 7.35-3.84 7.35-13.06 0-8.93-2.34-12.84-7.35-12.84C676.25 53.52 673.91 57.44 673.91 66.44z"/><path class="st3" d="M171.03 85.14c-2.89 1.87-7.28 3.05-11.35 3.05 -9.08 0-14.08-5.24-14.08-12.75V54.73h-9.4v-5.48h9.4V36.7l7.2-0.86v13.42h14.17l-0.87 5.48h-13.3v20.62c0 4.62 2.19 6.89 7.67 6.89 3.05 0 5.72-0.78 7.83-2.04L171.03 85.14z"/><path class="st3" d="M9.81 21.2c1.28-1.71 3.03-2.69 5.04-2.69 4.74 0 6.66 3.66 6.66 9.21 0 5.38-2.46 9.24-7.03 9.24 -2.05 0-3.63-0.67-4.81-2.22l-0.2 1.85H7.02V11.75l2.79-0.34V21.2zM18.45 27.72c0-4.64-1.45-6.96-4.2-6.96 -1.98 0-3.5 1.45-4.44 2.86v8.81c0.94 1.41 2.39 2.29 4.03 2.29C16.8 34.71 18.45 32.46 18.45 27.72z"/><path class="st3" d="M28.76 28.72c0.13 4.13 2.45 5.92 5.18 5.92 1.61 0 3.19-0.4 4.74-1.65l1.31 1.92c-1.65 1.28-3.87 2.05-6.05 2.05 -5.18 0-8.1-3.7-8.1-9.21 0-5.34 3.03-9.24 7.6-9.24 4.57 0 7.29 3.33 7.29 8.71 0 0.61-0.03 1.14-0.07 1.51H28.76zM28.76 26.57h9.28c-0.07-3.8-1.78-5.75-4.57-5.75C30.94 20.83 28.99 22.67 28.76 26.57z"/><path class="st3" d="M59.21 35.72c-1.21 0.77-3.09 1.24-4.74 1.24 -3.76 0-5.92-2.19-5.92-5.31V21.06h-4.07v-2.15h4.07v-4.03l2.79-0.34v4.37h6.12l-0.34 2.15h-5.78v10.56c0 1.98 0.94 3.03 3.39 3.03 1.31 0 2.42-0.34 3.4-0.84L59.21 35.72z"/><path class="st3" d="M76.77 32.76c0 1.41 0.47 1.95 1.45 2.25l-0.67 1.98c-1.51-0.2-2.72-0.94-3.23-2.52 -1.28 1.65-3.26 2.49-5.55 2.49 -3.56 0-5.71-2.15-5.71-5.45 0-3.63 2.92-5.68 8.3-5.68h2.59v-1.48c0-2.55-1.58-3.5-4.2-3.5 -1.18 0-2.79 0.24-4.61 0.87l-0.74-2.08c2.15-0.81 4.03-1.14 5.75-1.14 4.4 0 6.62 2.22 6.62 5.71V32.76zM73.95 32.32v-4.57h-2.55c-3.93 0-5.34 1.45-5.34 3.73 0 2.22 1.11 3.36 3.43 3.36C71.23 34.84 72.91 33.94 73.95 32.32z"/><path class="st3" d="M737.87 31.54v-9.3h-2.63c-0.76 0-1.35 0.1-1.78 0.31 -0.42 0.21-0.86 0.6-1.31 1.2 -0.45 0.59-1.12 1.74-2.01 3.45l-2.29 4.36h-2.86l3-5.7c0.51-0.98 1.11-1.87 1.79-2.67 0.33-0.39 0.82-0.78 1.46-1.16 -1.57-0.27-2.77-0.89-3.59-1.87 -0.82-0.98-1.24-2.26-1.24-3.84 0-1.2 0.24-2.25 0.73-3.16 0.49-0.91 1.11-1.56 1.87-1.95 0.76-0.39 1.93-0.59 3.52-0.59h7.62v20.95H737.87zM737.87 12.91h-5.43c-1.22 0-2.14 0.3-2.76 0.91 -0.62 0.61-0.93 1.44-0.93 2.49 0 0.73 0.16 1.38 0.49 1.93 0.32 0.55 0.76 0.96 1.31 1.21 0.55 0.26 1.36 0.39 2.43 0.39h4.89V12.91z"/><path class="st3" d="M734.19 4.02c-9.69 0-17.54 7.85-17.54 17.54s7.85 17.54 17.54 17.54 17.54-7.85 17.54-17.54S743.88 4.02 734.19 4.02zM734.19 36.47c-8.24 0-14.92-6.68-14.92-14.92 0-8.24 6.68-14.92 14.92-14.92s14.92 6.68 14.92 14.92C749.11 29.8 742.43 36.47 734.19 36.47z"/></svg>
0 9 \ No newline at end of file
... ...
cookbooks/colab/recipes/default.rb
... ... @@ -27,8 +27,17 @@ template &#39;/etc/colab/settings.yaml&#39; do
27 27 notifies :restart, 'service[colab]'
28 28 end
29 29  
  30 +cookbook_file '/usr/lib/colab/lib/python2.7/site-packages/colab/static/img/logo.svg' do
  31 + owner 'root'
  32 + group 'root'
  33 + mode 0644
  34 + notifies :run, 'execute[colab-admin:collectstatic]'
  35 +end
  36 +
30 37 execute 'colab-admin migrate'
31   -execute 'colab-admin collectstatic --noinput'
  38 +execute 'colab-admin:collectstatic' do
  39 + command 'colab-admin collectstatic --noinput'
  40 +end
32 41  
33 42 service 'colab' do
34 43 action [:enable, :start]
... ...