diff --git a/app/assets/stylesheets/constants.scss b/app/assets/stylesheets/constants.scss index f17f6cb36..7de6ce262 100644 --- a/app/assets/stylesheets/constants.scss +++ b/app/assets/stylesheets/constants.scss @@ -118,7 +118,7 @@ $btn-default-color: $gray-dark; $btn-default-bg: $brand-default; $btn-default-border: $color-silver; $btn-primary-color: $color-white; -$btn-primary-bg: $brand-primary; +$btn-primary-bg: $brand-success; $btn-primary-border: darken($btn-primary-bg, 5%); $btn-success-color: $color-white; $btn-success-bg: $brand-success; diff --git a/app/assets/stylesheets/notifications.scss b/app/assets/stylesheets/notifications.scss index 1baf9bbd6..650d7bd12 100644 --- a/app/assets/stylesheets/notifications.scss +++ b/app/assets/stylesheets/notifications.scss @@ -60,7 +60,7 @@ } .system-message { - background-color: $brand-other; + background-color: $brand-success; border-radius: 50%; color: $color-concrete; display: inline-block; diff --git a/app/assets/stylesheets/projects.scss b/app/assets/stylesheets/projects.scss index f684325a0..f562ab64f 100644 --- a/app/assets/stylesheets/projects.scss +++ b/app/assets/stylesheets/projects.scss @@ -42,8 +42,6 @@ $color-module-hover: $brand-primary; } #canvas-new-module { - margin-left: 10px; - .hbtn-default { opacity: 1; width: 0; diff --git a/app/assets/stylesheets/themes/main_navigation.scss b/app/assets/stylesheets/themes/main_navigation.scss index 5b0a1dbd2..076637bbb 100644 --- a/app/assets/stylesheets/themes/main_navigation.scss +++ b/app/assets/stylesheets/themes/main_navigation.scss @@ -107,7 +107,7 @@ } .system-message { - background-color: $brand-other; + background-color: $brand-success; border-radius: 50%; color: $color-concrete; display: block; @@ -225,7 +225,7 @@ } .system-message { - background-color: $brand-other; + background-color: $brand-success; border-radius: 50%; color: $color-concrete; display: block !important; @@ -253,8 +253,8 @@ .glyphicon-ok-sign { color: $brand-primary; - margin-left: -10px; - margin-right: 10px; + margin-left: -2px; + margin-right: 2px; } .team-name-item { diff --git a/app/views/canvas/_edit.html.erb b/app/views/canvas/_edit.html.erb index 536d6fa07..1a4e58621 100644 --- a/app/views/canvas/_edit.html.erb +++ b/app/views/canvas/_edit.html.erb @@ -9,7 +9,20 @@ data-unsaved-work-text="<%=t "experiments.canvas.edit.unsaved_work" %>" > <%= bootstrap_form_tag url: canvas_experiment_url, method: "post" do |f| %> -
+ <% if can_manage_experiment?(@experiment) %> + <%=link_to "", type: "button", class: "btn btn-primary", id: "canvas-new-module" do %> + + + <%= t("experiments.canvas.edit.new_module") %> + + + + + <%= t("experiments.canvas.edit.new_module") %> + + <% end %> + <% end %> +
<%= link_to canvas_experiment_path(@experiment), type: "button", class: "btn btn-default cancel-edit-canvas" do %>   @@ -19,19 +32,6 @@ <% end %>
- <% if can_manage_experiment?(@experiment) %> - <%=link_to "", type: "button", class: "btn btn-primary", id: "canvas-new-module" do %> - - - <%= t("experiments.canvas.edit.new_module") %> - - - - - <%= t("experiments.canvas.edit.new_module") %> - - <% end %> - <% end %> <%= hidden_field_tag 'connections', '' %> <%= hidden_field_tag 'positions', '' %> <%= hidden_field_tag 'add', '' %> diff --git a/app/views/users/settings/teams/new.html.erb b/app/views/users/settings/teams/new.html.erb index 0924ef067..9513afdd8 100644 --- a/app/views/users/settings/teams/new.html.erb +++ b/app/views/users/settings/teams/new.html.erb @@ -1,9 +1,10 @@ <% provide(:head_title, t("users.settings.teams.head_title")) %> +<% provide(:container_class, "no-second-nav-container") %> <%= render partial: "users/settings/sidebar.html.erb" %>
-
-
+
+
<%= render partial: "users/settings/teams/breadcrumbs.html.erb" %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 71663c8f0..55ce8e058 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -319,7 +319,7 @@ en: nav_print: "Print" nav_pdf: "Download PDF" nav_save: "Save" - nav_close: "Close" + nav_close: "Cancel" nav_sort_by: "Sort by" nav_sort_asc: "Oldest on top" nav_sort_desc: "Newest on top"