diff --git a/apps/dashboard/app/assets/stylesheets/projects.scss b/apps/dashboard/app/assets/stylesheets/projects.scss
index f47270cb14..f1c68188ee 100644
--- a/apps/dashboard/app/assets/stylesheets/projects.scss
+++ b/apps/dashboard/app/assets/stylesheets/projects.scss
@@ -38,3 +38,14 @@
font-size: 1.4em;
float: right;
}
+
+.launcher-title {
+ font-size: 1em;
+ font-weight: bold;
+}
+
+.launcher-button {
+ color: white;
+ width: 100%;
+ margin: 0.25rem;
+}
\ No newline at end of file
diff --git a/apps/dashboard/app/views/projects/_launcher_buttons.html.erb b/apps/dashboard/app/views/projects/_launcher_buttons.html.erb
index 52f885820f..380bf89db6 100644
--- a/apps/dashboard/app/views/projects/_launcher_buttons.html.erb
+++ b/apps/dashboard/app/views/projects/_launcher_buttons.html.erb
@@ -6,40 +6,41 @@
-%>
-
<%= button_to(
submit_project_launcher_path(@project.id, launcher.id),
- class: 'btn btn-success',
+ class: 'btn btn-success launcher-button',
title: 'Launch script with cached or default values',
disabled: disabled,
params: launcher.quick_launch_params,
id: "launch_#{launcher.id}"
) do
%>
-
+ <%= I18n.t('dashboard.launch') %>
<%- end %>
<%= link_to(
project_launcher_path(@project.id, launcher.id),
- class: "btn btn-success #{disabled_class}",
+ class: "btn btn-info launcher-button #{disabled_class}",
id: "show_#{launcher.id}"
) do
%>
-
+ <%= I18n.t('dashboard.show') %>
<%- end -%>
-
+
+
+
<%= link_to(
edit_project_launcher_path(@project.id, launcher.id),
- class: "btn btn-primary #{disabled_class}",
+ class: "btn btn-primary launcher-button #{disabled_class}",
id: "edit_#{launcher.id}",
title: edit_title) do
%>
-
+ <%= I18n.t('dashboard.edit') %>
<%- end %>
@@ -47,12 +48,12 @@
<%= button_to(
project_launcher_path(@project.id, launcher.id),
id: "delete_#{launcher.id}",
- class: "btn btn-danger",
+ class: "btn btn-danger launcher-button",
title: delete_title,
data: { confirm: I18n.t('dashboard.jobs_scripts_delete_script_confirmation') },
method: :delete) do
%>
-
+ <%= I18n.t('dashboard.delete') %>
<%- end -%>
\ No newline at end of file
diff --git a/apps/dashboard/app/views/projects/show.html.erb b/apps/dashboard/app/views/projects/show.html.erb
index b394d7703e..8c63227dbf 100644
--- a/apps/dashboard/app/views/projects/show.html.erb
+++ b/apps/dashboard/app/views/projects/show.html.erb
@@ -42,9 +42,12 @@
<%- @scripts.each do |launcher| -%>
-
- <%= launcher.title %>
+
+
+ <%= launcher.title %>
+
+
<%= render(partial: 'launcher_buttons', locals: { launcher: launcher }) %>
<%- end -%>
@@ -56,9 +59,10 @@
+
-
Active Jobs
+ Active Jobs
<%= render(partial: 'job_details', collection: @project.active_jobs, as: :job) %>
@@ -74,6 +78,7 @@
+
<% unless @project.readme_path.nil? %>